- Feb 13, 2020
-
-
Lokesh Vutla authored
mcu uart will be used during uart boot for loading sysfw.itb. Since sysfw is not yet available during uart load, power-domain cannot be enabled. We need to rely on ROM for doing that, so disable power-domains and clocks for mcu uart. Also fix the mcu uart frequency. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Faiz Abbas authored
Add scm_conf syscon node and its parents as well as the ethernet phy node to u-boot.dtsi. This enables ethernet boot. Signed-off-by:
Faiz Abbas <faiz_abbas@ti.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
- Feb 09, 2020
-
-
Ian Ray authored
Override the panel compatible string for LCD in U-Boot. Include U-Boot device tree overrides in device-specific device trees so that the panel compatible string is used. Fixes: 8c267398 ("board: ge: bx50v3: sync devicetrees from Linux") Signed-off-by:
Ian Ray <ian.ray@ge.com>
-
Ian Ray authored
Enable DM_VIDEO for mx53ppd. Enable DM_REGULATOR_FIXED and DM_PWM for the backlight. Remove unused MX53PPD_LCD_POWER. Remove old (incorrect) setup_iomux_lcd. Enable backlight via display enable handler. Use cls command to initiate display in HW agnostic manner. Modify `failbootcmd' to use lcdputs. Signed-off-by:
Ian Ray <ian.ray@ge.com> Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Robert Beckett authored
Add bootcount node, linking to i2c eeprom "bootcount" partitions for storage. Enable i2c eeprom bootcount backend storage. Enable bootcount command and use it for failbootcmd. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Robert Beckett authored
Add bootcount node, linking to i2c eeprom "bootcount" partitions for storage. Enable i2c eeprom bootcount backend storage. Enable bootcount command and use it for failbootcmd. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Robert Beckett authored
Remove old (pre-DM) i2c setup code. Enable DM i2c. Convert common code to use DM rtc. Convert common code to read VPD from eeprom partition. Convert the generic i2c PMIC init code to use the new da9063 driver. mx53ppd only: Correct RTC compatible in device tree. Enable MXC DM i2c driver. Define CONFIG_SYS_MALLOC_F_LEN so that DM is available in pre-reloc. Make GPIO banks available during preloc, since initialisation is done in board_early_init_f(). Add gpio_request() calls to satisfy the DM_GPIO compatibility API. Remove unused power configuration. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com> Signed-off-by:
Ian Ray <ian.ray@ge.com>
-
Robert Beckett authored
Add eeprom partitions to device tree. Signed-off-by:
Robert Beckett <bob.beckett@collabora.com>
-
Marek Vasut authored
Convert to DM ethernet to prevent board removal. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Vagrant Cascadian <vagrant@debian.org>
-
Marek Vasut authored
Just move the defconfig entries which are required into the Novena entry in arch Kconfig, no functional change. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Vagrant Cascadian <vagrant@debian.org>
-
Joris Offouga authored
Before: => ums 0 mmc 0 UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1dacc00 usb dr_mode not found CTRL+C - Operation aborted => dfu 0 mmc 0 usb dr_mode not found After : => ums 0 mmc 0 UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x1dacc00 => dfu 0 mmc 0 Signed-off-by:
Joris Offouga <offougajoris@gmail.com> Reviewed-by:
Fabio Estevam <festevam@gmail.com>
-
Joris Offouga authored
These nodes are not in upstream kernel, so move these in u-boot.dtsi Signed-off-by:
Joris Offouga <offougajoris@gmail.com> Reviewed-by:
Fabio Estevam <festevam@gmail.com>
-
Lukasz Majewski authored
The 'enable-active-high' DTS property configures GPIO so it is active with HIGH state (by default it is low). The 'regulator-boot-on' property indicates that the regulator was enabled in the 'earlier' stage - i.e. bootloader/firmware. In the XEA case the 'fec-3v3' was configured (as a "wrapper" on GPIO0_0) in very early SPL code, so it shouldn't be modified at latter stages. Signed-off-by:
Lukasz Majewski <lukma@denx.de>
-
Igor Opaniuk authored
This adds initial minimal support for the Toradex Verdin iMX8M Mini Quad 2GB WB IT V1.0A module. They are now strapped to boot from eFuses which are factory fused to properly boot from their on-module eMMC. U-Boot supports booting from the on-module eMMC only, SDP support is disabled for now due to missing i.MX 8M Mini USB support. Functionality wise the following is known to be working: - eMMC, 8-bit and 4-bit MMC/SD card slots - Ethernet - GPIOs - I2C Boot sequence is: SPL ---> ATF (TF-A) ---> U-boot proper ATF, U-boot proper and u-boot.dtb images are packed into a FIT image, loaded by SPL. Boot: U-Boot SPL 2020.01-00187-gd411d164e5 (Jan 26 2020 - 04:47:26 +0100) Normal Boot Trying to boot from MMC1 NOTICE: Configuring TZASC380 NOTICE: RDC off NOTICE: BL31: v2.0(release):rel_imx_4.14.98_2.3.0-0-g09c5cc994-dirty NOTICE: BL31: Built : 01:11:41, Jan 25 2020 NOTICE: sip svc init U-Boot 2020.01-00187-gd411d164e5 (Jan 26 2020 - 04:47:26 +0100) CPU: Freescale i.MX8MMQ rev1.0 at 0 MHz Reset cause: POR DRAM: 2 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from MMC... OK In: serial Out: serial Err: serial Model: Toradex Verdin iMX8M Mini Quad 2GB Wi-Fi / BT IT V1.0A, Serial# 06535149 Net: eth0: ethernet@30be0000 Hit any key to stop autoboot: 0 Verdin iMX8MM # Signed-off-by:
Igor Opaniuk <igor.opaniuk@toradex.com> Signed-off-by:
Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
Marcel Ziswiler authored
Synchronise with latest linux-next kernel pin func header file. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by:
Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-
- Feb 07, 2020
-
-
Alex Nemirovsky authored
Add basic Presidio G3 engineering board support Signed-off-by:
Alex Nemirovsky <alex.nemirovsky@cortina-access.com>
-
Jason Li authored
The Cortina CAxxxx GPIO driver maintains DM_GPIO support across different CPU ISA in the CAxxxx Soc Family; Not just ARM. Therefore, it is not desirable to split out and maintain separete gpio header file for each CPU architecture. Reviewed-by:
Tom Rini <trini@konsulko.com> Signed-off-by:
Jason Li <jason.li@cortina-access.com> Signed-off-by:
Alex Nemirovsky <alex.nemirovsky@cortina-access.com>
-
MarkLee authored
This patch add eth and sgmii dts node for mt7622 to support ethernet Signed-off-by:
MarkLee <Mark-MC.Lee@mediatek.com>
-
- Feb 06, 2020
-
-
Simon Glass authored
At present dm/device.h includes the linux-compatible features. This requires including linux/compat.h which in turn includes a lot of headers. One of these is malloc.h which we thus end up including in every file in U-Boot. Apart from the inefficiency of this, it is problematic for sandbox which needs to use the system malloc() in some files. Move the compatibility features into a separate header file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present devres.h is included in all files that include dm.h but few make use of it. Also this pulls in linux/compat which adds several more headers. Drop the automatic inclusion and require files to include devres themselves. This provides a good indication of which files use devres. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Anatolij Gustschin <agust@denx.de>
-
- Feb 05, 2020
-
-
Marek Vasut authored
Add DDR2 support to Gen5 DRAM driver. As the DDR2 macro names generated by Quartus are named differently than the DDR3 ones, use anon unions to store them in the same structures, without growing their size. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Ley Foon Tan <ley.foon.tan@intel.com> Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
-
Marek Vasut authored
Convert the designware watchdog timer driver to DM and add DT probing support. Perform minor coding style clean up, like drop superfluous braces. These ought to be no functional change. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Chin Liang See <chin.liang.see@intel.com> Cc: Dalon Westergreen <dwesterg@gmail.com> Cc: Dinh Nguyen <dinguyen@kernel.org> Cc: Jagan Teki <jagan@amarulasolutions.com> Cc: Ley Foon Tan <ley.foon.tan@intel.com> Cc: Philipp Tomisch <philipp.tomisch@theobroma-systems.com> Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Cc: Tien Fong Chee <tien.fong.chee@intel.com> Reviewed-by:
Jagan Teki <jagan@amarulasolutions.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com> # roc-rk3399-pc
-
- Feb 04, 2020
-
-
Biwen Li authored
This supports i2c DM and enables CONFIG_DM_I2C for SoC LS1012A Signed-off-by:
Biwen Li <biwen.li@nxp.com> Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Biwen Li authored
Fix below SPL build error when DM_I2C is enabled, - arch/arm/cpu/armv8/built-in.o: In function `board_init_f: arch/arm/cpu/armv8/fsl-layerscape/spl.c:74: undefined reference to `i2c_init_all' arch/arm/cpu/armv8/fsl-layerscape/spl.c:74:(.text.board_init_f+0x30): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `i2c_init_all' make[2]: *** [spl/u-boot-spl] Error 1 make[1]: *** [spl/u-boot-spl] Error 2 make: *** [sub-make] Error 2 arch/arm/cpu/armv8/fsl-layerscape/spl.c: In function 'board_init_f': arch/arm/cpu/armv8/fsl-layerscape/spl.c:74:2: warning: implicit declaration of function 'i2c_init_all'; did you mean 'misc_init_r'? [-Wimplicit-function-declaration]` Signed-off-by:
Biwen Li <biwen.li@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Kuldeep Singh authored
Align flexspi node properties with linux device-tree properties Tested on LX2160A-RDB Signed-off-by:
Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Kuldeep Singh authored
Align flexspi node properties with linux device-tree properties Tested on LS1028A-RDB Signed-off-by:
Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Michael Walle authored
Sync the interrupt properties with the ones from Linux. Also use the constants provided by the dt-bindings header. Please note, that there are actual changes/fixes in the irq flags. U-Boot won't use the interrupt properties anyway. It's just to be consistent with the Linux device tree. Signed-off-by:
Michael Walle <michael@walle.cc> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Michael Walle authored
Also align the fspi node with the kernel one. Signed-off-by:
Michael Walle <michael@walle.cc> Reviewed-by:
Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
-
Faiz Abbas authored
Add the main_gpio0 node. Signed-off-by:
Faiz Abbas <faiz_abbas@ti.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Vignesh Raghavendra authored
IO expanders are required to power cycle SD card. So enable the same Signed-off-by:
Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Vignesh Raghavendra authored
Add I2C GPIO expander required to power cycle MMC/SD Signed-off-by:
Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Vignesh Raghavendra authored
J721e SoC has 2 I2C instances in MCU domain and 7 I2C instances in main domain. Add DT nodes for the same Signed-off-by:
Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Vignesh Raghavendra authored
Enable USB0 in peripheral mode so that it be used for DFU Signed-off-by:
Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Vignesh Raghavendra authored
Add support to download SYSFW into internal RAM via DFU in DFU boot mode. Prepare a DFU config entity entry dynamically using buffer address allocated for SYSFW and start DFU gadget to get SYSFW. Signed-off-by:
Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Vignesh Raghavendra authored
J721e does not support USB Host MSC boot, but only supports DFU boot. Since BOOT_DEVICE_USB is often used for host boot mode and BOOT_DEVICE_DFU is used for DFU boot, rename BOOT_DEVICE_USB macro to BOOT_DEVICE_DFU Signed-off-by:
Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
- Feb 03, 2020
-
-
Marek Vasut authored
This particular chunk of code was not updated, likely due to the order in which the patches were posted and applied. Fix this missing part. Fixes: bb25aca1 ("arm: socfpga: Convert reset manager from struct to defines") Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Chin Liang See <chin.liang.see@intel.com> Cc: Dalon Westergreen <dwesterg@gmail.com> Cc: Dinh Nguyen <dinguyen@kernel.org> Cc: Ley Foon Tan <ley.foon.tan@intel.com> Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Cc: Tien Fong Chee <tien.fong.chee@intel.com>
-
- Jan 31, 2020
-
-
Masahiro Yamada authored
gd->ram_base is not set at all if the end address of the DRAM ch0 exceeds the 4GB limit. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
UCLASS_MTD is a better fit for NAND drivers. Make NAND_DENALI_DT depend on DM_MTD, which is needed to compile drivers/mtd/mtd-uclass.c Also, make ARCH_UNIPHIER select DM_MTD because all the defconfig of this platform enables NAND_DENALI_DT. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Miquel Raynal <miquel.raynal@bootlin.com>
-
Masahiro Yamada authored
Now that the reset controlling of the Denali NAND driver (denali_dt.c) works for this platform, remove the adhoc reset deassert code. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- Jan 30, 2020
-
-
Kever Yang authored
Add alias for mmc/sdmmc so that we can have a fix mmc number for emmc. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Reviewed-by:
Jagan Teki <jagan@amarulasolutions.com>
-