]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
ARM: dts: uniphier: sync clock/reset controller nodes with Linux
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 21 Sep 2016 22:42:23 +0000 (07:42 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 22 Sep 2016 16:00:39 +0000 (01:00 +0900)
Sync device trees with Linux for easier DT life.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
13 files changed:
arch/arm/dts/uniphier-common32.dtsi
arch/arm/dts/uniphier-ph1-ld11.dtsi
arch/arm/dts/uniphier-ph1-ld20.dtsi
arch/arm/dts/uniphier-ph1-ld4.dtsi
arch/arm/dts/uniphier-ph1-pro4-sanji.dts
arch/arm/dts/uniphier-ph1-pro4.dtsi
arch/arm/dts/uniphier-ph1-pro5.dtsi
arch/arm/dts/uniphier-ph1-sld3-ref.dts
arch/arm/dts/uniphier-ph1-sld3.dtsi
arch/arm/dts/uniphier-ph1-sld8.dtsi
arch/arm/dts/uniphier-proxstream2-gentil.dts
arch/arm/dts/uniphier-proxstream2-vodka.dts
arch/arm/dts/uniphier-proxstream2.dtsi

index b0b2b57bb969aa8e88e970b4661daf26e5c532c6..e4410339eb64b2821700ea110692cc6f138c1b58 100644 (file)
@@ -31,7 +31,7 @@
                        interrupts = <0 33 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart0>;
-                       clocks = <&uart_clk>;
+                       clocks = <&peri_clk 0>;
                };
 
                serial1: serial@54006900 {
@@ -41,7 +41,7 @@
                        interrupts = <0 35 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart1>;
-                       clocks = <&uart_clk>;
+                       clocks = <&peri_clk 1>;
                };
 
                serial2: serial@54006a00 {
@@ -51,7 +51,7 @@
                        interrupts = <0 37 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart2>;
-                       clocks = <&uart_clk>;
+                       clocks = <&peri_clk 2>;
                };
 
                serial3: serial@54006b00 {
@@ -61,7 +61,7 @@
                        interrupts = <0 177 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart3>;
-                       clocks = <&uart_clk>;
+                       clocks = <&peri_clk 3>;
                };
 
                system_bus: system-bus@58c00000 {
                        reg = <0x59801000 0x400>;
                };
 
