Age | Commit message (Collapse) | Author |
|
i.MX7ULP B0 silicon has below updates in iomux
- GPIO function input buffer enable (IBE)/output buffer enable (OBE) is
now controlled by RGPIO module. IOMUXC IBE/OBE is used as an override.
- LPUART2_TX (I/O) to PTB12 (ALT4)
- LPUART2_RX (I) to PTB13 (ALT4)
- USB0_ID (I) to PTC13 (ALT11), PTC18 (ALT11) and PTC19 (ALT10)
- VIU_DE (I) to PTC18 (ALT12), PTC19 (ALT12) and PTE5 (ALT12)
- RTC_CLKOUT (O) to PTB5 (ALT11) and PTB14 (ALT11)
- SEC_VIO_B (I) to PTB4 (ALT11)
- Added new Input Selection Registers
PSMI1_USB0_ID Address: 0x40ac_0338 To select USB_ID input pad/source
PSMI1_VIU_DE Address: 0x40ac_033c To select VIU_DE input pad/source
Copy the imx7ulp-pinfunc.h from latest kernel dts
(commit 18cdeadfe1967ea33d3bdfc7ccead6d6d06a98a6), and update
the mx7ulp-pins.h accordingly.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add DDR3 init codes, board codes, defconfig and DTS into u-boot.
Basic modules are ready: SD, UART, I2C, USB host and NAND.
There is a FPGA on this board. It controls WDOG_B, and ENET PHY RESET.
So reset and ethernet won't work at default.
Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
|
|
add config for emmc, nand and qspi boot
Signed-off-by: Robby Cai <robby.cai@nxp.com>
|
|
Add i.MX6ULZ support. the i.MX6ULZ is SW compatible
with i.MX6ULL. so most code of i.MX6ULL can be reused
by i.MX6ULZ.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
|
|
Default address of earlycon parameter is not correct,
use correct value for imx7ulp_evk.
Test: imx7ulp_evk boots ok.
Change-Id: I2cecb6bfacca573013313ba4ae3783784ccfd506
Signed-off-by: Luo Ji <ji.luo@nxp.com>
|
|
Android Auto need different bootargs for imx8q, override default
dts node "/chosen/bootargs" to change the bootargs.
Change-Id: I32f741624b7d3ed7e91f36a466ae641fe11dfe8e
Signed-off-by: Luo Ji <ji.luo@nxp.com>
|
|
Fixes 9486251ced24("MLK-19494 configs: imx8qm mek android audo: correct xen physical memory")
correct text base, IPC address, memmap.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
|
|
Remove some unnecessary nodes based on default dts file to reduce
u-boot boot time, add node '/config/load-environment' and set its
value as '0' to tell u-boot not to load environment variables from
eMMC.
This commit can save about 220ms on imx8qxp and about 270ms on imx8qm..
Test: Boots ok on both imx8qm/imx8qxp.
Change-Id: If2010e0a537a6ae322f51c771d2eee723a089e50
Signed-off-by: Luo Ji <ji.luo@nxp.com>
|
|
Add DDR4 init codes, u-boot dtb and defconfig to support DDR4 EVK.
The DDR4 EVK removed eMMC and Flexspi, but use NAND instead. Current
codes support to boot from SD and enable NAND access in regular u-boot.
Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
|
|
By default, imx8qm b0 silicon set the IO voltage to 2.5v, but the arm2
board is designed as 1.8v voltage for enet IO, so force the IO voltage
to 1.8 by setting COMP_CTL_GPIO_1V8_3V3 pins like:
For ENET0: SC_P_COMP_CTL_GPIO_1V8_3V3_ENET_ENETB
For ENET1: SC_P_COMP_CTL_GPIO_1V8_3V3_ENET_ENETA
The pin setting:
1.8V/3.3V : bit4=0, bit[30]=1, bit[2:0]=000
2.5V : bit4=1, bit[30]=1, bit[2:0]=010
The patch update PIN IO setting to 3.3V.
Reviewed-by: Ye Li <ye.li@nxp.com>
Tested-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
|
|
This is debug patch, pushed by mistake. Since we already support
DDR3 ARM2 in previous commit, must revert it.
This reverts commit d0602d2ee64c9ad2bf38a38bfb84f8ff9ac9b68d.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
When rewoked eMMC to MMC socket, change MMC driver can recognize the card
Enable the fastboot to test usb gadget
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add new dts, config and defconfig file for DX DDR3 ARM2 board. Since
it does not have USB3.0 and SD, disable them in DTS and header file. Also move
gpio expander to i2c1 according with its schematic.
In defconfig, fastboot is default enabled due to we need uuu to program
eMMC.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit e5b822615a5aa2fadb481002c286f35d996999f8)
|
|
By default, imx8qm/qxp b0 silicon set the IO voltage to 2.5v, but mek/arm2
boards are designed as 1.8v voltage for enet IO, so force the IO voltage
to 1.8 by setting COMP_CTL_GPIO_1V8_3V3 pins like:
The pin setting:
1.8V/3.3V : bit4=0, bit[30]=1, bit[2:0]=000
2.5V : bit4=1, bit[30]=1, bit[2:0]=010
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
|
|
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Acked-by : Frank Li <frank.li@nxp.com>
|
|
i.MX6SLL boards enable fastboot as default.
Support: mx6sllevk_defconfig
mx6sllevk_epdc_defconfig
mx6sllevk_optee_defconfig
mx6sllevk_plugin_defconfig
uuu will use fastboot command to write emmc.
Signed-off-by: Xiaoning Wang <xiaoning.wang@nxp.com>
|
|
Set the alert temperature = critical temperature - 20C, to avoid looping
the temperature at 85C
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit d4ccaa7c87576a5a9a246ee89a627dd8efd8ae07)
|
|
According to RM, usdhc 100MHz pad setting need to set SRE(slew rate
field) to 0x01(Medium Frequency Slew Rate 100MHz), usdhc 200MHz pad
setting need to set SRE to 0x11(Max Frequency Slew Rate 200MHz).
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
(cherry picked from commit 9d19a3627124ff4d61e62d3031777b6041c07810)
|
|
Add board level codes for enabling splash screen on imx8mm EVK. We
support two different display connecting to MIPI DSI miniSAS interfaces:
1. MIPI2HDMI daughter card (default)
2. RM67191 OLED panel
Users can set "panel" env vairable to "MIPI2HDMI" or "RM67191_OLED" to
switch them after reboot.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 41f896ce26aa0f518b5cacb1d9660a0a085ee691)
|
|
We enabled the DM for xhci-imx8m driver which uses compatible string
"fsl, imx8mq-dwc3". But found a issue that u-boot will get four USB bus not two.
The reason is the low level driver xhci-dwc3 also adds the DM support which uses
compatible string "snps,dwc3". Thus, one USB node and its dwc3 subnode are both
binded as independent USB bus.
Since the xhci-imx8m driver uses xhci-dwc3 as low level driver, to fix the issue
we add -u-boot.dtsi files to change the USB node compatible string to
"simple-bus" and change dwc3 node compatibe string to "fsl, imx8mq-dwc3". Then
xhci-dwc3 DM driver won't bind any node.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add a DTS file for iMX8MM DDR4 validation board whose design is similar
as iMX8MM EVK.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit abe2268c73e409f8faafc80a182203f2fa6e39c2)
|
|
Because the Xen u-boot is using OTG port not typec port, the CONFIG_FASTBOOT_USB_DEV
should set to 0 not 1. Otherwise the fastboot will fail.
Remove duplicated "/dts-v1/;" from Xen DTB.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit ceaa529b34752045dcd294572c30c7c56a48abe7)
|
|
We are targeting let uboot loading images from emmc to boot android.
Currently only emmc1 is enabled, so other devices are disabled.
Also change memory layout according to VM layout. The memory layout
needs to be samesize as what you configured in as "memory = "3584"".
Add a new dts dedicated for this kind uboot, add a new defconfig
to select CONFIG_XEN/CONFIG_XEN_DEBUG_SERIAL, deselect CONFIG_DM_SERIAL,
select CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK, and disable some devices
compared with imx8qm_mek_androidauto_defconfig.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit a4e932cae433b9d2e1cff6a94b12e4abcac45543)
|
|
Porting the imx8m-phanbell android things board support from v2017.03
Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add DTS files to support iMX6Q/DL DDR3/LPDDR2 ARM2 and iMX6Q POP LPDDR2 ARM2 boards.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add DTS files to support iMX7ULP 10x10 ARM2 and 14x14 ARM2 boards.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
ARM2
Add DTS files to support iMX7D 19x19 LPDDR3, DDR3 and LPDDR2 ARM2 boards.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add DTS files to support iMX7D 12x12 LPDDR3 and DDR3 ARM2 boards.
Due to pin conflicts, need specified DTS for SPINOR, QSPI on LPDDR3
ARM2.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add DTS files to support iMX6SLL 14x14 LPDDR3/LPDDR2 ARM2.
Due to pin conflicts, need specified DTS for SPINOR enabled.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add DTS files to support iMX6ULL 14x14 DDR3 ARM2.
Due to pin conflicts, need specified DTS for eMMC, EPDC, NAND/EIMNOR and tsc enabled.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add DTS files to support iMX6UL 14x14 DDR3 ARM2 and 14x14 LPDDR2 ARM2.
Due to pin conflicts, need specified DTS for eMMC and NAND/EIMNOR enabled.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add DTS files to support iMX6SX 19x19 ARM2. Due to pin conflicts,
need specified DTS for NAND/EIMNOR enabled.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add DTS file for the iMX6SX 14x14 ARM2 from v2017.03
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add DTS files to support iMX6SX 17x17 ARM2. Due to pin conflicts,
need specified DTS for SPI nor enabled and NAND/EIMNOR enabled.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add the TMU node for iMX8MM, which don't need calibration data from
DTB.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit e3f62647c529583af25ddca21c91e8a03adba499)
|
|
Add usb alias for otg1 and otg2. Enable two nodes in
EVK DTS.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit c60654d45e75ca46d4b33df48429ea49bc6dde05)
|
|
Add i.MX8MM EVK board support
LPDDR4 code is still keep in old coding style to ease updating
if there is no code released.
dts is synced from kernel with sd2 regulator start up delay and off on
delay added.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 01b3f229b188e28b0887c0b32f66e939a50d3a69)
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Sync dts from Linux kernel commit
3091745d6acfdad21("MLK-18210 ARM64: dts: imx8qm: correct the pds of pcie").
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 0e7a5484878338d0dff871b6d21092a0479f07b4)
|
|
For correct PCIE operation the HSIO GPIO must also be powered.
Explicitly power it up to allow SCFW to keep track of used
resources.
Signed-off-by: Teo Hall <teo.hall@nxp.com>
(cherry picked from commit 300f65b3428f4bcb97df85857ff7a871f23caf9c)
|
|
Change i2c mux compatible to pca9646
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Ported the DTS file from u-boot v2017.03 for i.MX8QXP MEK board.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Ported the DTS file from u-boot v2017.03 for i.MX8QM MEK board.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Ported the DTS file from u-boot v2017.03 for i.MX8QXP LPDDR4 ARM2
board and i.MX8QXP DDR3 ARM2 board.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Ported the DTS files from u-boot v2017.03 for i.MX8QM LPDDR4 ARM2
board and i.MX8QM DDR4 ARM2 board.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Copy the imx8qm DTS files and its binding header files from imx_4.9.y kernel
(commit "MLK-16174: ASoC: fsl_hifi4: load firmware in device open phase.")
Add extra support used in u-boot:
1. Add alias for FSPI nodes
2. Add GPIO alias which is used as seq number in u-boot DM GPIO driver.
3. Ajust GPIO nodes ahead of i2c nodes. The PCA9557 is a i2c device, if we
arrange the i2c nodes ahead of GPIO nodes, the GPIO seq number for PCA9557
will overlay with GPIO nodes. This will cause issue to use GPIO in u-boot.
4. Add i2c alias for i2c0 to i2c3.
5. Add mipi0/mipi1 i2c0 controllers' nodes.
6. Add "u-boot,dm-pre-reloc" to thermal node in QXP DTSi
7. Add USB alias for OTG and USB3 ports.
8. Sync power domains of display resources with kernel
(commit "MLK-17978[IMX8QXP B0] Add a buffer null flag to ensure the buffer is not")
9. Removed mmc alias
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit b8b7885469720ad6e31e0a1ff5751e9cb36b408e)
|
|
Copy the imx8qm DTS files and its binding header files from imx_4.9.y kernel
(commit "MLK-16174: ASoC: fsl_hifi4: load firmware in device open phase.")
Add extra support used in u-boot:
1. Add mbox-cells used for mailbox
2. Add alias for FSPI nodes
3. Add GPIO alias which is used as seq number in u-boot DM GPIO driver.
4. Ajust GPIO nodes ahead of i2c nodes. The PCA9557 is a i2c device, if we
arrange the i2c nodes ahead of GPIO nodes, the GPIO seq number for PCA9557
will overlay with GPIO nodes. This will cause issue to use GPIO in u-boot.
5. Add i2c alias for i2c0 to i2c4, i2c6 and i2c8.
6. Modify ethernet alias index start from 0
7. Add the usb alias for OTG and USB3.
8. Add "u-boot,dm-pre-reloc" to thermal node to DTSi
9. Sync power domains of display resources with kernel
(commit "MLK-17978[IMX8QXP B0] Add a buffer null flag to ensure the buffer is not")
10. Add "power-domains" property to all GPIO nodes and flexspi node, since
they miss to add it.
11. Add "simple-bus" compatible strings to imx8qm-pm node.
12. Removed mmc alias
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 0e69d9e74d651227224bbc7e29ef87f515b9d07a)
|
|
Add board codes, configurations, DTS and DDR initialization codes for the
DDR3L and DDR4 ARM2 boards.
Supported modules
- DDR3L ARM2: Two RANK DDR3L, QSPI B, eMMC/SD, RMII ENET, UART.
- DDR4 ARM2: Two RANK DDR4, SD, NAND, RGMII ENET, UART.
NAND read/write/erase is ok in u-boot, NAND SPL boot will be tested later
when tool is ready.
Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
|
|
Since the CONFIG_BLK is defined by DM MMC, to support USB storage,
we have to use DM USB. Add the basic DM support for xhci-imx8m driver.
Also update DTSi to add USB alias seq.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Update the DTSi and add imx8mq-evk DTS file from v2017.03.
The MMC alias are removed to fix MMC device index problem.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add build configuration and DTS file to enable eMMC for eMMC reworked
EVK board.
Because the eMMC DTS file has QSPI node disabled, so we change to use
non-DM QSPI driver.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 9ae0e03eb829f694d26caec22f91d1f0fdba980d)
|