summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-27apalis-imx8: construct fdtfile dynamicallyDenys Drozdov
The following expression is used to construct the device tree name: fdtfile=${soc}-apalis${variant}-${fdt_board}.dtb - soc is set dynamically (either imx8qp or imx8qm), - variant is set dynamically (either empty or -v1.1), - fdt_board can be modified by the user (eval or ixora) Related-to: ELB-3338 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-07-26board: toradex: apalis-imx8: Leave module revision print awayDenys Drozdov
We don't like to print module revision all the time. Drop the module revision output from the code Related-to: ELB-3338 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-07-23board: toradex: apalis-imx8: Select proper DTsDenys Drozdov
Toradex Linux kernel supports different device trees for Apalis iMX8QM and Apalis iMX8QP SKUs and board revisions. Update apalis-imx8 to support both QM and QP revisions Related-to: ELB-3338 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-07-09board: toradex: verdin-imx8mp: unified ram configurationMarcel Ziswiler
First, try configuring for quad die, dual rank aka 8 GB RAM configuration. Falling back to dual die, single rank aka 1 GB (untested), 2 GB or 4 GB RAM configuration if it fails. Related-to: ELB-3938 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-07-08board: toradex: verdin-imx8mp: re-add 1, 2 or 4 gb ram configurationMarcel Ziswiler
Re-add previous dual die, single rank aka 1 GB (untested), 2 GB or 4GB RAM configuration as a separate parameter set. A later commit uses this as a fall-back configuration allowing for dynamic unified memory configuration of all our (current) SKUs. Related-to: ELB-3938 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-07-08board: toradex: verdin-imx8mp: integrate 8 gb ram configurationMarcel Ziswiler
As a first step, integrate the quad die, dual rank aka 8 GB configuration. In a later step, the previous dual die, single rank aka 1 GB (untested), 2 GB or 4 GB configuration will be re-added as a fall-back configuration allowing for dynamic unified memory configuration of all our (current) SKUs. Related-to: ELB-3938 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-06-23configs: use tezi specific configurationMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-06-21verdin-imx8mp: fix wifi-device detectionMax Krummenacher
Fixes commit 283ec8678 ('board: verdin-imx8mp: add missing modules to the wifi-device tree list') Related-to: ELB-4003 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-06-18MLK-25347-12: configs: imx8mn ddr4 ab2: enable usb supportAdrian Alonso
Enable usb and fastboot for serial download support Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit d12ef0f1fe200d44738684d90f92523fc971aef4)
2021-06-18MLK-25347-11: configs: imx8mn ab2: enable usb and fasboot supportAdrian Alonso
Enable usb and fastboot for serial download mode support Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 9dd80d8541656cf443b03d48525d05b773e36ed8)
2021-06-18MLK-25347-10: configs: imx8mm ddr4 ab2 nand: enable usb supportAdrian Alonso
Enable usb and fastboot for serial download support Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 99903f47bd538d23ed80c05e0bda515c911f642d)
2021-06-18MLK-25347-9: configs: imx8mm ddr4 ab2: enable usb and fastboot supportAdrian Alonso
Enable usb and fastboot support for serial download mode Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 308b99721cfa348feb0dd48380440b1dab8faf61)
2021-06-18MLK-25347-8: configs: imx8mm ab2 fspi: usb fastboot supportAdrian Alonso
Enable usb and fastboot for serial download support Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 96efe63a61054406aa849f4f929497d24c3a46a6)
2021-06-18MLK-25347-7: configs: imx8mm ab2: usb and fastboot supportAdrian Alonso
Enable usb and fastboot for serial download support Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 3e8a7a0fb379cde29b2c6e63811175a52e9b37e6)
2021-06-18MLK-25347-6: dts: arm: imx8mn ab2: enable usbotg1 supportAdrian Alonso
Enable usbotg1 on host mode for serial download support Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit e055f5b5a36c71060e17bcd8e9eaefc1198b51c3)
2021-06-18MLK-25347-5: dts: arm: imx8mm ab2: enable usbotg1 supportAdrian Alonso
Enable usbotg1 on host mode for serial download support Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 09e5e3f3e246849b13a62c573d44042f3a944db3)
2021-06-18MLK-25347-4: include: configs: imx8mn ab2: enable usb configsAdrian Alonso
Enable usb configs options for imx8mn audio board 2 targets Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 0f2ac0ce21ef81769a273733d730a98fa090950e)
2021-06-18MLK-25347-3: include: configs: imx8mm ab2: enable usb configsAdrian Alonso
Enable usb configs options for imx8mm audio board 2 targets Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit ef033c71ee133c9d49f10432612a1f48bd565d86)
2021-06-18MLK-25347-2: board: freescale: imx8mm ab2: spl enable usb boot deviceAdrian Alonso
Enable usb boot device support for imx8mm ab2 target boards Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 14639c28a70005016d343bfd883948f37e509234)
2021-06-18MLK-25347-1: board: freescale: imx8mm ab2: usb supportAdrian Alonso
Enable usb and fastboot for serial download support on Audio board 2 targets Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 60239e91a6a5658af3f36428fa55b160c90a6858)
2021-06-15toradex: enable using specific distro boot script for TEZIOleksandr Suvorov
The distro boot script for TEZI has another name to prevent u-boot of regular BSP trying to boot TEZI image. Expand the usage of TDX_EASY_INSTALLER Kconfig option to seek and use the TEZI-specific name of the script. Related-to: TEI-791 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-06-15toradex: imx8: remove global variable scriptOleksandr Suvorov
The distroboot script system scans boot_scripts variable and try to find and use to boot each script name mentioned there. Setting global variable "script" breaks this general mechanism of searching and running a distro boot script. Remove global variables "script" to fix working the general distro boot script mechanism. Related-to: TEI-791 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-06-15toradex: add easy installer optionOleksandr Suvorov
Add Toradex Easy Installer specific option. Currently this is needed to choose the correct ubiboot options and use correct name of distro boot script for Easy Installer. Related-to: TEI-791 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-06-15verdin-imx8mm: enable fastboot protocolDenys Drozdov
Fastboot protocol should be enabled for Easy Installer. Enable fastboot options in configuration file Related-to: TEI-745 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-06-07board: verdin-imx8mp: add missing modules to the wifi-device tree listPhilippe Schenker
Reported-by: Dominik Sliwa <dominik.sliwa@toradex.com> Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2021-05-19toradex: tdx-cfg-clock: add new i.mx 6ull and 8m plus skusMarcel Ziswiler
Add new i.MX 6ULL and 8M Plus SKUs to ConfigBlock handling: 0062: Colibri iMX6ULL 1GB IT (eMMC) 0063: Verdin iMX8M Plus Quad 4GB IT 0064: Verdin iMX8M Plus Quad 2GB Wi-Fi / BT IT 0065: Verdin iMX8M Plus QuadLite 1GB IT 0066: Verdin iMX8M Plus Quad 8GB Wi-Fi / BT Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-05-17configs: mx8: add default value of rootpathOleksandr Suvorov
Variable rootpath is used by distroboot script as a default path to a rootfs on an NFS server. Set this variable properly for all aarch64 modules, which support a Distro Boot. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-05-04Merge remote-tracking branch 'nxp/imx_v2020.04_5.4.70_2.3.0' into ↵Max Krummenacher
toradex_imx_v2020.04_5.4.70_2.3.0 Update to NXP BSP tag rel_imx_5.4.70_2.3.2 https://source.codeaurora.org/external/imx/uboot-imx/tag/?h=rel_imx_5.4.70_2.3.2 Related-to: ELB-3957 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-04-08LF-3117 wdog: imx_watchdog: Change default reset_cpu to internal resetYe Li
Default reset_cpu in imx_watchdog driver is clearing the WDA bit to assert WDOG_B output. However, this requires the iomuxc for the WDOG_B is configured by board codes or DTS. Without it, next external reset with WDOG_B iomuxc configured will not work. On iMX6, we always use internal reset to support some features like bmode. So the iomuxc for WDOG_B never be set. Change back the reset_cpu to use internal reset. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit aa97f1de484a165212cec56bd8ed38227c8f828a)
2021-04-07toradex: configblock: fix module revision in config blockDenys Drozdov
U-boot might display wrong module revision information for modules with an assembly version 'K'. "cfgblock create" does not takes into account all revision digits from PID8. This fix takes into account 6th,7th digits of PID8 to store module revision. Related-to: ELB-3893 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-04-01colibri-imx8x: hardcode the on module usb hub to bypass modeMax Krummenacher
The on module USB hub connects upstream to SoC USB_OTG2 and provides two downstream ports, one to the on module Wi-Fi, one to the SODIMM connector. In bypass mode the upstream port is directly connected to the SODIMM connector pins. Related-to: ELB-3853 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-04-01ARM: dts: fsl-imx8qxp-colibri: add on-module i2c busMax Krummenacher
Related-to: ELB-3853 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-04-01colibri-imx8x: drop ifdef'ed code and unused macrosMax Krummenacher
The macros are no longer used as the pins concerned are now configured in the device tree. This gpio setup code is from the initial bringup and was never needed in the first place. Just delete it. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-03-25verdin-imx8mp: spl: enable adc supplyMax Krummenacher
Enable the ADC supply (LDO4) @ 3.3V before enabling the I2C level shifter so that both sides of the level shifter are properly powered. Otherwise, depending on ADC connections the on module PMIC I2C bus might not be functional. Relates-to: ELB-3873 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-03-02configs: toradex: enable missing FIT optionsOleksandr Suvorov
Add missing support of FIT-images and enable a verbosity for this feature. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-02-17verdin-imx8mm: drop support for v1.0 hardwareMax Krummenacher
We drop support for Verdin iMX8M Mini V1.0B. Releated-to: ELB-3551 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-27toradex: configblock: fix interactive mode it handlingDenys Drozdov
Restore "Is the module an IT version? [y/N]" for "cfgblock create" interactive mode command, which was leading to invalid detection of 0051 Colibri iMX8DX 1GB WB module; Fixes: c0c3978cba34 ("toradex: tdx-cfg-block: add Verdin iMX8M Mini/Nano support") Fixes: 7780d4ec8ee3 ("toradex: tdx-cfg-clock: add new i.mx 8m mini/plus skus") Related-to: ELB-3482 Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
2021-01-20apalis-imx8x: fix flags properties for usbotg1Oleksandr Suvorov
The driver supports combined flag to disable srp/hnp and doesn't support disabling adp. Fix flag properties. Related-to: ELB-3424 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-20apalis-imx8x: enable on-board USB hub and USBH3/4 portsOleksandr Suvorov
Currently the Cadence,usb3 driver doesn't support a phy vbus regulator. Emulate it keeping the USBH_EN signal high with gpio-hog entry. This enables the on-board USB-Hub with ports USB2[ABCD] and on-board USB ports USBH3/4. Related-to: ELB-3424 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-20apalis-imx8x: request usbh_en signal pinOleksandr Suvorov
Request using the pin of USBH_EN signal that enables on-board USB hub (USBH2[ABCD] ports) and USBH3/4 ports. Related-to: ELB-3424 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-20apalis-imx8x: fix host mode for usbotg1 portOleksandr Suvorov
Trying to use the usbotg1 port in host mode led to the following error: ================= starting USB... Bus usb@5b0d0000: usb dr_mode not found Port not available. ================= Adding the correct dual-role mode fixes this issue and let the usbotg1 port working in both peripheral and host mode. Related-to: ELB-3424 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
2021-01-20colibri-imx8x: fix gpio reserved error messageIgor Opaniuk
This prevents messages like: gpio@5d0d0000: get_value: error: gpio GPIO5_9 not reserved when CONFIG_DM_GPIO is enabled. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
2021-01-20verdin imx8mp: change on-carrier phy addressMarcel Ziswiler
Both Verdin Developer Board V1.0A and V1.1A have their PHYs at address 7. Only V1.0B had it at the address 3! Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-01-20verdin imx8mp: remove config_fec_mxc_phyaddr/xcv_type, phy_aneg_timeoutMarcel Ziswiler
Remove CONFIG_FEC_MXC_PHYADDR, CONFIG_FEC_XCV_TYPE and PHY_ANEG_TIMEOUT in favour of device tree configuration via DM_ETH_PHY/PHYLIB. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-01-20verdin imx8mp: correct wrong comment about eqos/mdioMarcel Ziswiler
Eqos is set to primary as it is the on-module Ethernet interface nothing to do with its MDIO usage which BTW isn't even correct in the i.MX 8M Plus LPDDR4 EVK case! Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-01-20verdin imx8mp: remove dwc_net_phyaddrMarcel Ziswiler
Remove DWC_NET_PHYADDR in favour of device tree configuration via DM_ETH_PHY/PHYLIB. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-01-20verdin imx8mp: remove defunct regulator-on-bootMarcel Ziswiler
Turns out U-Boot won't do anything with those even if paired with regulator-always-on. I guess this is due to U-Boot's lazy loading. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-01-20net: dm: dwc_eth_qos: support the phy-supply bindingMarcel Ziswiler
Configure the PHY regulator if defined by the "phy-supply" device tree phandle. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2021-01-09imx8m/soc.c: drop some printfMax Krummenacher
Each node which gets touched prints two lines. Drop the one that the node is found. I.e. all "Found..." lines in U-Boot output are now suppressed: | Found /vpu_g1@38300000 node | Modify /vpu_g1@38300000:status disabled | Found /vpu_g2@38310000 node | Modify /vpu_g2@38310000:status disabled | Found /vpu_h1@38320000 node | Modify /vpu_h1@38320000:status disabled | Found /cpus/cpu@2 node | Delete node /cpus/cpu@2 | Found /cpus/cpu@3 node | Delete node /cpus/cpu@3 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-09verdin-imx8mp: fix alloc_simple() alloc space exhaustedMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>