]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: omap4: add bus functionality to base PRCM nodes
authorTero Kristo <t-kristo@ti.com>
Thu, 7 Dec 2017 08:46:42 +0000 (10:46 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 11 Dec 2017 16:28:33 +0000 (08:28 -0800)
Add simple-bus compatibility and ranges properties to cm1, cm2 and prm
nodes. This is done in preparation of adding the support for clkctrl
nodes.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap4.dtsi

index 56fdde35a1202804a521fdf6beacb27647db3e45..787ea2a31593796c31d9d185960ffe071b51135a 100644 (file)
@@ -143,8 +143,11 @@ l4_cfg: l4@4a000000 {
                        ranges = <0 0x4a000000 0x1000000>;
 
                        cm1: cm1@4000 {
-                               compatible = "ti,omap4-cm1";
+                               compatible = "ti,omap4-cm1", "simple-bus";
                                reg = <0x4000 0x2000>;
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               ranges = <0 0x4000 0x2000>;
 
                                cm1_clocks: clocks {
                                        #address-cells = <1>;
@@ -156,8 +159,11 @@ cm1_clockdomains: clockdomains {
                        };
 
                        cm2: cm2@8000 {
-                               compatible = "ti,omap4-cm2";
+                               compatible = "ti,omap4-cm2", "simple-bus";
                                reg = <0x8000 0x3000>;
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               ranges = <0 0x8000 0x3000>;
 
                                cm2_clocks: clocks {
                                        #address-cells = <1>;
@@ -243,6 +249,9 @@ prm: prm@6000 {
                                        compatible = "ti,omap4-prm";
                                        reg = <0x6000 0x3000>;
                                        interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+                                       ranges = <0 0x6000 0x3000>;
 
                                        prm_clocks: clocks {
                                                #address-cells = <1>;