-               mio: mioctrl@59810000 {
-                       /* specify compatible in each SoC DTSI */
+               mioctrl@59810000 {
+                       compatible = "socionext,uniphier-mioctrl",
+                                    "simple-mfd", "syscon";
                        reg = <0x59810000 0x800>;
-                       #clock-cells = <1>;
+                       u-boot,dm-pre-reloc;
+
+                       mio_clk: clock {
+                               #clock-cells = <1>;
+                       };
+
+                       mio_rst: reset {
+                               #reset-cells = <1>;
+                       };
                };
 
-               peri: perictrl@59820000 {
-                       /* specify compatible in each SoC DTSI */
+               perictrl@59820000 {
+                       compatible = "socionext,uniphier-perictrl",
+                                    "simple-mfd", "syscon";
                        reg = <0x59820000 0x200>;
-                       #clock-cells = <1>;
+
+                       peri_clk: clock {
+                               #clock-cells = <1>;
+                       };
+
+                       peri_rst: reset {
+                               #reset-cells = <1>;
+                       };
                };
 
                timer@60000200 {
                };
 
                soc-glue@5f800000 {
-                       compatible = "simple-mfd", "syscon";
+                       compatible = "socionext,uniphier-soc-glue",
+                                    "simple-mfd", "syscon";
                        reg = <0x5f800000 0x2000>;
                        u-boot,dm-pre-reloc;
 
                        };
                };
 
-               sysctrl: sysctrl@61840000 {
-                       /* specify compatible in each SoC DTSI */
+               sysctrl@61840000 {
+                       compatible = "socionext,uniphier-sysctrl",
+                                    "simple-mfd", "syscon";
                        reg = <0x61840000 0x4000>;
-                       #clock-cells = <1>;
-                       clock-names = "ref";
-                       clocks = <&refclk>;
+
+                       sys_clk: clock {
+                               #clock-cells = <1>;
+                       };
+
+                       sys_rst: reset {
+                               #reset-cells = <1>;
+                       };
                };
 
                nand: nand@68000000 {
index ffe04f5cb69b15bb6012bc1891f12b627ab61344..0bdbbddd9dde20aef63026172eb275d118ac6b27 100644 (file)
                        clock-frequency = <25000000>;
                };
 
-               uart_clk: uart_clk {
-                       #clock-cells = <0>;
-                       compatible = "fixed-clock";
-                       clock-frequency = <58820000>;
-               };
-
                i2c_clk: i2c_clk {
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
 
        timer {
                compatible = "arm,armv8-timer";
-               interrupts = <1 13 0xf01>,
-                            <1 14 0xf01>,
-                            <1 11 0xf01>,
-                            <1 10 0xf01>;
+               interrupts = <1 13 4>,
+                            <1 14 4>,
+                            <1 11 4>,
+                            <1 10 4>;
        };
 
        soc {
@@ -89,7 +83,7 @@
                        interrupts = <0 33 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart0>;
-                       clocks = <&uart_clk>;
+                       clocks = <&peri_clk 0>;
                        clock-frequency = <58820000>;
                };
 
                        interrupts = <0 35 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart1>;
-                       clocks = <&uart_clk>;
+                       clocks = <&peri_clk 1>;
                        clock-frequency = <58820000>;
                };
 
                        interrupts = <0 37 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart2>;
-                       clocks = <&uart_clk>;
+                       clocks = <&peri_clk 2>;
                        clock-frequency = <58820000>;
                };
 
                        interrupts = <0 177 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart3>;
-                       clocks = <&uart_clk>;
+                       clocks = <&peri_clk 3>;
                        clock-frequency = <58820000>;
                };
 
                        reg = <0x59801000 0x400>;
                };
 
+               perictrl@59820000 {
+                       compatible = "socionext,uniphier-perictrl",
+                                    "simple-mfd", "syscon";
+                       reg = <0x59820000 0x200>;
+
+                       peri_clk: clock {
+                               compatible = "socionext,uniphier-ld11-peri-clock";
+                               #clock-cells = <1>;
+                       };
+
+                       peri_rst: reset {
+                               compatible = "socionext,uniphier-ld11-peri-reset";
+                               #reset-cells = <1>;
+                       };
+               };
+
                usb0: usb@5a800100 {
                        compatible = "socionext,uniphier-ehci", "generic-ehci";
                        status = "disabled";
                        interrupts = <0 243 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb0>;
-                       clocks = <&mio 3>, <&mio 6>;
+                       clocks = <&mio_clk 3>, <&mio_clk 6>;
                };
 
                usb1: usb@5a810100 {
                        interrupts = <0 244 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb1>;
-                       clocks = <&mio 4>, <&mio 6>;
+                       clocks = <&mio_clk 4>, <&mio_clk 6>;
                };
 
                usb2: usb@5a820100 {
                        interrupts = <0 245 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb2>;
-                       clocks = <&mio 5>, <&mio 6>;
+                       clocks = <&mio_clk 5>, <&mio_clk 6>;
                };
 
