ARM: dts: uniphier: add device nodes for System Control blocks
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 2 Feb 2016 12:11:34 +0000 (21:11 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 14 Feb 2016 07:36:13 +0000 (16:36 +0900)
These are mainly used for controlling clocks and resets.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/dts/uniphier-common32.dtsi
arch/arm/dts/uniphier-ph1-ld4.dtsi
arch/arm/dts/uniphier-ph1-pro4.dtsi
arch/arm/dts/uniphier-ph1-pro5.dtsi
arch/arm/dts/uniphier-ph1-sld3.dtsi
arch/arm/dts/uniphier-ph1-sld8.dtsi
arch/arm/dts/uniphier-proxstream2.dtsi

index de04de1..d3e5a74 100644 (file)
                        reg = <0x5f801000 0xe00>;
                };
 
+               sysctrl: sysctrl@61840000 {
+                       /* specify compatible in each SoC DTSI */
+                       reg = <0x61840000 0x4000>;
+                       #clock-cells = <1>;
+                       clock-names = "ref";
+                       clocks = <&refclk>;
+               };
+
                nand: nand@68000000 {
                        compatible = "denali,denali-nand-dt";
                        reg = <0x68000000 0x20>, <0x68100000 0x1000>;
index 6f15978..6bd4b91 100644 (file)
 &pinctrl {
        compatible = "socionext,ph1-ld4-pinctrl", "syscon";
 };
+
+&sysctrl {
+       compatible = "socionext,ph1-ld4-sysctrl";
+};
index a236dbc..984f99c 100644 (file)
 &pinctrl {
        compatible = "socionext,ph1-pro4-pinctrl", "syscon";
 };
+
+&sysctrl {
+       compatible = "socionext,ph1-pro4-sysctrl";
+};
index 120767c..a836176 100644 (file)
 &pinctrl {
        compatible = "socionext,ph1-pro5-pinctrl", "syscon";
 };
+
+&sysctrl {
+       compatible = "socionext,ph1-pro5-sysctrl";
+};
index 9ff9584..c7a8902 100644 (file)
                        interrupts = <0 83 4>;
                };
 
+               sysctrl: sysctrl@f1840000 {
+                       compatible = "socionext,ph1-sld3-sysctrl";
+                       reg = <0xf1840000 0x4000>;
+                       #clock-cells = <1>;
+                       clock-names = "ref";
+                       clocks = <&refclk>;
+               };
+
                nand: nand@f8000000 {
                        compatible = "denali,denali-nand-dt";
                        reg = <0xf8000000 0x20>, <0xf8100000 0x1000>;
index e765a4b..9d97fb0 100644 (file)
 &pinctrl {
        compatible = "socionext,ph1-sld8-pinctrl", "syscon";
 };
+
+&sysctrl {
+       compatible = "socionext,ph1-sld8-sysctrl";
+};
index c7423ff..f6f4bbe 100644 (file)
 &pinctrl {
        compatible = "socionext,proxstream2-pinctrl", "syscon";
 };
+
+&sysctrl {
+       compatible = "socionext,proxstream2-sysctrl";
+};