summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Gusakov <andrey.gusakov@cogentembedded.com>2018-03-07 17:12:46 +0300
committerAndrey Gusakov <andrey.gusakov@cogentembedded.com>2018-03-07 17:12:46 +0300
commit781b63a5f56a13a7211979ab3f90d40b4c376fc9 (patch)
treee3e91a4c841e4f5343e0a6043e4dd7651aa3f1f2
parentc4cfadbe72945533232c3a35ed961fdc3afd5030 (diff)
VB2: enable USB23 (labeled "USB2") on H3 ES20
On ES1.1 this port is USB3.0. On ES2.0 this port is USB2.0
-rw-r--r--meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch36
1 files changed, 31 insertions, 5 deletions
diff --git a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch
index 99313d6..9bdc9d0 100644
--- a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch
+++ b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch
@@ -1,4 +1,4 @@
-From 9872a94a414d6d94423f52d59cb09cdb64cf2930 Mon Sep 17 00:00:00 2001
+From ed78d27af12a2637fe9ae17e96a9af35a046d486 Mon Sep 17 00:00:00 2001
From: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Date: Fri, 14 Jul 2017 15:05:42 +0300
Subject: [PATCH] arm64: dts: renesas: add ADAS boards
@@ -60,7 +60,7 @@ Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
.../arm64/boot/dts/renesas/r8a7795-h3ulcb-had.dtsi | 215 +++
arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dts | 39 +
arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-vb.dts | 68 +
- arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-vb2.dts | 68 +
+ arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-vb2.dts | 94 ++
arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-vbm.dts | 26 +
.../arm64/boot/dts/renesas/r8a7795-h3ulcb-view.dts | 544 +++++++
.../boot/dts/renesas/r8a7795-salvator-x-view.dts | 550 +++++++
@@ -95,7 +95,7 @@ Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
arch/arm64/boot/dts/renesas/ulcb-vb.dtsi | 1610 +++++++++++++++++++
arch/arm64/boot/dts/renesas/ulcb-vb2.dtsi | 1660 ++++++++++++++++++++
arch/arm64/boot/dts/renesas/ulcb-vbm.dtsi | 543 +++++++
- 60 files changed, 21117 insertions(+)
+ 60 files changed, 21143 insertions(+)
create mode 100644 arch/arm64/boot/dts/renesas/legacy/Makefile
create mode 100644 arch/arm64/boot/dts/renesas/legacy/r8a7795-es1-h3ulcb-kf-v0.dts
create mode 100644 arch/arm64/boot/dts/renesas/legacy/r8a7795-es1-h3ulcb-kf-v1.dts
@@ -8323,10 +8323,10 @@ index 0000000..330bba2
+};
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-vb2.dts b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-vb2.dts
new file mode 100644
-index 0000000..e862d3e
+index 0000000..726a2a6
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-vb2.dts
-@@ -0,0 +1,68 @@
+@@ -0,0 +1,94 @@
+/*
+ * Device Tree Source for the H3ULCB Videobox board V2 on r8a7795
+ *
@@ -8355,6 +8355,13 @@ index 0000000..e862d3e
+ };
+};
+
++&pfc {
++ usb3_pins: usb3 {
++ groups = "usb3";
++ function = "usb3";
++ };
++};
++
+&du {
+ ports {
+ port@2 {
@@ -8392,9 +8399,28 @@ index 0000000..e862d3e
+ };
+};
+
++&usb2_phy3 {
++ pinctrl-0 = <&usb3_pins>;
++ pinctrl-names = "default";
++
++ status = "okay";
++};
++
++&ehci3 {
++ status = "okay";
++};
++
++&ohci3 {
++ status = "okay";
++};
++
+&hsusb0 {
+ status = "okay";
+};
++
++&hsusb3 {
++ status = "okay";
++};
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-vbm.dts b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-vbm.dts
new file mode 100644
index 0000000..87f1889