-               mio: mioctrl@5b3e0000 {
-                       compatible = "socionext,ph1-ld11-mioctrl";
+               mioctrl@5b3e0000 {
+                       compatible = "socionext,uniphier-mioctrl",
+                                    "simple-mfd", "syscon";
                        reg = <0x5b3e0000 0x800>;
-                       #clock-cells = <1>;
+
+                       mio_clk: clock {
+                               compatible = "socionext,uniphier-ld11-mio-clock";
+                               #clock-cells = <1>;
+                       };
+
+                       mio_rst: reset {
+                               compatible = "socionext,uniphier-ld11-mio-reset";
+                               #reset-cells = <1>;
+                               resets = <&sys_rst 7>;
+                       };
                };
 
                soc-glue@5f800000 {
-                       compatible = "simple-mfd", "syscon";
+                       compatible = "socionext,uniphier-soc-glue",
+                                    "simple-mfd", "syscon";
                        reg = <0x5f800000 0x2000>;
                        u-boot,dm-pre-reloc;
 
                        #interrupt-cells = <3>;
                        interrupts = <1 9 4>;
                };
+
+               sysctrl@61840000 {
+                       compatible = "socionext,uniphier-ld11-sysctrl",
+                                    "simple-mfd", "syscon";
+                       reg = <0x61840000 0x4000>;
+
+                       sys_clk: clock {
+                               compatible = "socionext,uniphier-ld11-clock";
+                               #clock-cells = <1>;
+                       };
+
+                       sys_rst: reset {
+                               compatible = "socionext,uniphier-ld11-reset";
+                               #reset-cells = <1>;
+                       };
+               };
        };
 };
 
index 7497539467b00865f2a846c9326655b03fe725ff..7f97f8816a4ddf51a17508d8b5ca734043fcaeba 100644 (file)
                        clock-frequency = <25000000>;
                };
 
-               uart_clk: uart_clk {
-                       #clock-cells = <0>;
-                       compatible = "fixed-clock";
-                       clock-frequency = <58820000>;
-               };
-
                i2c_clk: i2c_clk {
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
 
        timer {
                compatible = "arm,armv8-timer";
-               interrupts = <1 13 0xf01>,
-                            <1 14 0xf01>,
-                            <1 11 0xf01>,
-                            <1 10 0xf01>;
+               interrupts = <1 13 4>,
+                            <1 14 4>,
+                            <1 11 4>,
+                            <1 10 4>;
        };
 
        soc {
                        interrupts = <0 33 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart0>;
-                       clocks = <&uart_clk>;
+                       clocks = <&peri_clk 0>;
                        clock-frequency = <58820000>;
                };
 
                        interrupts = <0 35 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart1>;
-                       clocks = <&uart_clk>;
+                       clocks = <&peri_clk 1>;
                        clock-frequency = <58820000>;
                };
 
                        interrupts = <0 37 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart2>;
-                       clocks = <&uart_clk>;
+                       clocks = <&peri_clk 2>;
                        clock-frequency = <58820000>;
                };
 
                        interrupts = <0 177 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart3>;
-                       clocks = <&uart_clk>;
+                       clocks = <&peri_clk 3>;
                        clock-frequency = <58820000>;
                };
 
                        reg = <0x59801000 0x400>;
                };
 
-               mio: mioctrl@59810000 {
-                       compatible = "socionext,ph1-ld20-mioctrl";
+               mioctrl@59810000 {
+                       compatible = "socionext,uniphier-mioctrl",
+                                    "simple-mfd", "syscon";
                        reg = <0x59810000 0x800>;
-                       #clock-cells = <1>;
+
+                       mio_clk: clock {
+                               compatible = "socionext,uniphier-ld20-mio-clock";
+                               #clock-cells = <1>;
+                       };
+
+                       mio_rst: reset {
+                               compatible = "socionext,uniphier-ld20-mio-reset";
+                               #reset-cells = <1>;
+                       };
+               };
+
+               perictrl@59820000 {
+                       compatible = "socionext,uniphier-perictrl",
+                                    "simple-mfd", "syscon";
+                       reg = <0x59820000 0x200>;
+
+                       peri_clk: clock {
+                               compatible = "socionext,uniphier-ld20-peri-clock";
+                               #clock-cells = <1>;
+                       };
+
+                       peri_rst: reset {
+                               compatible = "socionext,uniphier-ld20-peri-reset";
+                               #reset-cells = <1>;
+                       };
                };
 
                sd: sdhc@5a400000 {
                        interrupts = <0 76 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_sd>;
-                       clocks = <&mio 0>;
+                       clocks = <&mio_clk 0>;
                        bus-width = <4>;
                };
 
                soc-glue@5f800000 {
-                       compatible = "simple-mfd", "syscon";
+                       compatible = "socionext,uniphier-soc-glue",
+                                    "simple-mfd", "syscon";
                        reg = <0x5f800000 0x2000>;
                        u-boot,dm-pre-reloc;
 
                        #interrupt-cells = <3>;
                        interrupts = <1 9 4>;
                };
+
+               sysctrl@61840000 {
+                       compatible = "socionext,uniphier-sysctrl",
+                                    "simple-mfd", "syscon";
+                       reg = <0x61840000 0x4000>;
+
+                       sys_clk: clock {
+                               compatible = "socionext,uniphier-ld20-clock";
+                               #clock-cells = <1>;
+                       };
+
+                       sys_rst: reset {
+                               compatible = "socionext,uniphier-ld20-reset";
+                               #reset-cells = <1>;
+                       };
+               };
        };
 };
 
