ARM: dts: Configure interconnect target module for dra7 dmm
authorTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:03:47 +0000 (14:03 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2021 12:04:07 +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" peroperty to avoid new boot
time warnings. The legacy property will be removed in later patches
together with the legacy platform data.

Tested-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7.dtsi

index a2e053e..c2b5135 100644 (file)
                        };
                };
 
-               dmm@4e000000 {
-                       compatible = "ti,omap5-dmm";
-                       reg = <0x4e000000 0x800>;
-                       interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
+               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 108 IRQ_TYPE_LEVEL_HIGH>;
+                       };
                };
 
                ipu1: ipu@58820000 {