summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Brack <fb@ltec.ch>2022-02-08 13:38:39 +0300
committerTom Rini <trini@konsulko.com>2022-02-14 21:04:39 +0300
commit9f0deae6d5fa656d604b3efa2371ea52def22173 (patch)
treefd158530bd396a17e187152e7326e49877ea01f7
parent609177140bdc6c8f1ca46955c6117e4420620d27 (diff)
downloadu-boot-9f0deae6d5fa656d604b3efa2371ea52def22173.tar.xz
arm: pdu001: Fix dt to work with the current am33xx dtsi files
The changes introduced with commit 6337d53fdf45 ("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>
-rw-r--r--arch/arm/dts/am335x-pdu001-u-boot.dtsi20
-rw-r--r--configs/am335x_pdu001_defconfig4
2 files changed, 18 insertions, 6 deletions
diff --git a/arch/arm/dts/am335x-pdu001-u-boot.dtsi b/arch/arm/dts/am335x-pdu001-u-boot.dtsi
index 686a152fd9..f1860ee3e4 100644
--- a/arch/arm/dts/am335x-pdu001-u-boot.dtsi
+++ b/arch/arm/dts/am335x-pdu001-u-boot.dtsi
@@ -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 {
diff --git a/configs/am335x_pdu001_defconfig b/configs/am335x_pdu001_defconfig
index 1c4c711858..1381cc7f9c 100644
--- a/configs/am335x_pdu001_defconfig
+++ b/configs/am335x_pdu001_defconfig
@@ -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