index 07f315a2b7b1559eae86f1c80323d1c114f3e384..e4884b9516c361a219c3dbcc597996e61a1bd705 100644 (file)
                        clock-frequency = <50000000>;
                };
 
-               uart_clk: uart_clk {
-                       #clock-cells = <0>;
-                       compatible = "fixed-clock";
-                       clock-frequency = <36864000>;
-               };
-
                iobus_clk: iobus_clk {
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
                pinctrl-names = "default", "1.8v";
                pinctrl-0 = <&pinctrl_sd>;
                pinctrl-1 = <&pinctrl_sd_1v8>;
-               clocks = <&mio 0>;
+               clocks = <&mio_clk 0>;
                bus-width = <4>;
        };
 
                pinctrl-names = "default", "1.8v";
                pinctrl-0 = <&pinctrl_emmc>;
                pinctrl-1 = <&pinctrl_emmc_1v8>;
-               clocks = <&mio 1>;
+               clocks = <&mio_clk 1>;
                bus-width = <8>;
                non-removable;
        };
                interrupts = <0 80 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb0>;
-               clocks = <&mio 3>, <&mio 6>;
+               clocks = <&mio_clk 3>, <&mio_clk 6>;
        };
 
        usb1: usb@5a810100 {
                interrupts = <0 81 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb1>;
-               clocks = <&mio 4>, <&mio 6>;
+               clocks = <&mio_clk 4>, <&mio_clk 6>;
        };
 
        usb2: usb@5a820100 {
                interrupts = <0 82 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb2>;
-               clocks = <&mio 5>, <&mio 6>;
+               clocks = <&mio_clk 5>, <&mio_clk 6>;
        };
 
        aidet@61830000 {
        clock-frequency = <36864000>;
 };
 
