]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: k3-am64: Add support for ESM device nodes
authorHari Nagalla <hnagalla@ti.com>
Wed, 9 Mar 2022 20:42:29 +0000 (14:42 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 4 Apr 2022 23:02:04 +0000 (19:02 -0400)
Enable access to ESM0 configuration space and add Main ESM0 and MCU ESM
nodes to the AM64 device tree.

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
arch/arm/dts/k3-am64.dtsi
arch/arm/dts/k3-am642-r5-evm.dts
arch/arm/dts/k3-am642-r5-sk.dts

index de6805b0c72c1709e8d2d96ca8e75954912f10f9..7aa94d5a6e0eab85df7a8cd415674139198eb7b0 100644 (file)
@@ -64,6 +64,7 @@
                #address-cells = <2>;
                #size-cells = <2>;
                ranges = <0x00 0x000f4000 0x00 0x000f4000 0x00 0x000002d0>, /* PINCTRL */
+                        <0x00 0x00420000 0x00 0x00420000 0x00 0x00001000>, /* ESM0 */
                         <0x00 0x00600000 0x00 0x00600000 0x00 0x00001100>, /* GPIO */
                         <0x00 0x00a40000 0x00 0x00a40000 0x00 0x00000800>, /* Timesync router */
                         <0x00 0x01000000 0x00 0x01000000 0x00 0x02330400>, /* First peripheral window */
index cc48fd4cb6075e00fc9d4593905752bad46663fb..3ea6471e943b10e5212abf04c7b2c8cfca05729f 100644 (file)
        };
 };
 
+&cbass_main {
+       main_esm: esm@420000 {
+               compatible = "ti,j721e-esm";
+               reg = <0x0 0x420000 0x0 0x1000>;
+               ti,esm-pins = <160>, <161>;
+               u-boot,dm-spl;
+       };
+};
+
+&cbass_mcu {
+       u-boot,dm-spl;
+       mcu_esm: esm@4100000 {
+               compatible = "ti,j721e-esm";
+               reg = <0x0 0x4100000 0x0 0x1000>;
+               ti,esm-pins = <0>, <1>;
+               u-boot,dm-spl;
+       };
+};
+
 &main_pmx0 {
        u-boot,dm-spl;
        main_uart0_pins_default: main-uart0-pins-default {
index 7d1cb8561561f82457c571020f97c69eddbb226a..1f96e3fcacf2704e990ef996af6470b144cf8665 100644 (file)
        };
 };
 
+&cbass_main {
+       main_esm: esm@420000 {
+               compatible = "ti,j721e-esm";
+               reg = <0x0 0x420000 0x0 0x1000>;
+               ti,esm-pins = <160>, <161>;
+               u-boot,dm-spl;
+       };
+};
+
+&cbass_mcu {
+       u-boot,dm-spl;
+       mcu_esm: esm@4100000 {
+               compatible = "ti,j721e-esm";
+               reg = <0x0 0x4100000 0x0 0x1000>;
+               ti,esm-pins = <0>, <1>;
+               u-boot,dm-spl;
+       };
+};
+
 &main_pmx0 {
        u-boot,dm-spl;
        main_uart0_pins_default: main-uart0-pins-default {