ARM: dts: uniphier: add device nodes for Peripheral control block
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 2 Feb 2016 12:11:35 +0000 (21:11 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 14 Feb 2016 07:36:13 +0000 (16:36 +0900)
This block provides clock and reset control for peripherals such as
UART, I2C, IC card, etc.

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-sld8.dtsi
arch/arm/dts/uniphier-proxstream2.dtsi

index d3e5a74d79d6076cea1fda0bce299cf4f04e89d5..43e5bea60d9421f06665e386e06971449274db08 100644 (file)
                        reg = <0x58c00000 0x400>, <0x59800000 0x2000>;
                };
 
+               peri: perictrl@59820000 {
+                       /* specify compatible in each SoC DTSI */
+                       reg = <0x59820000 0x200>;
+                       #clock-cells = <1>;
+               };
+
                timer@60000200 {
                        compatible = "arm,cortex-a9-global-timer";
                        reg = <0x60000200 0x20>;
index 6bd4b91eb8d067b6c5556fee2311c4f0a7e06d83..5843097ef156192630020c89559c5fcfeb4077a1 100644 (file)
        clock-frequency = <36864000>;
 };
 
+&peri {
+       compatible = "socionext,ph1-ld4-perictrl";
+       clock-names = "uart", "i2c";
+       clocks = <&sysctrl 3>, <&sysctrl 4>;
+};
+
 &pinctrl {
        compatible = "socionext,ph1-ld4-pinctrl", "syscon";
 };
index 984f99ccf8d2f0e50b990f549e0edb1c498d3a21..0c2f02f77bc7119909a890af84623ebbf75581d0 100644 (file)
        clock-frequency = <73728000>;
 };
 
+&peri {
+       compatible = "socionext,ph1-pro4-perictrl";
+       clock-names = "uart", "fi2c";
+       clocks = <&sysctrl 3>, <&sysctrl 4>;
+};
+
 &pinctrl {
        compatible = "socionext,ph1-pro4-pinctrl", "syscon";
 };
index a83617616803fdb6bdc1015e8cc3a85ed2e1bc66..305114cf8727d062c88aea406f2f8447fc9ef373 100644 (file)
        clock-frequency = <73728000>;
 };
 
+&peri {
+       compatible = "socionext,ph1-pro5-perictrl";
+       clock-names = "uart", "fi2c";
+       clocks = <&sysctrl 3>, <&sysctrl 4>;
+};
+
 &pinctrl {
        compatible = "socionext,ph1-pro5-pinctrl", "syscon";
 };
index 9d97fb03a06a24307aa72fbbce4cccbb7283e92c..7a26b4a7d237a5778dbc54b987a331ba9999fcdb 100644 (file)
        clock-frequency = <80000000>;
 };
 
+&peri {
+       compatible = "socionext,ph1-sld8-perictrl";
+       clock-names = "uart", "i2c";
+       clocks = <&sysctrl 3>, <&sysctrl 4>;
+};
+
 &pinctrl {
        compatible = "socionext,ph1-sld8-pinctrl", "syscon";
 };
index f6f4bbec3c8f0319ef4f08f2537d6676145e969e..f2faf256c4d539a98866a83191edf5811f32f60d 100644 (file)
        clock-frequency = <88900000>;
 };
 
+&peri {
+       compatible = "socionext,proxstream2-perictrl";
+       clock-names = "uart", "fi2c";
+       clocks = <&sysctrl 3>, <&sysctrl 4>;
+};
+
 &pinctrl {
        compatible = "socionext,proxstream2-pinctrl", "syscon";
 };