]> git.baikalelectronics.ru Git - uboot.git/commitdiff
arm: pdu001: Fix dt to work with the current am33xx dtsi files
authorFelix Brack <fb@ltec.ch>
Tue, 8 Feb 2022 10:38:39 +0000 (11:38 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 14 Feb 2022 18:04:39 +0000 (13:04 -0500)
The changes introduced with commit dc8b3f89e640 ("arm: dts: sync am33xx
with Linux 5.9-rc7") prevent the PDU001 from operating correctly.
This patch fixes the configuration of the pin multiplexer and uart3.

Signed-off-by: Felix Brack <fb@ltec.ch>
arch/arm/dts/am335x-pdu001-u-boot.dtsi
configs/am335x_pdu001_defconfig

index 686a152fd9d9791ede1906373663a368ba3f140a..f1860ee3e4656d03ca9f3d1fb3bfc27fc25ea054 100644 (file)
@@ -5,17 +5,25 @@
 
 #include "am33xx-u-boot.dtsi"
 
-/ {
-       ocp {
-               u-boot,dm-pre-reloc;
-       };
-};
-
 &l4_wkup {
        u-boot,dm-pre-reloc;
+       segment@200000 {
+
+               target-module@10000 {
+                       u-boot,dm-pre-reloc;
+               };
+       };
 };
 
 &l4_per {
+       u-boot,dm-pre-reloc;
+       segment@100000 {
+               u-boot,dm-pre-reloc;
+
+               target-module@a6000 {
+                       u-boot,dm-pre-reloc;
+               };
+       };
 
        segment@300000 {
 
index 1c4c7118585bb6c8a7ea7460fde2405957a72671..1381cc7f9cec52e8f44b7e97a150adbcc4b7fef3 100644 (file)
@@ -35,8 +35,10 @@ CONFIG_CMD_PMIC=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
+CONFIG_SPL_OF_TRANSLATE=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SYS_MALLOC_F_LEN=0x1200
 # CONFIG_NET is not set
 CONFIG_SPL_DM=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
@@ -45,6 +47,8 @@ CONFIG_MMC_OMAP_HS=y
 CONFIG_MMC_SDHCI=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_SINGLE=y
+CONFIG_CLK=y
+CONFIG_CLK_TI_CTRL=y
 CONFIG_DM_PMIC=y
 CONFIG_DM_PMIC_TPS65910=y
 CONFIG_DM_REGULATOR=y