ARM: dts: Configure interconnect target module for omap5 dmm
authorTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:04:54 +0000 (14:04 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:04:54 +0000 (14:04 +0200)
We can now probe devices with device tree only configuration using
ti-sysc interconnect target module driver. Let's configure the
module, but keep the legacy "ti,hwmods" property to avoid new boot
time warnings. The legacy property will be removed in later patches
together with the legacy platform data.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap5.dtsi

index ee821d0ab3648ade7c90f2a5a8e57b4f44ff8a6e..a571a45561ad81e5f73aa99ce8adf797ce44aba9 100644 (file)
                        status = "disabled";
                };
 
-               dmm@4e000000 {
-                       compatible = "ti,omap5-dmm";
-                       reg = <0x4e000000 0x800>;
-                       interrupts = <0 113 0x4>;
+               target-module@4e000000 {
+                       compatible = "ti,sysc-omap2", "ti,sysc";
                        ti,hwmods = "dmm";
+                       reg = <0x4e000000 0x4>,
+                             <0x4e000010 0x4>;
+                       reg-names = "rev", "sysc";
+                       ti,sysc-sidle = <SYSC_IDLE_FORCE>,
+                                       <SYSC_IDLE_NO>,
+                                       <SYSC_IDLE_SMART>;
+                       ranges = <0x0 0x4e000000 0x2000000>;
+                       #size-cells = <1>;
+                       #address-cells = <1>;
+
+                       dmm@0 {
+                               compatible = "ti,omap5-dmm";
+                               reg = <0 0x800>;
+                               interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
+                       };
                };
 
                emif1: emif@4c000000 {