aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wu <wulf@rock-chips.com>2016-11-07 07:08:49 -0500
committerHeiko Stuebner <heiko@sntech.de>2016-11-15 10:22:24 -0500
commitfe7f2de1c6ca27548559f75e34682506dea6bd07 (patch)
treebb8f0a4ba12f5f7e8664b317b3b9f6f8e0ab657c
parent1bc60beec02d3b3ce87209bda69c2d94630beb6e (diff)
arm64: dts: rockchip: add usb2-phy otg-port support for rk3399
Add otg-port nodes for both u2phy0 and u2phy1. The otg-port can be used for USB2.0 part of USB3.0 OTG controller. Signed-off-by: William Wu <wulf@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index fc30b57ac557..0ee4220ddf08 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -1128,6 +1128,16 @@
1128 interrupt-names = "linestate"; 1128 interrupt-names = "linestate";
1129 status = "disabled"; 1129 status = "disabled";
1130 }; 1130 };
1131
1132 u2phy0_otg: otg-port {
1133 #phy-cells = <0>;
1134 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH 0>,
1135 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH 0>,
1136 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>;
1137 interrupt-names = "otg-bvalid", "otg-id",
1138 "linestate";
1139 status = "disabled";
1140 };
1131 }; 1141 };
1132 1142
1133 u2phy1: usb2-phy@e460 { 1143 u2phy1: usb2-phy@e460 {
@@ -1145,6 +1155,16 @@
1145 interrupt-names = "linestate"; 1155 interrupt-names = "linestate";
1146 status = "disabled"; 1156 status = "disabled";
1147 }; 1157 };
1158
1159 u2phy1_otg: otg-port {
1160 #phy-cells = <0>;
1161 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH 0>,
1162 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH 0>,
1163 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH 0>;
1164 interrupt-names = "otg-bvalid", "otg-id",
1165 "linestate";
1166 status = "disabled";
1167 };
1148 }; 1168 };
1149 1169
1150 emmc_phy: phy@f780 { 1170 emmc_phy: phy@f780 {