-&mio {
-       compatible = "socionext,ph1-ld4-mioctrl";
-       clock-names = "stdmac", "ehci";
-       clocks = <&sysctrl 10>, <&sysctrl 18>;
+&mio_clk {
+       compatible = "socionext,uniphier-ld4-mio-clock";
+};
+
+&mio_rst {
+       compatible = "socionext,uniphier-ld4-mio-reset";
+};
+
+&peri_clk {
+       compatible = "socionext,uniphier-ld4-peri-clock";
 };
 
-&peri {
-       compatible = "socionext,ph1-ld4-perictrl";
-       clock-names = "uart", "i2c";
-       clocks = <&sysctrl 3>, <&sysctrl 4>;
+&peri_rst {
+       compatible = "socionext,uniphier-ld4-peri-reset";
 };
 
 &pinctrl {
        compatible = "socionext,uniphier-ld4-pinctrl";
 };
 
-&sysctrl {
-       compatible = "socionext,ph1-ld4-sysctrl";
+&sys_clk {
+       compatible = "socionext,uniphier-ld4-clock";
+};
+
+&sys_rst {
+       compatible = "socionext,uniphier-ld4-reset";
 };
index 965fe08e3880bc1d08eafd423387cb62bbb5802c..3f178d239add6587d5443d4a1c406b97714a1e1a 100644 (file)
@@ -89,7 +89,7 @@
        u-boot,dm-pre-reloc;
 };
 
-&mio {
+&mio_clk {
        u-boot,dm-pre-reloc;
 };
 
index e0b28b829152cea581d967943f2f326820bdf755..192ce841e1379809c9efae5b456f066bbd1a507a 100644 (file)
                pinctrl-names = "default", "1.8v";
                pinctrl-0 = <&pinctrl_sd>;
                pinctrl-1 = <&pinctrl_sd_1v8>;
-               clocks = <&mio 0>;
+               clocks = <&mio_clk 0>;
                bus-width = <4>;
        };
 
                pinctrl-names = "default", "1.8v";
                pinctrl-0 = <&pinctrl_emmc>;
                pinctrl-1 = <&pinctrl_emmc_1v8>;
-               clocks = <&mio 1>;
+               clocks = <&mio_clk 1>;
                bus-width = <8>;
                non-removable;
        };
                pinctrl-names = "default", "1.8v";
                pinctrl-0 = <&pinctrl_sd1>;
                pinctrl-1 = <&pinctrl_sd1_1v8>;
-               clocks = <&mio 2>;
+               clocks = <&mio_clk 2>;
                bus-width = <4>;
        };
 
                interrupts = <0 80 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb2>;
-               clocks = <&mio 3>, <&mio 6>;
+               clocks = <&mio_clk 3>, <&mio_clk 6>;
        };
 
        usb3: usb@5a810100 {
                interrupts = <0 81 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb3>;
-               clocks = <&mio 4>, <&mio 6>;
+               clocks = <&mio_clk 4>, <&mio_clk 6>;
        };
 
        aidet@5fc20000 {
        clock-frequency = <73728000>;
 };
 
-&mio {
-       compatible = "socionext,ph1-pro4-mioctrl";
-       clock-names = "stdmac", "ehci";
-       clocks = <&sysctrl 10>, <&sysctrl 18>;
+&mio_clk {
+       compatible = "socionext,uniphier-pro4-mio-clock";
 };
 
-&peri {
-       compatible = "socionext,ph1-pro4-perictrl";
-       clock-names = "uart", "fi2c";
-       clocks = <&sysctrl 3>, <&sysctrl 4>;
+&mio_rst {
+       compatible = "socionext,uniphier-pro4-mio-reset";
+};
+
+&peri_clk {
+       compatible = "socionext,uniphier-pro4-peri-clock";
+};
+
+&peri_rst {
+       compatible = "socionext,uniphier-pro4-peri-reset";
 };
 
 &pinctrl {
        compatible = "socionext,uniphier-pro4-pinctrl";
 };
 
-&sysctrl {
-       compatible = "socionext,ph1-pro4-sysctrl";
+&sys_clk {
+       compatible = "socionext,uniphier-pro4-clock";
+};
+
+&sys_rst {
+       compatible = "socionext,uniphier-pro4-reset";
 };
index 05f961f5887b05def615e37c8b651420f33815ee..22a70b1a601ce04578ea5cf4123cd141d34ad6e8 100644 (file)
                        clock-frequency = <50000000>;
                };
 
-               uart_clk: uart_clk {
-                       #clock-cells = <0>;
-                       compatible = "fixed-clock";
-                       clock-frequency = <73728000>;
-               };
-
                i2c_clk: i2c_clk {
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
                interrupts = <0 78 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_emmc>;
-               clocks = <&mio 1>;
+               clocks = <&mio_clk 1>;
                bus-width = <8>;
                non-removable;
        };
                pinctrl-names = "default", "1.8v";
                pinctrl-0 = <&pinctrl_sd>;
                pinctrl-1 = <&pinctrl_sd_1v8>;
-               clocks = <&mio 0>;
+               clocks = <&mio_clk 0>;
                bus-width = <4>;
        };
 
        clock-frequency = <73728000>;
 };
 
