ARM: dts: omap5: add support for control module wkup pad config
authorTero Kristo <t-kristo@ti.com>
Wed, 14 Mar 2018 13:53:12 +0000 (15:53 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 20 Mar 2018 14:35:38 +0000 (07:35 -0700)
The pad configuration area under control module wkup has some miscellaneous
config registers, that are not pinmux related. Add a separate area for
these, and add support for syscon / clocks under this new area.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap5.dtsi

index 511606c..732b61a 100644 (file)
                                pinctrl-single,register-width = <16>;
                                pinctrl-single,function-mask = <0x7fff>;
                        };
+
+                       omap5_scm_wkup_pad_conf: omap5_scm_wkup_pad_conf@cda0 {
+                               compatible = "ti,omap5-scm-wkup-pad-conf",
+                                            "simple-bus";
+                               reg = <0xcda0 0x60>;
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               ranges = <0 0xcda0 0x60>;
+
+                               scm_wkup_pad_conf: scm_conf@0 {
+                                       compatible = "syscon", "simple-bus";
+                                       reg = <0x0 0x60>;
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+                                       ranges = <0 0x0 0x60>;
+
+                                       scm_wkup_pad_conf_clocks: clocks@0 {
+                                               #address-cells = <1>;
+                                               #size-cells = <0>;
+                                       };
+                               };
+                       };
                };
 
                ocmcram: ocmcram@40300000 {