[U-Boot] [PATCH 2/2] ARM: dts: uniphier: add USB xHCI nodes for PH1-Pro5 and ProXstream2

Masahiro Yamada yamada.masahiro at socionext.com
Wed Nov 4 13:56:07 CET 2015


This makes USB3.0 available on new SoCs/boards.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 arch/arm/dts/uniphier-ph1-ld6b-ref.dts       |  8 ++++++++
 arch/arm/dts/uniphier-ph1-pro5-4kbox.dts     |  4 ++++
 arch/arm/dts/uniphier-ph1-pro5.dtsi          | 18 ++++++++++++++++++
 arch/arm/dts/uniphier-proxstream2-gentil.dts |  8 ++++++++
 arch/arm/dts/uniphier-proxstream2-vodka.dts  |  4 ++++
 arch/arm/dts/uniphier-proxstream2.dtsi       | 18 ++++++++++++++++++
 6 files changed, 60 insertions(+)

diff --git a/arch/arm/dts/uniphier-ph1-ld6b-ref.dts b/arch/arm/dts/uniphier-ph1-ld6b-ref.dts
index bd86f09..ccadd81 100644
--- a/arch/arm/dts/uniphier-ph1-ld6b-ref.dts
+++ b/arch/arm/dts/uniphier-ph1-ld6b-ref.dts
@@ -54,6 +54,14 @@
 	status = "okay";
 };
 
+&usb0 {
+	status = "okay";
+};
+
+&usb1 {
+	status = "okay";
+};
+
 /* for U-boot only */
 / {
 	soc {
diff --git a/arch/arm/dts/uniphier-ph1-pro5-4kbox.dts b/arch/arm/dts/uniphier-ph1-pro5-4kbox.dts
index 912bc27..52dd1f9 100644
--- a/arch/arm/dts/uniphier-ph1-pro5-4kbox.dts
+++ b/arch/arm/dts/uniphier-ph1-pro5-4kbox.dts
@@ -44,6 +44,10 @@
 	status = "okay";
 };
 
+&usb1 {
+	status = "okay";
+};
+
 /* for U-boot only */
 / {
 	soc {
diff --git a/arch/arm/dts/uniphier-ph1-pro5.dtsi b/arch/arm/dts/uniphier-ph1-pro5.dtsi
index a15c7b2..6f19bf8 100644
--- a/arch/arm/dts/uniphier-ph1-pro5.dtsi
+++ b/arch/arm/dts/uniphier-ph1-pro5.dtsi
@@ -210,6 +210,24 @@
 			reg = <0x60001000 0x1000>,
 			      <0x60000100 0x100>;
 		};
+
+		usb0: usb at 65a00000 {
+			compatible = "socionext,uniphier-xhci", "generic-xhci";
+			status = "disabled";
+			reg = <0x65a00000 0x100>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_usb0>;
+			interrupts = <0 134 4>;
+		};
+
+		usb1: usb at 65c00000 {
+			compatible = "socionext,uniphier-xhci", "generic-xhci";
+			status = "disabled";
+			reg = <0x65c00000 0x100>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb2>;
+			interrupts = <0 137 4>;
+		};
 	};
 };
 
diff --git a/arch/arm/dts/uniphier-proxstream2-gentil.dts b/arch/arm/dts/uniphier-proxstream2-gentil.dts
index 81d2385..d0af8ac 100644
--- a/arch/arm/dts/uniphier-proxstream2-gentil.dts
+++ b/arch/arm/dts/uniphier-proxstream2-gentil.dts
@@ -42,6 +42,14 @@
 	status = "okay";
 };
 
+&usb0 {
+	status = "okay";
+};
+
+&usb1 {
+	status = "okay";
+};
+
 /* for U-boot only */
 / {
 	soc {
diff --git a/arch/arm/dts/uniphier-proxstream2-vodka.dts b/arch/arm/dts/uniphier-proxstream2-vodka.dts
index fba7b74..92d7404 100644
--- a/arch/arm/dts/uniphier-proxstream2-vodka.dts
+++ b/arch/arm/dts/uniphier-proxstream2-vodka.dts
@@ -42,6 +42,10 @@
 	status = "okay";
 };
 
+&usb0 {
+	status = "okay";
+};
+
 /* for U-boot only */
 / {
 	soc {
diff --git a/arch/arm/dts/uniphier-proxstream2.dtsi b/arch/arm/dts/uniphier-proxstream2.dtsi
index 8b496a7..cd0cf4e 100644
--- a/arch/arm/dts/uniphier-proxstream2.dtsi
+++ b/arch/arm/dts/uniphier-proxstream2.dtsi
@@ -235,6 +235,24 @@
 			reg = <0x60001000 0x1000>,
 			      <0x60000100 0x100>;
 		};
+
+		usb0: usb at 65a00000 {
+			compatible = "socionext,uniphier-xhci", "generic-xhci";
+			status = "disabled";
+			reg = <0x65a00000 0x100>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
+			interrupts = <0 134 4>;
+		};
+
+		usb1: usb at 65c00000 {
+			compatible = "socionext,uniphier-xhci", "generic-xhci";
+			status = "disabled";
+			reg = <0x65c00000 0x100>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
+			interrupts = <0 137 4>;
+		};
 	};
 };
 
-- 
1.9.1



More information about the U-Boot mailing list