-&mio {
-       compatible = "socionext,ph1-pro5-mioctrl";
-       clock-names = "stdmac";
-       clocks = <&sysctrl 10>;
+&mio_clk {
+       compatible = "socionext,uniphier-pro5-mio-clock";
+};
+
+&mio_rst {
+       compatible = "socionext,uniphier-pro5-mio-reset";
+};
+
+&peri_clk {
+       compatible = "socionext,uniphier-pro5-peri-clock";
 };
 
-&peri {
-       compatible = "socionext,ph1-pro5-perictrl";
-       clock-names = "uart", "fi2c";
-       clocks = <&sysctrl 3>, <&sysctrl 4>;
+&peri_rst {
+       compatible = "socionext,uniphier-pro5-peri-reset";
 };
 
 &pinctrl {
        compatible = "socionext,uniphier-pro5-pinctrl";
 };
 
-&sysctrl {
-       compatible = "socionext,ph1-pro5-sysctrl";
+&sys_clk {
+       compatible = "socionext,uniphier-pro5-clock";
+};
+
+&sys_rst {
+       compatible = "socionext,uniphier-pro5-reset";
 };
index f3e76b3d1eb487820f3068efdfb58e570486d7ab..116e571e4e4cf83771790389e8ecb87f09604e89 100644 (file)
        u-boot,dm-pre-reloc;
 };
 
-&mio {
-       u-boot,dm-pre-reloc;
-};
-
 &emmc {
        u-boot,dm-pre-reloc;
 };
index d8c44b7a0d8fec361493204e240f2eef98c1e325..a554b086e8164bd1fcb81119c94d5a0dbf56a0c7 100644 (file)
                        clock-frequency = <50000000>;
                };
 
-               uart_clk: uart_clk {
-                       #clock-cells = <0>;
-                       compatible = "fixed-clock";
-                       clock-frequency = <36864000>;
-               };
-
                iobus_clk: iobus_clk {
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
@@ -92,7 +86,6 @@
                        interrupts = <0 33 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart0>;
-                       clocks = <&uart_clk>;
                        clock-frequency = <36864000>;
                };
 
                        interrupts = <0 35 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart1>;
-                       clocks = <&uart_clk>;
                        clock-frequency = <36864000>;
                };
 
                        interrupts = <0 37 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_uart2>;
-                       clocks = <&uart_clk>;
                        clock-frequency = <36864000>;
                };
 
                        reg = <0x59801000 0x400>;
                };
 
-               mio: mioctrl@59810000 {
-                       compatible = "socionext,ph1-sld3-mioctrl";
+               mioctrl@59810000 {
+                       compatible = "socionext,uniphier-mioctrl",
+                                    "simple-mfd", "syscon";
                        reg = <0x59810000 0x800>;
-                       #clock-cells = <1>;
-                       clock-names = "stdmac", "ehci";
-                       clocks = <&sysctrl 10>, <&sysctrl 18>;
+                       u-boot,dm-pre-reloc;
+
+                       mio_clk: clock {
+                               compatible = "socionext,uniphier-sld3-mio-clock";
+                               #clock-cells = <1>;
+                               u-boot,dm-pre-reloc;
+                       };
+
+                       mio_rst: reset {
+                               compatible = "socionext,uniphier-sld3-mio-reset";
+                               #reset-cells = <1>;
+                       };
                };
 
                emmc: sdhc@5a400000 {
                        pinctrl-names = "default", "1.8v";
                        pinctrl-0 = <&pinctrl_emmc>;
                        pinctrl-1 = <&pinctrl_emmc_1v8>;
-                       clocks = <&mio 1>;
+                       clocks = <&mio_clk 1>;
                        bus-width = <8>;
                        non-removable;
                };
                        pinctrl-names = "default", "1.8v";
                        pinctrl-0 = <&pinctrl_sd>;
                        pinctrl-1 = <&pinctrl_sd_1v8>;
-                       clocks = <&mio 0>;
+                       clocks = <&mio_clk 0>;
                        bus-width = <4>;
                };
 
                        interrupts = <0 80 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb0>;
