ARM: dts: dra7-l4: Add ti-sysc node for CAM
authorBenoit Parrot <bparrot@ti.com>
Wed, 11 Dec 2019 14:05:52 +0000 (08:05 -0600)
committerTony Lindgren <tony@atomide.com>
Thu, 23 Jan 2020 17:13:39 +0000 (09:13 -0800)
Add CAM nodes as a child of l4 interconnect in order for it to probe
using ti-sysc.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7-l4.dtsi

index 7e7aa10..87f3b10 100644 (file)
                };
 
                target-module@170000 {                  /* 0x48970000, ap 21 0a.0 */
-                       compatible = "ti,sysc";
-                       status = "disabled";
+                       compatible = "ti,sysc-omap4", "ti,sysc";
+                       reg = <0x170010 0x4>;
+                       reg-names = "sysc";
+                       ti,sysc-midle = <SYSC_IDLE_FORCE>,
+                                       <SYSC_IDLE_NO>,
+                                       <SYSC_IDLE_SMART>;
+                       ti,sysc-sidle = <SYSC_IDLE_FORCE>,
+                                       <SYSC_IDLE_NO>,
+                                       <SYSC_IDLE_SMART>;
+                       clocks = <&cam_clkctrl DRA7_CAM_VIP1_CLKCTRL 0>;
+                       clock-names = "fck";
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges = <0x0 0x170000 0x10000>;
+                       status = "disabled";
                };
 
                target-module@190000 {                  /* 0x48990000, ap 23 2e.0 */
-                       compatible = "ti,sysc";
-                       status = "disabled";
+                       compatible = "ti,sysc-omap4", "ti,sysc";
+                       reg = <0x190010 0x4>;
+                       reg-names = "sysc";
+                       ti,sysc-midle = <SYSC_IDLE_FORCE>,
+                                       <SYSC_IDLE_NO>,
+                                       <SYSC_IDLE_SMART>;
+                       ti,sysc-sidle = <SYSC_IDLE_FORCE>,
+                                       <SYSC_IDLE_NO>,
+                                       <SYSC_IDLE_SMART>;
+                       clocks = <&cam_clkctrl DRA7_CAM_VIP2_CLKCTRL 0>;
+                       clock-names = "fck";
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges = <0x0 0x190000 0x10000>;
+                       status = "disabled";
                };
 
                target-module@1b0000 {                  /* 0x489b0000, ap 25 34.0 */
-                       compatible = "ti,sysc";
-                       status = "disabled";
+                       compatible = "ti,sysc-omap4", "ti,sysc";
+                       reg = <0x1b0000 0x4>,
+                             <0x1b0010 0x4>;
+                       reg-names = "rev", "sysc";
+                       ti,sysc-midle = <SYSC_IDLE_FORCE>,
+                                       <SYSC_IDLE_NO>,
+                                       <SYSC_IDLE_SMART>;
+                       ti,sysc-sidle = <SYSC_IDLE_FORCE>,
+                                       <SYSC_IDLE_NO>,
+                                       <SYSC_IDLE_SMART>;
+                       clocks = <&cam_clkctrl DRA7_CAM_VIP3_CLKCTRL 0>;
+                       clock-names = "fck";
                        #address-cells = <1>;
                        #size-cells = <1>;
                        ranges = <0x0 0x1b0000 0x10000>;
+                       status = "disabled";
                };
 
                target-module@1d0000 {                  /* 0x489d0000, ap 27 30.0 */