diff options
| author | Anshul Dalal <[email protected]> | 2025-10-25 08:18:08 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-11-07 16:09:56 -0600 |
| commit | 726023f9a0bea1cda8f82791fcb724018e28c5df (patch) | |
| tree | fac89a02a0d32508312d3af4c704142c477a6445 /dts/upstream | |
| parent | fedd91b3faf3b5efa8301edaf690acdc5aaa565e (diff) | |
arm64: dts: ti: k3-am62*: remove SoC dtsi from common dtsi
The k3-am62x-sk-common dtsi represents the common hardware used across
am62x EVMs which can be configured with various DDR sizes or none (with
DDR integrated in the package) based on the specific am62x SoC used.
Therefore this patch moves the memory node and the SoC specific k3-am625
dtsi out of sk-common and into the board dts files. No functional change
is intended from this patch. The device-tree inheritance is changed as
follows:
Before:
k3-am62
^
k3-am625
^
k3-am62x-sk-common
^
am62x EVMs (k3-am625-sk, k3-am62-lp-sk)
After:
k3-am62
^
k3-am625 k3-am62x-sk-common
^ ^
am62x EVMs (k3-am625-sk, k3-am62-lp-sk)
Signed-off-by: Anshul Dalal <[email protected]>
Reviewed-by: Bryan Brattlof <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Nishanth Menon <[email protected]>
[ upstream commit: e0b9feca7329c495a76891d7766a781dea73787d ]
(cherry picked from commit 0b0edbbdf43bac6b28dd59c88647bd5e0b73ffea)
Diffstat (limited to 'dts/upstream')
| -rw-r--r-- | dts/upstream/src/arm64/ti/k3-am62-lp-sk.dts | 8 | ||||
| -rw-r--r-- | dts/upstream/src/arm64/ti/k3-am625-sk.dts | 5 | ||||
| -rw-r--r-- | dts/upstream/src/arm64/ti/k3-am62x-sk-common.dtsi | 8 |
3 files changed, 11 insertions, 10 deletions
diff --git a/dts/upstream/src/arm64/ti/k3-am62-lp-sk.dts b/dts/upstream/src/arm64/ti/k3-am62-lp-sk.dts index 4609f366006..ecfba05fe5c 100644 --- a/dts/upstream/src/arm64/ti/k3-am62-lp-sk.dts +++ b/dts/upstream/src/arm64/ti/k3-am62-lp-sk.dts @@ -7,12 +7,20 @@ /dts-v1/; +#include "k3-am625.dtsi" #include "k3-am62x-sk-common.dtsi" / { compatible = "ti,am62-lp-sk", "ti,am625"; model = "Texas Instruments AM62x LP SK"; + memory@80000000 { + /* 2G RAM */ + reg = <0x00000000 0x80000000 0x00000000 0x80000000>; + device_type = "memory"; + bootph-pre-ram; + }; + vmain_pd: regulator-0 { /* TPS65988 PD CONTROLLER OUTPUT */ compatible = "regulator-fixed"; diff --git a/dts/upstream/src/arm64/ti/k3-am625-sk.dts b/dts/upstream/src/arm64/ti/k3-am625-sk.dts index d240165bda9..1c6812a8ae9 100644 --- a/dts/upstream/src/arm64/ti/k3-am625-sk.dts +++ b/dts/upstream/src/arm64/ti/k3-am625-sk.dts @@ -7,6 +7,7 @@ /dts-v1/; +#include "k3-am625.dtsi" #include "k3-am62x-sk-common.dtsi" / { @@ -23,10 +24,10 @@ }; memory@80000000 { - device_type = "memory"; /* 2G RAM */ reg = <0x00000000 0x80000000 0x00000000 0x80000000>; - + device_type = "memory"; + bootph-pre-ram; }; vmain_pd: regulator-0 { diff --git a/dts/upstream/src/arm64/ti/k3-am62x-sk-common.dtsi b/dts/upstream/src/arm64/ti/k3-am62x-sk-common.dtsi index 43ee16f171f..ce8be23b068 100644 --- a/dts/upstream/src/arm64/ti/k3-am62x-sk-common.dtsi +++ b/dts/upstream/src/arm64/ti/k3-am62x-sk-common.dtsi @@ -8,7 +8,6 @@ #include <dt-bindings/leds/common.h> #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/net/ti-dp83867.h> -#include "k3-am625.dtsi" / { aliases { @@ -29,13 +28,6 @@ stdout-path = "serial2:115200n8"; }; - memory@80000000 { - bootph-pre-ram; - device_type = "memory"; - /* 2G RAM */ - reg = <0x00000000 0x80000000 0x00000000 0x80000000>; - }; - reserved_memory: reserved-memory { #address-cells = <2>; #size-cells = <2>; |