-                       clocks = <&mio 3>, <&mio 6>;
+                       clocks = <&mio_clk 3>, <&mio_clk 6>;
                };
 
                usb1: usb@5a810100 {
                        interrupts = <0 81 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb1>;
-                       clocks = <&mio 4>, <&mio 6>;
+                       clocks = <&mio_clk 4>, <&mio_clk 6>;
                };
 
                usb2: usb@5a820100 {
                        interrupts = <0 82 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb2>;
-                       clocks = <&mio 5>, <&mio 6>;
+                       clocks = <&mio_clk 5>, <&mio_clk 6>;
                };
 
                usb3: usb@5a830100 {
                        interrupts = <0 83 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb3>;
-                       clocks = <&mio 7>, <&mio 6>;
+                       clocks = <&mio_clk 7>, <&mio_clk 6>;
                };
 
                soc-glue@5f800000 {
                        reg = <0xf1830000 0x200>;
                };
 
-               sysctrl: sysctrl@f1840000 {
-                       compatible = "socionext,ph1-sld3-sysctrl";
+               sysctrl@f1840000 {
+                       compatible = "socionext,uniphier-sysctrl",
+                                    "simple-mfd", "syscon";
                        reg = <0xf1840000 0x4000>;
-                       #clock-cells = <1>;
-                       clock-names = "ref";
-                       clocks = <&refclk>;
+
+                       sys_clk: clock {
+                               compatible = "socionext,uniphier-sld3-clock";
+                               #clock-cells = <1>;
+                       };
+
+                       sys_rst: reset {
+                               compatible = "socionext,uniphier-sld3-reset";
+                               #reset-cells = <1>;
+                       };
                };
 
                nand: nand@f8000000 {
index e0376a1e9607c0b5900edacbe5056e492307014d..1ecce5030f65eb5e9b7329d653c5c0d1a7aaf422 100644 (file)
                        clock-frequency = <50000000>;
                };
 
-               uart_clk: uart_clk {
-                       #clock-cells = <0>;
-                       compatible = "fixed-clock";
-                       clock-frequency = <80000000>;
-               };
-
                iobus_clk: iobus_clk {
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
                pinctrl-names = "default", "1.8v";
                pinctrl-0 = <&pinctrl_sd>;
                pinctrl-1 = <&pinctrl_sd_1v8>;
-               clocks = <&mio 0>;
+               clocks = <&mio_clk 0>;
                bus-width = <4>;
        };
 
                pinctrl-names = "default", "1.8v";
                pinctrl-0 = <&pinctrl_emmc>;
                pinctrl-1 = <&pinctrl_emmc_1v8>;
-               clocks = <&mio 1>;
+               clocks = <&mio_clk 1>;
                bus-width = <8>;
                non-removable;
        };
                interrupts = <0 80 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb0>;
-               clocks = <&mio 3>, <&mio 6>;
+               clocks = <&mio_clk 3>, <&mio_clk 6>;
        };
 
        usb1: usb@5a810100 {
                interrupts = <0 81 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb1>;
-               clocks = <&mio 4>, <&mio 6>;
+               clocks = <&mio_clk 4>, <&mio_clk 6>;
        };
 
        usb2: usb@5a820100 {
                interrupts = <0 82 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb2>;
-               clocks = <&mio 5>, <&mio 6>;
+               clocks = <&mio_clk 5>, <&mio_clk 6>;
        };
 
        aidet@61830000 {
        clock-frequency = <80000000>;
 };
 
