]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: k3-j721e-r5*: Introduce k3-j721e-r5.dtsi
authorNeha Malcom Francis <n-francis@ti.com>
Mon, 20 May 2024 09:59:14 +0000 (15:29 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jun 2024 19:58:54 +0000 (13:58 -0600)
Introduce k3-j721e-r5.dtsi to be used by board R5 DTS files. This
helps sync SoC changes across boards.

Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
Reviewed-by: Manorit Chawdhry <m-chawdhry@ti.com>
arch/arm/dts/k3-j721e-r5-beagleboneai64.dts
arch/arm/dts/k3-j721e-r5-common-proc-board.dts
arch/arm/dts/k3-j721e-r5-sk.dts
arch/arm/dts/k3-j721e-r5.dtsi [new file with mode: 0644]

index 43da4dafba8f68bff9dd148ff3c5c6c48ad6fbb0..4f97af4fd9433731e6b65102cf3d0024a3c404d0 100644 (file)
 #include "k3-j721e-ddr.dtsi"
 
 #include "k3-j721e-beagleboneai64-u-boot.dtsi"
+#include "k3-j721e-r5.dtsi"
 
-/ {
-       aliases {
-               remoteproc0 = &sysctrler;
-               remoteproc1 = &a72_0;
-       };
-
-       chosen {
-               tick-timer = &mcu_timer0;
-       };
-
-       a72_0: a72@0 {
-               compatible = "ti,am654-rproc";
-               reg = <0x0 0x00a90000 0x0 0x10>;
-               power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
-                               <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>,
-                               <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>;
-               resets = <&k3_reset 202 0>;
-               clocks = <&k3_clks 61 1>;
-               assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>;
-               assigned-clock-rates = <2000000000>, <200000000>;
-               ti,sci = <&dmsc>;
-               ti,sci-proc-id = <32>;
-               ti,sci-host-id = <10>;
-               bootph-pre-ram;
-       };
-
-       dm_tifs: dm-tifs {
-               compatible = "ti,j721e-dm-sci";
-               ti,host-id = <3>;
-               ti,secure-host;
-               mbox-names = "rx", "tx";
-               mboxes= <&secure_proxy_mcu 21>,
-                               <&secure_proxy_mcu 23>;
-               bootph-pre-ram;
-       };
-};
-
-&dmsc {
-       mboxes= <&secure_proxy_mcu 6>,
-               <&secure_proxy_mcu 8>,
-               <&secure_proxy_mcu 5>;
-       mbox-names = "rx", "tx", "notify";
-       ti,host-id = <4>;
-       ti,secure-host;
-};
-
-&mcu_timer0 {
-       status = "okay";
-       bootph-pre-ram;
-};
-
-&secure_proxy_mcu {
-       bootph-pre-ram;
-       /* We require this for boot handshake */
-       status = "okay";
-};
-
-&cbass_mcu_wakeup {
-       sysctrler: sysctrler {
-               compatible = "ti,am654-system-controller";
-               mboxes= <&secure_proxy_mcu 4>, <&secure_proxy_mcu 5>;
-               mbox-names = "tx", "rx";
-               bootph-pre-ram;
-       };
-};
-
-&mcu_ringacc {
-       ti,sci = <&dm_tifs>;
-};
-
-&mcu_udmap {
-       ti,sci = <&dm_tifs>;
-};
-
-&wkup_uart0_pins_default {
-       bootph-pre-ram;
-};
 
 &wkup_i2c0 {
        bootph-pre-ram;
index 9655ca21d02b3ccd0801e20647e3703a2110ed96..c7e344350c8508d008c1ed134d5675e5704773a3 100644 (file)
 #include "k3-j721e-ddr.dtsi"
 #include "k3-j721e-common-proc-board-u-boot.dtsi"
 
-/ {
-       chosen {
-               tick-timer = &mcu_timer0;
-       };
-
-       aliases {
-               remoteproc0 = &sysctrler;
-               remoteproc1 = &a72_0;
-       };
-
-       a72_0: a72@0 {
-               compatible = "ti,am654-rproc";
-               reg = <0x0 0x00a90000 0x0 0x10>;
-               power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
-                               <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>,
-                               <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>;
-               resets = <&k3_reset 202 0>;
-               clocks = <&k3_clks 61 1>;
-               assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>;
-               assigned-clock-rates = <2000000000>, <200000000>;
-               ti,sci = <&dmsc>;
-               ti,sci-proc-id = <32>;
-               ti,sci-host-id = <10>;
-               bootph-pre-ram;
-       };
-
-       dm_tifs: dm-tifs {
-               compatible = "ti,j721e-dm-sci";
-               ti,host-id = <3>;
-               ti,secure-host;
-               mbox-names = "rx", "tx";
-               mboxes= <&secure_proxy_mcu 21>,
-                       <&secure_proxy_mcu 23>;
-               bootph-pre-ram;
-       };
-};
-
-&mcu_timer0 {
-       status = "okay";
-       bootph-pre-ram;
-};
-
-&dmsc {
-       mboxes= <&secure_proxy_mcu 8>, <&secure_proxy_mcu 6>, <&secure_proxy_mcu 5>;
-       mbox-names = "tx", "rx", "notify";
-       ti,host-id = <4>;
-       ti,secure-host;
-};
-
-&secure_proxy_mcu {
-       bootph-pre-ram;
-       status = "okay";
-};
-
-&cbass_mcu_wakeup {
-       sysctrler: sysctrler {
-               bootph-pre-ram;
-               compatible = "ti,am654-system-controller";
-               mboxes= <&secure_proxy_mcu 4>, <&secure_proxy_mcu 5>;
-               mbox-names = "tx", "rx";
-       };
-};
-
-&mcu_ringacc {
-       ti,sci = <&dm_tifs>;
-};
-
-&mcu_udmap {
-       ti,sci = <&dm_tifs>;
-};
+#include "k3-j721e-r5.dtsi"
 
 &wkup_i2c0 {
        bootph-pre-ram;
        };
 };
 
-&wkup_uart0_pins_default {
-       bootph-pre-ram;
-};
-
 &mcu_uart0_pins_default {
        bootph-pre-ram;
 };
index b0c108e9693114ce70f800bccc7eb75d44a80e6e..96a13b2cb2b93336fa3d2e6e365cc7ce07433e6f 100644 (file)
 #include "k3-j721e-ddr.dtsi"
 #include "k3-j721e-sk-u-boot.dtsi"
 
-/ {
-       chosen {
-               tick-timer = &mcu_timer0;
-       };
-
-       aliases {
-               remoteproc0 = &sysctrler;
-               remoteproc1 = &a72_0;
-       };
-
-       a72_0: a72@0 {
-               compatible = "ti,am654-rproc";
-               reg = <0x0 0x00a90000 0x0 0x10>;
-               power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
-                               <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>,
-                               <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>;
-               resets = <&k3_reset 202 0>;
-               clocks = <&k3_clks 61 1>;
-               assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>;
-               assigned-clock-rates = <2000000000>, <200000000>;
-               ti,sci = <&dmsc>;
-               ti,sci-proc-id = <32>;
-               ti,sci-host-id = <10>;
-               bootph-pre-ram;
-       };
-
-       dm_tifs: dm-tifs {
-               compatible = "ti,j721e-dm-sci";
-               ti,host-id = <3>;
-               ti,secure-host;
-               mbox-names = "rx", "tx";
-               mboxes= <&secure_proxy_mcu 21>,
-                               <&secure_proxy_mcu 23>;
-               bootph-pre-ram;
-       };
-};
-
-&mcu_timer0 {
-       status = "okay";
-       bootph-pre-ram;
-};
-
-&secure_proxy_mcu {
-       bootph-pre-ram;
-       status = "okay";
-};
-
-&cbass_mcu_wakeup {
-       sysctrler: sysctrler {
-               bootph-pre-ram;
-               compatible = "ti,am654-system-controller";
-               mboxes= <&secure_proxy_mcu 4>, <&secure_proxy_mcu 5>;
-               mbox-names = "tx", "rx";
-       };
-};
-
-&dmsc {
-       mboxes= <&secure_proxy_mcu 8>, <&secure_proxy_mcu 6>, <&secure_proxy_mcu 5>;
-       mbox-names = "tx", "rx", "notify";
-       ti,host-id = <4>;
-       ti,secure-host;
-};
-
-&mcu_ringacc {
-       ti,sci = <&dm_tifs>;
-};
-
-&mcu_udmap {
-       ti,sci = <&dm_tifs>;
-};
-
-&wkup_uart0_pins_default {
-       bootph-pre-ram;
-};
+#include "k3-j721e-r5.dtsi"
 
 &mcu_uart0_pins_default {
        bootph-pre-ram;
diff --git a/arch/arm/dts/k3-j721e-r5.dtsi b/arch/arm/dts/k3-j721e-r5.dtsi
new file mode 100644 (file)
index 0000000..fd0d921
--- /dev/null
@@ -0,0 +1,80 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
+ */
+
+/ {
+       chosen {
+               tick-timer = &mcu_timer0;
+       };
+
+       aliases {
+               remoteproc0 = &sysctrler;
+               remoteproc1 = &a72_0;
+       };
+
+       a72_0: a72@0 {
+               compatible = "ti,am654-rproc";
+               reg = <0x0 0x00a90000 0x0 0x10>;
+               power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>,
+                               <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>,
+                               <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>;
+               resets = <&k3_reset 202 0>;
+               clocks = <&k3_clks 61 1>;
+               assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>;
+               assigned-clock-rates = <2000000000>, <200000000>;
+               ti,sci = <&dmsc>;
+               ti,sci-proc-id = <32>;
+               ti,sci-host-id = <10>;
+               bootph-pre-ram;
+       };
+
+       dm_tifs: dm-tifs {
+               compatible = "ti,j721e-dm-sci";
+               ti,host-id = <3>;
+               ti,secure-host;
+               mbox-names = "rx", "tx";
+               mboxes= <&secure_proxy_mcu 21>,
+                       <&secure_proxy_mcu 23>;
+               bootph-pre-ram;
+       };
+};
+
+&mcu_timer0 {
+       status = "okay";
+       bootph-pre-ram;
+};
+
+&dmsc {
+       mboxes= <&secure_proxy_mcu 8>, <&secure_proxy_mcu 6>, <&secure_proxy_mcu 5>;
+       mbox-names = "tx", "rx", "notify";
+       ti,host-id = <4>;
+       ti,secure-host;
+};
+
+&secure_proxy_mcu {
+       bootph-pre-ram;
+       /* We require this for boot handshake */
+       status = "okay";
+};
+
+&cbass_mcu_wakeup {
+       sysctrler: sysctrler {
+               bootph-pre-ram;
+               compatible = "ti,am654-system-controller";
+               mboxes= <&secure_proxy_mcu 4>, <&secure_proxy_mcu 5>;
+               mbox-names = "tx", "rx";
+       };
+};
+
+&mcu_ringacc {
+       ti,sci = <&dm_tifs>;
+};
+
+&mcu_udmap {
+       ti,sci = <&dm_tifs>;
+};
+
+&wkup_uart0_pins_default {
+       bootph-pre-ram;
+};