]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
ARM: dts: uniphier: sync DT with latest Linux
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 7 Oct 2016 07:43:00 +0000 (16:43 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 18 Oct 2016 05:06:46 +0000 (14:06 +0900)
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
32 files changed:
arch/arm/dts/Makefile
arch/arm/dts/uniphier-common32.dtsi
arch/arm/dts/uniphier-ld11-ref.dts [moved from arch/arm/dts/uniphier-ph1-ld11-ref.dts with 78% similarity]
arch/arm/dts/uniphier-ld11.dtsi [moved from arch/arm/dts/uniphier-ph1-ld11.dtsi with 93% similarity]
arch/arm/dts/uniphier-ld20-ref.dts [moved from arch/arm/dts/uniphier-ph1-ld20-ref.dts with 70% similarity]
arch/arm/dts/uniphier-ld20.dtsi [moved from arch/arm/dts/uniphier-ph1-ld20.dtsi with 96% similarity]
arch/arm/dts/uniphier-ld4-ref.dts [moved from arch/arm/dts/uniphier-ph1-ld4-ref.dts with 72% similarity]
arch/arm/dts/uniphier-ld4.dtsi [moved from arch/arm/dts/uniphier-ph1-ld4.dtsi with 89% similarity]
arch/arm/dts/uniphier-ld6b-ref.dts [moved from arch/arm/dts/uniphier-ph1-ld6b-ref.dts with 73% similarity]
arch/arm/dts/uniphier-ld6b.dtsi [new file with mode: 0644]
arch/arm/dts/uniphier-ph1-ld6b.dtsi [deleted file]
arch/arm/dts/uniphier-pro4-ace.dts [moved from arch/arm/dts/uniphier-ph1-pro4-ace.dts with 72% similarity]
arch/arm/dts/uniphier-pro4-ref.dts [moved from arch/arm/dts/uniphier-ph1-pro4-ref.dts with 74% similarity]
arch/arm/dts/uniphier-pro4-sanji.dts [moved from arch/arm/dts/uniphier-ph1-pro4-sanji.dts with 73% similarity]
arch/arm/dts/uniphier-pro4.dtsi [moved from arch/arm/dts/uniphier-ph1-pro4.dtsi with 93% similarity]
arch/arm/dts/uniphier-pro5-4kbox.dts [moved from arch/arm/dts/uniphier-ph1-pro5-4kbox.dts with 64% similarity]
arch/arm/dts/uniphier-pro5.dtsi [moved from arch/arm/dts/uniphier-ph1-pro5.dtsi with 96% similarity]
arch/arm/dts/uniphier-pxs2-gentil.dts [moved from arch/arm/dts/uniphier-proxstream2-gentil.dts with 69% similarity]
arch/arm/dts/uniphier-pxs2-vodka.dts [moved from arch/arm/dts/uniphier-proxstream2-vodka.dts with 69% similarity]
arch/arm/dts/uniphier-pxs2.dtsi [moved from arch/arm/dts/uniphier-proxstream2.dtsi with 95% similarity]
arch/arm/dts/uniphier-sld3-ref.dts [moved from arch/arm/dts/uniphier-ph1-sld3-ref.dts with 76% similarity]
arch/arm/dts/uniphier-sld3.dtsi [moved from arch/arm/dts/uniphier-ph1-sld3.dtsi with 87% similarity]
arch/arm/dts/uniphier-sld8-ref.dts [moved from arch/arm/dts/uniphier-ph1-sld8-ref.dts with 73% similarity]
arch/arm/dts/uniphier-sld8.dtsi [moved from arch/arm/dts/uniphier-ph1-sld8.dtsi with 89% similarity]
arch/arm/mach-uniphier/boards.c
configs/uniphier_ld11_defconfig
configs/uniphier_ld20_defconfig
configs/uniphier_ld4_sld8_defconfig
configs/uniphier_pro4_defconfig
configs/uniphier_pxs2_ld6b_defconfig
configs/uniphier_sld3_defconfig
doc/README.uniphier

index 8458f6bed85c9c7abf5d922b68a03ec419102758..8dbaea0f8d4cd96f0a922ff3af46b19d2b0a08fe 100644 (file)
@@ -79,18 +79,18 @@ dtb-$(CONFIG_ARCH_MVEBU) +=                 \
        armada-xp-theadorable.dtb
 
 dtb-$(CONFIG_ARCH_UNIPHIER) += \
-       uniphier-ph1-ld11-ref.dtb \
-       uniphier-ph1-ld20-ref.dtb \
-       uniphier-ph1-ld4-ref.dtb \
-       uniphier-ph1-ld6b-ref.dtb \
-       uniphier-ph1-pro4-ace.dtb \
-       uniphier-ph1-pro4-ref.dtb \
-       uniphier-ph1-pro4-sanji.dtb \
-       uniphier-ph1-pro5-4kbox.dtb \
-       uniphier-ph1-sld3-ref.dtb \
-       uniphier-ph1-sld8-ref.dtb \
-       uniphier-proxstream2-gentil.dtb \
-       uniphier-proxstream2-vodka.dtb
+       uniphier-ld11-ref.dtb \
+       uniphier-ld20-ref.dtb \
+       uniphier-ld4-ref.dtb \
+       uniphier-ld6b-ref.dtb \
+       uniphier-pro4-ace.dtb \
+       uniphier-pro4-ref.dtb \
+       uniphier-pro4-sanji.dtb \
+       uniphier-pro5-4kbox.dtb \
+       uniphier-pxs2-gentil.dtb \
+       uniphier-pxs2-vodka.dtb \
+       uniphier-sld3-ref.dtb \
+       uniphier-sld8-ref.dtb
 dtb-$(CONFIG_ARCH_ZYNQ) += zynq-zc702.dtb \
        zynq-zc706.dtb \
        zynq-zed.dtb \
index e4410339eb64b2821700ea110692cc6f138c1b58..f87e3208309547131a26f250e9a413b15a0557ba 100644 (file)
@@ -1,7 +1,8 @@
 /*
  * Device Tree Source commonly used by UniPhier ARM SoCs
  *
- * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
@@ -9,6 +10,11 @@
 /include/ "skeleton.dtsi"
 
 / {
+       psci {
+               compatible = "arm,psci-0.2";
+               method = "smc";
+       };
+
        clocks {
                refclk: ref {
                        #clock-cells = <0>;
similarity index 78%
rename from arch/arm/dts/uniphier-ph1-ld11-ref.dts
rename to arch/arm/dts/uniphier-ld11-ref.dts
index ca310267380431e3b704ee8637c15a9614c6f5ab..ea1119897682378e3fa442c5638ce1ca01043c82 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Device Tree Source for UniPhier PH1-LD11 Reference Board
+ * Device Tree Source for UniPhier LD11 Reference Board
  *
  * Copyright (C) 2016 Socionext Inc.
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
@@ -8,12 +8,13 @@
  */
 
 /dts-v1/;
-/include/ "uniphier-ph1-ld11.dtsi"
+/include/ "uniphier-ld11.dtsi"
+/include/ "uniphier-ref-daughter.dtsi"
 /include/ "uniphier-support-card.dtsi"
 
 / {
-       model = "UniPhier PH1-LD11 Reference Board";
-       compatible = "socionext,ph1-ld11-ref", "socionext,ph1-ld11";
+       model = "UniPhier LD11 Reference Board";
+       compatible = "socionext,uniphier-ld11-ref", "socionext,uniphier-ld11";
 
        aliases {
                serial0 = &serial0;
similarity index 93%
rename from arch/arm/dts/uniphier-ph1-ld11.dtsi
rename to arch/arm/dts/uniphier-ld11.dtsi
index 0bdbbddd9dde20aef63026172eb275d118ac6b27..a95cb6e97bd14bfec5be3a756251ac1decccf329 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Device Tree Source for UniPhier PH1-LD11 SoC
+ * Device Tree Source for UniPhier LD11 SoC
  *
  * Copyright (C) 2016 Socionext Inc.
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
@@ -10,7 +10,7 @@
 /memreserve/ 0x80000000 0x00000008;    /* cpu-release-addr */
 
 / {
-       compatible = "socionext,ph1-ld11";
+       compatible = "socionext,uniphier-ld11";
        #address-cells = <2>;
        #size-cells = <2>;
        interrupt-parent = <&gic>;
                        interrupts = <0 243 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb0>;
-                       clocks = <&mio_clk 3>, <&mio_clk 6>;
+                       clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>;
+                       resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
+                                <&mio_rst 12>;
                };
 
                usb1: usb@5a810100 {
                        interrupts = <0 244 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb1>;
-                       clocks = <&mio_clk 4>, <&mio_clk 6>;
+                       clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>;
+                       resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
+                                <&mio_rst 13>;
                };
 
                usb2: usb@5a820100 {
                        interrupts = <0 245 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb2>;
-                       clocks = <&mio_clk 5>, <&mio_clk 6>;
+                       clocks = <&mio_clk 7>, <&mio_clk 10>, <&mio_clk 14>;
+                       resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
+                                <&mio_rst 14>;
                };
 
                mioctrl@5b3e0000 {
similarity index 70%
rename from arch/arm/dts/uniphier-ph1-ld20-ref.dts
rename to arch/arm/dts/uniphier-ld20-ref.dts
index e4e8d7674900c0255dc11a5ca45d65981598d931..044e0007492c0b6206b2768d809103f6da381604 100644 (file)
@@ -1,19 +1,20 @@
 /*
- * Device Tree Source for UniPhier PH1-LD20 Reference Board
+ * Device Tree Source for UniPhier LD20 Reference Board
  *
- * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
 
 /dts-v1/;
-/include/ "uniphier-ph1-ld20.dtsi"
+/include/ "uniphier-ld20.dtsi"
 /include/ "uniphier-ref-daughter.dtsi"
 /include/ "uniphier-support-card.dtsi"
 
 / {
-       model = "UniPhier PH1-LD20 Reference Board";
-       compatible = "socionext,ph1-ld20-ref", "socionext,ph1-ld20";
+       model = "UniPhier LD20 Reference Board";
+       compatible = "socionext,uniphier-ld20-ref", "socionext,uniphier-ld20";
 
        aliases {
                serial0 = &serial0;
similarity index 96%
rename from arch/arm/dts/uniphier-ph1-ld20.dtsi
rename to arch/arm/dts/uniphier-ld20.dtsi
index 7f97f8816a4ddf51a17508d8b5ca734043fcaeba..29a84aeccdd8500ae1e71917905409189626c271 100644 (file)
@@ -1,7 +1,8 @@
 /*
- * Device Tree Source for UniPhier PH1-LD20 SoC
+ * Device Tree Source for UniPhier LD20 SoC
  *
- * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
@@ -9,7 +10,7 @@
 /memreserve/ 0x80000000 0x00000008;    /* cpu-release-addr */
 
 / {
-       compatible = "socionext,ph1-ld20";
+       compatible = "socionext,uniphier-ld20";
        #address-cells = <2>;
        #size-cells = <2>;
        interrupt-parent = <&gic>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_sd>;
                        clocks = <&mio_clk 0>;
+                       reset-names = "host";
+                       resets = <&mio_rst 0>;
                        bus-width = <4>;
                };
 
similarity index 72%
rename from arch/arm/dts/uniphier-ph1-ld4-ref.dts
rename to arch/arm/dts/uniphier-ld4-ref.dts
index 36de7e3a0f9680c1cec5b6abc52e8df69727080f..0f4bd9bda227f813ab61490cc496a8ed1920f8ea 100644 (file)
@@ -1,19 +1,20 @@
 /*
- * Device Tree Source for UniPhier PH1-LD4 Reference Board
+ * Device Tree Source for UniPhier LD4 Reference Board
  *
- * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
 
 /dts-v1/;
-/include/ "uniphier-ph1-ld4.dtsi"
+/include/ "uniphier-ld4.dtsi"
 /include/ "uniphier-ref-daughter.dtsi"
 /include/ "uniphier-support-card.dtsi"
 
 / {
-       model = "UniPhier PH1-LD4 Reference Board";
-       compatible = "socionext,ph1-ld4-ref", "socionext,ph1-ld4";
+       model = "UniPhier LD4 Reference Board";
+       compatible = "socionext,uniphier-ld4-ref", "socionext,uniphier-ld4";
 
        memory {
                device_type = "memory";
similarity index 89%
rename from arch/arm/dts/uniphier-ph1-ld4.dtsi
rename to arch/arm/dts/uniphier-ld4.dtsi
index e4884b9516c361a219c3dbcc597996e61a1bd705..9f555df652d6411cced35d598a47f06078578272 100644 (file)
@@ -1,7 +1,8 @@
 /*
- * Device Tree Source for UniPhier PH1-LD4 SoC
+ * Device Tree Source for UniPhier LD4 SoC
  *
- * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
@@ -9,7 +10,7 @@
 /include/ "uniphier-common32.dtsi"
 
 / {
-       compatible = "socionext,ph1-ld4";
+       compatible = "socionext,uniphier-ld4";
 
        cpus {
                #address-cells = <1>;
@@ -19,6 +20,7 @@
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <0>;
+                       enable-method = "psci";
                        next-level-cache = <&l2>;
                };
        };
                pinctrl-0 = <&pinctrl_sd>;
                pinctrl-1 = <&pinctrl_sd_1v8>;
                clocks = <&mio_clk 0>;
+               reset-names = "host", "bridge";
+               resets = <&mio_rst 0>, <&mio_rst 3>;
                bus-width = <4>;
        };
 
                pinctrl-0 = <&pinctrl_emmc>;
                pinctrl-1 = <&pinctrl_emmc_1v8>;
                clocks = <&mio_clk 1>;
+               reset-names = "host", "bridge", "hw-reset";
+               resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
                bus-width = <8>;
                non-removable;
        };
                interrupts = <0 80 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb0>;
-               clocks = <&mio_clk 3>, <&mio_clk 6>;
+               clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>;
+               resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
+                        <&mio_rst 12>;
        };
 
        usb1: usb@5a810100 {
                interrupts = <0 81 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb1>;
-               clocks = <&mio_clk 4>, <&mio_clk 6>;
+               clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>;
+               resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
+                        <&mio_rst 13>;
        };
 
        usb2: usb@5a820100 {
                interrupts = <0 82 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb2>;
-               clocks = <&mio_clk 5>, <&mio_clk 6>;
+               clocks = <&mio_clk 7>, <&mio_clk 10>, <&mio_clk 14>;
+               resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
+                        <&mio_rst 14>;
        };
 
        aidet@61830000 {
similarity index 73%
rename from arch/arm/dts/uniphier-ph1-ld6b-ref.dts
rename to arch/arm/dts/uniphier-ld6b-ref.dts
index e29a6ea841f1d6ea6c6c964d96d339cec85fde3a..4da3c63f7367b038a45f084e79ceda9135a4e2ff 100644 (file)
@@ -1,19 +1,20 @@
 /*
- * Device Tree Source for UniPhier PH1-LD6b Reference Board
+ * Device Tree Source for UniPhier LD6b Reference Board
  *
- * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /dts-v1/;
-/include/ "uniphier-ph1-ld6b.dtsi"
+/include/ "uniphier-ld6b.dtsi"
 /include/ "uniphier-ref-daughter.dtsi"
 /include/ "uniphier-support-card.dtsi"
 
 / {
-       model = "UniPhier PH1-LD6b Reference Board";
-       compatible = "socionext,ph1-ld6b-ref", "socionext,ph1-ld6b";
+       model = "UniPhier LD6b Reference Board";
+       compatible = "socionext,uniphier-ld6b-ref", "socionext,uniphier-ld6b";
 
        memory {
                device_type = "memory";
diff --git a/arch/arm/dts/uniphier-ld6b.dtsi b/arch/arm/dts/uniphier-ld6b.dtsi
new file mode 100644 (file)
index 0000000..9870047
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * Device Tree Source for UniPhier LD6b SoC
+ *
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
+ *
+ * SPDX-License-Identifier:    GPL-2.0+        X11
+ */
+
+/*
+ * LD6b consists of two silicon dies: D-chip and A-chip.
+ * The D-chip (digital chip) is the same as the PXs2 die.
+ * Reuse the PXs2 device tree with some properties overridden.
+ */
+/include/ "uniphier-pxs2.dtsi"
+
+/ {
+       compatible = "socionext,uniphier-ld6b";
+};
+
+/* UART3 unavailable: the pads are not wired to the package balls */
+&serial3 {
+       status = "disabled";
+};
+
+/*
+ * LD6b and PXs2 have completely different packages,
+ * which makes the pinctrl driver unshareable.
+ */
+&pinctrl {
+       compatible = "socionext,uniphier-ld6b-pinctrl";
+};
diff --git a/arch/arm/dts/uniphier-ph1-ld6b.dtsi b/arch/arm/dts/uniphier-ph1-ld6b.dtsi
deleted file mode 100644 (file)
index e8110ee..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Device Tree Source for UniPhier PH1-LD6b SoC
- *
- * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+        X11
- */
-
-/*
- * PH1-LD6b consists of two silicon dies: D-chip and A-chip.
- * The D-chip (digital chip) is the same as the ProXstream2 die.
- * Reuse the ProXstream2 device tree with some properties overridden.
- */
-/include/ "uniphier-proxstream2.dtsi"
-
-/ {
-       compatible = "socionext,ph1-ld6b";
-};
-
-/* UART3 unavailable: the pads are not wired to the package balls */
-&serial3 {
-       status = "disabled";
-};
-
-/*
- * PH1-LD6b and ProXstream2 have completely different packages,
- * which makes the pinctrl driver unshareable.
- */
-&pinctrl {
-       compatible = "socionext,uniphier-ld6b-pinctrl";
-};
similarity index 72%
rename from arch/arm/dts/uniphier-ph1-pro4-ace.dts
rename to arch/arm/dts/uniphier-pro4-ace.dts
index d8740cc9d33f3a2d8f536719a0f3654ad187a52e..f70bc82e25735ff4130022158e0725728738cbba 100644 (file)
@@ -1,17 +1,18 @@
 /*
- * Device Tree Source for UniPhier PH1-Pro4 Ace Board
+ * Device Tree Source for UniPhier Pro4 Ace Board
  *
- * Copyright (C) 2016 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
 
 /dts-v1/;
-/include/ "uniphier-ph1-pro4.dtsi"
+/include/ "uniphier-pro4.dtsi"
 
 / {
-       model = "UniPhier PH1-Pro4 Ace Board";
-       compatible = "socionext,ph1-pro4-ace", "socionext,ph1-pro4";
+       model = "UniPhier Pro4 Ace Board";
+       compatible = "socionext,uniphier-pro4-ace", "socionext,uniphier-pro4";
 
        memory {
                device_type = "memory";
@@ -50,8 +51,8 @@
 &i2c0 {
        status = "okay";
 
-       eeprom {
-               compatible = "24c64", "i2c-eeprom";
+       eeprom@54 {
+               compatible = "st,24c64", "i2c-eeprom";
                reg = <0x54>;
                u-boot,i2c-offset-len = <2>;
        };
similarity index 74%
rename from arch/arm/dts/uniphier-ph1-pro4-ref.dts
rename to arch/arm/dts/uniphier-pro4-ref.dts
index 4a2de08e0668b357dd42f03060a59f73c0cabcd7..2d49b3e831ad6c52c1aa9904dd7d80ef1e21278b 100644 (file)
@@ -1,19 +1,20 @@
 /*
- * Device Tree Source for UniPhier PH1-Pro4 Reference Board
+ * Device Tree Source for UniPhier Pro4 Reference Board
  *
- * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
 
 /dts-v1/;
-/include/ "uniphier-ph1-pro4.dtsi"
+/include/ "uniphier-pro4.dtsi"
 /include/ "uniphier-ref-daughter.dtsi"
 /include/ "uniphier-support-card.dtsi"
 
 / {
-       model = "UniPhier PH1-Pro4 Reference Board";
-       compatible = "socionext,ph1-pro4-ref", "socionext,ph1-pro4";
+       model = "UniPhier Pro4 Reference Board";
+       compatible = "socionext,uniphier-pro4-ref", "socionext,uniphier-pro4";
 
        memory {
                device_type = "memory";
similarity index 73%
rename from arch/arm/dts/uniphier-ph1-pro4-sanji.dts
rename to arch/arm/dts/uniphier-pro4-sanji.dts
index 3f178d239add6587d5443d4a1c406b97714a1e1a..d43f725b39a05654c26fa814e19ff8c0bb182d79 100644 (file)
@@ -1,17 +1,18 @@
 /*
- * Device Tree Source for UniPhier PH1-Pro4 Sanji Board
+ * Device Tree Source for UniPhier Pro4 Sanji Board
  *
- * Copyright (C) 2016 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
 
 /dts-v1/;
-/include/ "uniphier-ph1-pro4.dtsi"
+/include/ "uniphier-pro4.dtsi"
 
 / {
-       model = "UniPhier PH1-Pro4 Sanji Board";
-       compatible = "socionext,ph1-pro4-sanji", "socionext,ph1-pro4";
+       model = "UniPhier Pro4 Sanji Board";
+       compatible = "socionext,uniphier-pro4-sanji", "socionext,uniphier-pro4";
 
        memory {
                device_type = "memory";
@@ -45,8 +46,8 @@
 &i2c0 {
        status = "okay";
 
-       eeprom {
-               compatible = "24c64", "i2c-eeprom";
+       eeprom@54 {
+               compatible = "st,24c64", "i2c-eeprom";
                reg = <0x54>;
                u-boot,i2c-offset-len = <2>;
        };
similarity index 93%
rename from arch/arm/dts/uniphier-ph1-pro4.dtsi
rename to arch/arm/dts/uniphier-pro4.dtsi
index 192ce841e1379809c9efae5b456f066bbd1a507a..aa80ea4801f26ba20fdd96399038bb3fbf85ded4 100644 (file)
@@ -1,7 +1,8 @@
 /*
- * Device Tree Source for UniPhier PH1-Pro4 SoC
+ * Device Tree Source for UniPhier Pro4 SoC
  *
- * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
 /include/ "uniphier-common32.dtsi"
 
 / {
-       compatible = "socionext,ph1-pro4";
+       compatible = "socionext,uniphier-pro4";
 
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
-               enable-method = "socionext,uniphier-smp";
 
                cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <0>;
+                       enable-method = "psci";
                        next-level-cache = <&l2>;
                };
 
@@ -27,6 +28,7 @@
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <1>;
+                       enable-method = "psci";
                        next-level-cache = <&l2>;
                };
        };
                pinctrl-0 = <&pinctrl_sd>;
                pinctrl-1 = <&pinctrl_sd_1v8>;
                clocks = <&mio_clk 0>;
+               reset-names = "host", "bridge";
+               resets = <&mio_rst 0>, <&mio_rst 3>;
                bus-width = <4>;
        };
 
                pinctrl-0 = <&pinctrl_emmc>;
                pinctrl-1 = <&pinctrl_emmc_1v8>;
                clocks = <&mio_clk 1>;
+               reset-names = "host", "bridge", "hw-reset";
+               resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
                bus-width = <8>;
                non-removable;
        };
                pinctrl-0 = <&pinctrl_sd1>;
                pinctrl-1 = <&pinctrl_sd1_1v8>;
                clocks = <&mio_clk 2>;
+               resets = <&mio_rst 2>, <&mio_rst 5>;
                bus-width = <4>;
        };
 
                interrupts = <0 80 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb2>;
-               clocks = <&mio_clk 3>, <&mio_clk 6>;
+               clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>;
+               resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
+                        <&mio_rst 12>;
        };
 
        usb3: usb@5a810100 {
                interrupts = <0 81 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb3>;
-               clocks = <&mio_clk 4>, <&mio_clk 6>;
+               clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>;
+               resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
+                        <&mio_rst 13>;
        };
 
        aidet@5fc20000 {
similarity index 64%
rename from arch/arm/dts/uniphier-ph1-pro5-4kbox.dts
rename to arch/arm/dts/uniphier-pro5-4kbox.dts
index 682b7958fa2573dacc1a19321c4456b01c053da6..ffc21a7c500c5ab817b0f776c4554fd084d86069 100644 (file)
@@ -1,17 +1,18 @@
 /*
- * Device Tree Source for UniPhier PH1-Pro5 4KBOX Board (EVB-Pro5-4KBOX-M-V0)
+ * Device Tree Source for UniPhier Pro5 4KBOX Board (EVB-Pro5-4KBOX-M-V0)
  *
- * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /dts-v1/;
-/include/ "uniphier-ph1-pro5.dtsi"
+/include/ "uniphier-pro5.dtsi"
 
 / {
-       model = "UniPhier PH1-Pro5 4KBOX Board";
-       compatible = "socionext,ph1-pro5-4kbox", "socionext,ph1-pro5";
+       model = "UniPhier Pro5 4KBOX Board";
+       compatible = "socionext,uniphier-pro5-4kbox", "socionext,uniphier-pro5";
 
        memory {
                device_type = "memory";
similarity index 96%
rename from arch/arm/dts/uniphier-ph1-pro5.dtsi
rename to arch/arm/dts/uniphier-pro5.dtsi
index 22a70b1a601ce04578ea5cf4123cd141d34ad6e8..97edc89a9cc89916ed1950312f91fda28d4ae134 100644 (file)
@@ -1,7 +1,8 @@
 /*
- * Device Tree Source for UniPhier PH1-Pro5 SoC
+ * Device Tree Source for UniPhier Pro5 SoC
  *
- * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
 /include/ "uniphier-common32.dtsi"
 
 / {
-       compatible = "socionext,ph1-pro5";
+       compatible = "socionext,uniphier-pro5";
 
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
-               enable-method = "socionext,uniphier-smp";
 
                cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <0>;
+                       enable-method = "psci";
                        next-level-cache = <&l2>;
                };
 
@@ -27,6 +28,7 @@
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <1>;
+                       enable-method = "psci";
                        next-level-cache = <&l2>;
                };
        };
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_emmc>;
                clocks = <&mio_clk 1>;
+               reset-names = "host", "hw-reset";
+               resets = <&mio_rst 1>, <&mio_rst 6>;
                bus-width = <8>;
                non-removable;
        };
                pinctrl-0 = <&pinctrl_sd>;
                pinctrl-1 = <&pinctrl_sd_1v8>;
                clocks = <&mio_clk 0>;
+               reset-names = "host";
+               resets = <&mio_rst 0>;
                bus-width = <4>;
        };
 
similarity index 69%
rename from arch/arm/dts/uniphier-proxstream2-gentil.dts
rename to arch/arm/dts/uniphier-pxs2-gentil.dts
index 7233dc67ab3ffcb80ea750240c89b47c3dfb5e56..a98e758f031902c012e9b8f41970179a8fb38551 100644 (file)
@@ -1,17 +1,19 @@
 /*
- * Device Tree Source for UniPhier ProXstream2 Gentil Board
+ * Device Tree Source for UniPhier PXs2 Gentil Board
  *
- * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /dts-v1/;
-/include/ "uniphier-proxstream2.dtsi"
+/include/ "uniphier-pxs2.dtsi"
 
 / {
-       model = "UniPhier ProXstream2 Gentil Board";
-       compatible = "socionext,proxstream2-gentil", "socionext,proxstream2";
+       model = "UniPhier PXs2 Gentil Board";
+       compatible = "socionext,uniphier-pxs2-gentil",
+                    "socionext,uniphier-pxs2";
 
        memory {
                device_type = "memory";
@@ -41,8 +43,8 @@
 &i2c0 {
        status = "okay";
 
-       eeprom {
-               compatible = "24c64", "i2c-eeprom";
+       eeprom@54 {
+               compatible = "st,24c64", "i2c-eeprom";
                reg = <0x54>;
                u-boot,i2c-offset-len = <2>;
        };
similarity index 69%
rename from arch/arm/dts/uniphier-proxstream2-vodka.dts
rename to arch/arm/dts/uniphier-pxs2-vodka.dts
index 30ea27034c696aa16313447ab2314dff5296b5fe..78a52a8f18f16f5baf810aa8017a207347b630e1 100644 (file)
@@ -1,17 +1,18 @@
 /*
- * Device Tree Source for UniPhier ProXstream2 Vodka Board
+ * Device Tree Source for UniPhier PXs2 Vodka Board
  *
- * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /dts-v1/;
-/include/ "uniphier-proxstream2.dtsi"
+/include/ "uniphier-pxs2.dtsi"
 
 / {
-       model = "UniPhier ProXstream2 Vodka Board";
-       compatible = "socionext,proxstream2-vodka", "socionext,proxstream2";
+       model = "UniPhier PXs2 Vodka Board";
+       compatible = "socionext,uniphier-pxs2-vodka", "socionext,uniphier-pxs2";
 
        memory {
                device_type = "memory";
similarity index 95%
rename from arch/arm/dts/uniphier-proxstream2.dtsi
rename to arch/arm/dts/uniphier-pxs2.dtsi
index 609cbaa9d7c77cdef6df66168999dec1539554e4..b64107b3dd4af1a61f779d3d5fd3374c3b29800b 100644 (file)
@@ -1,7 +1,8 @@
 /*
- * Device Tree Source for UniPhier ProXstream2 SoC
+ * Device Tree Source for UniPhier PXs2 SoC
  *
- * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
 /include/ "uniphier-common32.dtsi"
 
 / {
-       compatible = "socionext,proxstream2";
+       compatible = "socionext,uniphier-pxs2";
 
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
-               enable-method = "socionext,uniphier-smp";
 
                cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <0>;
+                       enable-method = "psci";
                        next-level-cache = <&l2>;
                };
 
@@ -27,6 +28,7 @@
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <1>;
+                       enable-method = "psci";
                        next-level-cache = <&l2>;
                };
 
@@ -34,6 +36,7 @@
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <2>;
+                       enable-method = "psci";
                        next-level-cache = <&l2>;
                };
 
@@ -41,6 +44,7 @@
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <3>;
+                       enable-method = "psci";
                        next-level-cache = <&l2>;
                };
        };
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_emmc>;
                clocks = <&mio_clk 1>;
+               reset-names = "host", "hw-reset";
+               resets = <&mio_rst 1>, <&mio_rst 6>;
                bus-width = <8>;
                non-removable;
        };
                pinctrl-0 = <&pinctrl_sd>;
                pinctrl-1 = <&pinctrl_sd_1v8>;
                clocks = <&mio_clk 0>;
+               reset-names = "host";
+               resets = <&mio_rst 0>;
                bus-width = <4>;
        };
 
similarity index 76%
rename from arch/arm/dts/uniphier-ph1-sld3-ref.dts
rename to arch/arm/dts/uniphier-sld3-ref.dts
index 116e571e4e4cf83771790389e8ecb87f09604e89..f35500d4bba51e32711804fc1268d197110d29e1 100644 (file)
@@ -1,19 +1,20 @@
 /*
- * Device Tree Source for UniPhier PH1-sLD3 Reference Board
+ * Device Tree Source for UniPhier sLD3 Reference Board
  *
- * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
 
 /dts-v1/;
-/include/ "uniphier-ph1-sld3.dtsi"
+/include/ "uniphier-sld3.dtsi"
 /include/ "uniphier-ref-daughter.dtsi"
 /include/ "uniphier-support-card.dtsi"
 
 / {
-       model = "UniPhier PH1-sLD3 Reference Board";
-       compatible = "socionext,ph1-sld3-ref", "socionext,ph1-sld3";
+       model = "UniPhier sLD3 Reference Board";
+       compatible = "socionext,uniphier-sld3-ref", "socionext,uniphier-sld3";
 
        memory {
                device_type = "memory";
similarity index 87%
rename from arch/arm/dts/uniphier-ph1-sld3.dtsi
rename to arch/arm/dts/uniphier-sld3.dtsi
index a554b086e8164bd1fcb81119c94d5a0dbf56a0c7..f5c54875348a7811a0afb0b6b86aee322c65d46c 100644 (file)
@@ -1,7 +1,8 @@
 /*
- * Device Tree Source for UniPhier PH1-sLD3 SoC
+ * Device Tree Source for UniPhier sLD3 SoC
  *
- * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
 /include/ "skeleton.dtsi"
 
 / {
-       compatible = "socionext,ph1-sld3";
+       compatible = "socionext,uniphier-sld3";
 
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
-               enable-method = "socionext,uniphier-smp";
 
                cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <0>;
+                       enable-method = "psci";
+                       next-level-cache = <&l2>;
                };
 
                cpu@1 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <1>;
+                       enable-method = "psci";
+                       next-level-cache = <&l2>;
                };
        };
 
+       psci {
+               compatible = "arm,psci-0.2";
+               method = "smc";
+       };
+
        clocks {
                refclk: ref {
                        #clock-cells = <0>;
                              <0x20000100 0x100>;
                };
 
+               l2: l2-cache@500c0000 {
+                       compatible = "socionext,uniphier-system-cache";
+                       reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
+                             <0x506c0000 0x400>;
+                       interrupts = <0 174 4>, <0 175 4>;
+                       cache-unified;
+                       cache-size = <(512 * 1024)>;
+                       cache-sets = <256>;
+                       cache-line-size = <128>;
+                       cache-level = <2>;
+               };
+
                serial0: serial@54006800 {
                        compatible = "socionext,uniphier-uart";
                        status = "disabled";
 
                system_bus: system-bus@58c00000 {
                        compatible = "socionext,uniphier-system-bus";
+                       status = "disabled";
                        reg = <0x58c00000 0x400>;
                        #address-cells = <2>;
                        #size-cells = <1>;
                        pinctrl-0 = <&pinctrl_emmc>;
                        pinctrl-1 = <&pinctrl_emmc_1v8>;
                        clocks = <&mio_clk 1>;
+                       resets = <&mio_rst 1>, <&mio_rst 4>;
                        bus-width = <8>;
                        non-removable;
                };
                        pinctrl-0 = <&pinctrl_sd>;
                        pinctrl-1 = <&pinctrl_sd_1v8>;
                        clocks = <&mio_clk 0>;
+                       resets = <&mio_rst 0>, <&mio_rst 3>;
                        bus-width = <4>;
                };
 
                        interrupts = <0 80 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb0>;
-                       clocks = <&mio_clk 3>, <&mio_clk 6>;
+                       clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>;
+                       resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
+                                <&mio_rst 12>;
                };
 
                usb1: usb@5a810100 {
                        interrupts = <0 81 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb1>;
-                       clocks = <&mio_clk 4>, <&mio_clk 6>;
+                       clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>;
+                       resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
+                                <&mio_rst 13>;
                };
 
                usb2: usb@5a820100 {
                        interrupts = <0 82 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb2>;
-                       clocks = <&mio_clk 5>, <&mio_clk 6>;
+                       clocks = <&mio_clk 7>, <&mio_clk 10>, <&mio_clk 14>;
+                       resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
+                                <&mio_rst 14>;
                };
 
                usb3: usb@5a830100 {
                        interrupts = <0 83 4>;
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_usb3>;
-                       clocks = <&mio_clk 7>, <&mio_clk 6>;
+                       clocks = <&mio_clk 7>, <&mio_clk 11>, <&mio_clk 15>;
+                       resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 11>,
+                                <&mio_rst 15>;
                };
 
                soc-glue@5f800000 {
similarity index 73%
rename from arch/arm/dts/uniphier-ph1-sld8-ref.dts
rename to arch/arm/dts/uniphier-sld8-ref.dts
index 9af012cab79ea0c048ddb16cfb8915982c53e6d2..6c0544b908ed2d90e7bba91a1f731a558855e770 100644 (file)
@@ -1,19 +1,20 @@
 /*
- * Device Tree Source for UniPhier PH1-sLD8 Reference Board
+ * Device Tree Source for UniPhier sLD8 Reference Board
  *
- * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
 
 /dts-v1/;
-/include/ "uniphier-ph1-sld8.dtsi"
+/include/ "uniphier-sld8.dtsi"
 /include/ "uniphier-ref-daughter.dtsi"
 /include/ "uniphier-support-card.dtsi"
 
 / {
-       model = "UniPhier PH1-sLD8 Reference Board";
-       compatible = "socionext,ph1-sld8-ref", "socionext,ph1-sld8";
+       model = "UniPhier sLD8 Reference Board";
+       compatible = "socionext,uniphier-sld8-ref", "socionext,uniphier-sld8";
 
        memory {
                device_type = "memory";
similarity index 89%
rename from arch/arm/dts/uniphier-ph1-sld8.dtsi
rename to arch/arm/dts/uniphier-sld8.dtsi
index 1ecce5030f65eb5e9b7329d653c5c0d1a7aaf422..b8f6d674095778cffd63a1d26750ee330291f876 100644 (file)
@@ -1,7 +1,8 @@
 /*
- * Device Tree Source for UniPhier PH1-sLD8 SoC
+ * Device Tree Source for UniPhier sLD8 SoC
  *
- * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  *
  * SPDX-License-Identifier:    GPL-2.0+        X11
  */
@@ -9,7 +10,7 @@
 /include/ "uniphier-common32.dtsi"
 
 / {
-       compatible = "socionext,ph1-sld8";
+       compatible = "socionext,uniphier-sld8";
 
        cpus {
                #address-cells = <1>;
@@ -19,6 +20,7 @@
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <0>;
+                       enable-method = "psci";
                        next-level-cache = <&l2>;
                };
        };
                pinctrl-0 = <&pinctrl_sd>;
                pinctrl-1 = <&pinctrl_sd_1v8>;
                clocks = <&mio_clk 0>;
+               reset-names = "host", "bridge";
+               resets = <&mio_rst 0>, <&mio_rst 3>;
                bus-width = <4>;
        };
 
                pinctrl-0 = <&pinctrl_emmc>;
                pinctrl-1 = <&pinctrl_emmc_1v8>;
                clocks = <&mio_clk 1>;
+               reset-names = "host", "bridge", "hw-reset";
+               resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
                bus-width = <8>;
                non-removable;
        };
                interrupts = <0 80 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb0>;
-               clocks = <&mio_clk 3>, <&mio_clk 6>;
+               clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>;
+               resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
+                        <&mio_rst 12>;
        };
 
        usb1: usb@5a810100 {
                interrupts = <0 81 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb1>;
-               clocks = <&mio_clk 4>, <&mio_clk 6>;
+               clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>;
+               resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
+                        <&mio_rst 13>;
        };
 
        usb2: usb@5a820100 {
                interrupts = <0 82 4>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_usb2>;
-               clocks = <&mio_clk 5>, <&mio_clk 6>;
+               clocks = <&mio_clk 7>, <&mio_clk 10>, <&mio_clk 14>;
+               resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
+                        <&mio_rst 14>;
        };
 
        aidet@61830000 {
index 79b1d2013a0e97c64f16729122acf44efc200d7a..059645171a721abb56edd43f5dad7ad3e9da320c 100644 (file)
@@ -250,35 +250,35 @@ struct uniphier_board_id {
 
 static const struct uniphier_board_id uniphier_boards[] = {
 #if defined(CONFIG_ARCH_UNIPHIER_SLD3)
-       { "socionext,ph1-sld3", &uniphier_sld3_data, },
+       { "socionext,uniphier-sld3", &uniphier_sld3_data, },
 #endif
 #if defined(CONFIG_ARCH_UNIPHIER_LD4)
-       { "socionext,ph1-ld4", &uniphier_ld4_data, },
+       { "socionext,uniphier-ld4", &uniphier_ld4_data, },
 #endif
 #if defined(CONFIG_ARCH_UNIPHIER_PRO4)
-       { "socionext,ph1-pro4-ace", &uniphier_pro4_2g_data, },
-       { "socionext,ph1-pro4-sanji", &uniphier_pro4_2g_data, },
-       { "socionext,ph1-pro4", &uniphier_pro4_data, },
+       { "socionext,uniphier-pro4-ace", &uniphier_pro4_2g_data, },
+       { "socionext,uniphier-pro4-sanji", &uniphier_pro4_2g_data, },
+       { "socionext,uniphier-pro4", &uniphier_pro4_data, },
 #endif
 #if defined(CONFIG_ARCH_UNIPHIER_SLD8)
-       { "socionext,ph1-sld8", &uniphier_sld8_data, },
+       { "socionext,uniphier-sld8", &uniphier_sld8_data, },
 #endif
 #if defined(CONFIG_ARCH_UNIPHIER_PRO5)
-       { "socionext,ph1-pro5", &uniphier_pro5_data, },
+       { "socionext,uniphier-pro5", &uniphier_pro5_data, },
 #endif
 #if defined(CONFIG_ARCH_UNIPHIER_PXS2)
-       { "socionext,proxstream2", &uniphier_pxs2_data, },
+       { "socionext,uniphier-pxs2", &uniphier_pxs2_data, },
 #endif
 #if defined(CONFIG_ARCH_UNIPHIER_LD6B)
-       { "socionext,ph1-ld6b", &uniphier_ld6b_data, },
+       { "socionext,uniphier-ld6b", &uniphier_ld6b_data, },
 #endif
 #if defined(CONFIG_ARCH_UNIPHIER_LD11)
-       { "socionext,ph1-ld11", &uniphier_ld11_data, },
+       { "socionext,uniphier-ld11", &uniphier_ld11_data, },
 #endif
 #if defined(CONFIG_ARCH_UNIPHIER_LD20)
-       { "socionext,ph1-ld21", &uniphier_ld21_data, },
-       { "socionext,ph1-ld20-ref", &uniphier_ld20_ref_data, },
-       { "socionext,ph1-ld20", &uniphier_ld20_data, },
+       { "socionext,uniphier-ld21", &uniphier_ld21_data, },
+       { "socionext,uniphier-ld20-ref", &uniphier_ld20_ref_data, },
+       { "socionext,uniphier-ld20", &uniphier_ld20_data, },
 #endif
 };
 
index 864e04e6913c199082c3ed9d9aa7566acd362ab8..c0ac5ac048cdcbade2599494b39af976ae79cbf7 100644 (file)
@@ -5,7 +5,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_ARCH_UNIPHIER_LD11=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
-CONFIG_DEFAULT_DEVICE_TREE="uniphier-ph1-ld11-ref"
+CONFIG_DEFAULT_DEVICE_TREE="uniphier-ld11-ref"
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_XIMG is not set
index 3fe37586f0df32fb66dd4509e1a5c32cde131694..3e802d3e0841068c2a4f5799764c8ed5a6c93385 100644 (file)
@@ -5,7 +5,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_ARCH_UNIPHIER_LD20=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
-CONFIG_DEFAULT_DEVICE_TREE="uniphier-ph1-ld20-ref"
+CONFIG_DEFAULT_DEVICE_TREE="uniphier-ld20-ref"
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_XIMG is not set
index c18f04279d4311c1c2b84b5cf6a6e9fd39ce1bcd..b141561ab3ad44ac0db494efb06d2f3130dc11d2 100644 (file)
@@ -7,7 +7,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_ARCH_UNIPHIER_LD4_SLD8=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
-CONFIG_DEFAULT_DEVICE_TREE="uniphier-ph1-ld4-ref"
+CONFIG_DEFAULT_DEVICE_TREE="uniphier-ld4-ref"
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index 9441b053f1978cfc920bacd254d1912fb9de67fc..f71ef56019d1b1ec843d1d79ef1c6967c5cb82f9 100644 (file)
@@ -6,7 +6,7 @@ CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
-CONFIG_DEFAULT_DEVICE_TREE="uniphier-ph1-pro4-ref"
+CONFIG_DEFAULT_DEVICE_TREE="uniphier-pro4-ref"
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index 0bf39f4e256b033a8216b4130b7f2ca7dffd19d7..ba3867f06ac9bfffd3e26b2404680ddfe2baa5a0 100644 (file)
@@ -7,7 +7,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_ARCH_UNIPHIER_PRO5_PXS2_LD6B=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
-CONFIG_DEFAULT_DEVICE_TREE="uniphier-proxstream2-vodka"
+CONFIG_DEFAULT_DEVICE_TREE="uniphier-pxs2-vodka"
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index bd9c327e92c31f1893645a61abe93606100a99cb..3568f7a635e7233fcf3e5aaebfc89a8986f8783b 100644 (file)
@@ -7,7 +7,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_ARCH_UNIPHIER_SLD3=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
-CONFIG_DEFAULT_DEVICE_TREE="uniphier-ph1-sld3-ref"
+CONFIG_DEFAULT_DEVICE_TREE="uniphier-sld3-ref"
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index 49045a02188aa214bf1bcd555747e5bc28f92733..598ff28ccdf28ce46363689b5fba276a579a5d35 100644 (file)
@@ -28,45 +28,45 @@ Tested toolchains
 Compile the source
 ------------------
 
-PH1-sLD3 reference board:
+sLD3 reference board:
     $ make uniphier_sld3_defconfig
     $ make CROSS_COMPILE=arm-linux-gnueabi-
 
-PH1-LD4 reference board:
+LD4 reference board:
     $ make uniphier_ld4_sld8_defconfig
     $ make CROSS_COMPILE=arm-linux-gnueabi-
 
-PH1-sLD8 reference board:
+sLD8 reference board:
     $ make uniphier_ld4_sld8_defconfig
-    $ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-ph1-sld8-ref
+    $ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-sld8-ref
 
-PH1-Pro4 reference board:
+Pro4 reference board:
     $ make uniphier_pro4_defconfig
     $ make CROSS_COMPILE=arm-linux-gnueabi-
 
-PH1-Pro4 Ace board:
+Pro4 Ace board:
     $ make uniphier_pro4_defconfig
-    $ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-ph1-pro4-ace
+    $ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-pro4-ace
 
-PH1-Pro4 Sanji board:
+Pro4 Sanji board:
     $ make uniphier_pro4_defconfig
-    $ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-ph1-pro4-sanji
+    $ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-pro4-sanji
 
-PH1-Pro5 4KBOX Board:
+Pro5 4KBOX Board:
     $ make uniphier_pxs2_ld6b_defconfig
-    $ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-ph1-pro5-4kbox
+    $ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-pro5-4kbox
 
-ProXstream2 Gentil board:
+PXs2 Gentil board:
     $ make uniphier_pxs2_ld6b_defconfig
-    $ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-proxstream2-gentil
+    $ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-pxs2-gentil
 
-ProXstream2 Vodka board:
+PXs2 Vodka board:
     $ make uniphier_pxs2_ld6b_defconfig
     $ make CROSS_COMPILE=arm-linux-gnueabi-
 
-PH1-LD6b reference board:
+LD6b reference board:
     $ make uniphier_pxs2_ld6b_defconfig
-    $ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-ph1-ld6b-ref
+    $ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-ld6b-ref
 
 You may wish to change the "CROSS_COMPILE=arm-linux-gnueabi-"
 to use your favorite compiler.