-&mio {
-       compatible = "socionext,ph1-sld8-mioctrl";
-       clock-names = "stdmac", "ehci";
-       clocks = <&sysctrl 10>, <&sysctrl 18>;
+&mio_clk {
+       compatible = "socionext,uniphier-sld8-mio-clock";
+};
+
+&mio_rst {
+       compatible = "socionext,uniphier-sld8-mio-reset";
+};
+
+&peri_clk {
+       compatible = "socionext,uniphier-sld8-peri-clock";
 };
 
-&peri {
-       compatible = "socionext,ph1-sld8-perictrl";
-       clock-names = "uart", "i2c";
-       clocks = <&sysctrl 3>, <&sysctrl 4>;
+&peri_rst {
+       compatible = "socionext,uniphier-sld8-peri-reset";
 };
 
 &pinctrl {
        compatible = "socionext,uniphier-sld8-pinctrl";
 };
 
-&sysctrl {
-       compatible = "socionext,ph1-sld8-sysctrl";
+&sys_clk {
+       compatible = "socionext,uniphier-sld8-clock";
+};
+
+&sys_rst {
+       compatible = "socionext,uniphier-sld8-reset";
 };
index 117570352f8fea850f529ba2a8dc97a230a59b54..7233dc67ab3ffcb80ea750240c89b47c3dfb5e56 100644 (file)
@@ -69,7 +69,7 @@
        u-boot,dm-pre-reloc;
 };
 
-&mio {
+&mio_clk {
        u-boot,dm-pre-reloc;
 };
 
index 928a0928fd1b71d444ff307002aa7fa92f28575d..30ea27034c696aa16313447ab2314dff5296b5fe 100644 (file)
@@ -54,7 +54,7 @@
        u-boot,dm-pre-reloc;
 };
 
-&mio {
+&mio_clk {
        u-boot,dm-pre-reloc;
 };
 
index 23a6bfac872221479add59d649dce1ecb66cbf90..609cbaa9d7c77cdef6df66168999dec1539554e4 100644 (file)
                        clock-frequency = <50000000>;
                };
 
-               uart_clk: uart_clk {
-                       #clock-cells = <0>;
-                       compatible = "fixed-clock";
-                       clock-frequency = <88900000>;
-               };
-
                i2c_clk: i2c_clk {
                        #clock-cells = <0>;
                        compatible = "fixed-clock";
                interrupts = <0 78 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_emmc>;
-               clocks = <&mio 1>;
+               clocks = <&mio_clk 1>;
                bus-width = <8>;
                non-removable;
        };
                pinctrl-names = "default", "1.8v";
                pinctrl-0 = <&pinctrl_sd>;
                pinctrl-1 = <&pinctrl_sd_1v8>;
-               clocks = <&mio 0>;
+               clocks = <&mio_clk 0>;
                bus-width = <4>;
        };
 
        clock-frequency = <88900000>;
 };
 
-&mio {
-       compatible = "socionext,proxstream2-mioctrl";
-       clock-names = "stdmac";
-       clocks = <&sysctrl 10>;
+&mio_clk {
+       compatible = "socionext,uniphier-pxs2-mio-clock";
+};
+
+&mio_rst {
+       compatible = "socionext,uniphier-pxs2-mio-reset";
+};
+
+&peri_clk {
+       compatible = "socionext,uniphier-pxs2-peri-clock";
 };
 
-&peri {
-       compatible = "socionext,proxstream2-perictrl";
-       clock-names = "uart", "fi2c";
-       clocks = <&sysctrl 3>, <&sysctrl 4>;
+&peri_rst {
+       compatible = "socionext,uniphier-pxs2-peri-reset";
 };
 
 &pinctrl {
        compatible = "socionext,uniphier-pxs2-pinctrl";
 };
 
-&sysctrl {
-       compatible = "socionext,proxstream2-sysctrl";
+&sys_clk {
+       compatible = "socionext,uniphier-pxs2-clock";
+};
+
+&sys_rst {
+       compatible = "socionext,uniphier-pxs2-reset";
 };