diff mbox

[U-Boot,5/8] rockchip: dts: rk3328: support and enable xhci

Message ID 1495016728-23280-1-git-send-email-daniel.meng@rock-chips.com
State Accepted
Commit 75ff918f83d1f8881beed640c3428994564c412c
Delegated to: Simon Glass
Headers show

Commit Message

Meng Dongyang May 17, 2017, 10:25 a.m. UTC
Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
---
 arch/arm/dts/rk3328-evb.dts |  5 +++++
 arch/arm/dts/rk3328.dtsi    | 11 +++++++++++
 2 files changed, 16 insertions(+)

Comments

Simon Glass May 22, 2017, 8:26 p.m. UTC | #1
On 17 May 2017 at 04:25, Meng Dongyang <daniel.meng@rock-chips.com> wrote:

Commit message?

> Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
> ---
>  arch/arm/dts/rk3328-evb.dts |  5 +++++
>  arch/arm/dts/rk3328.dtsi    | 11 +++++++++++
>  2 files changed, 16 insertions(+)
>

Reviewed-by: Simon Glass <sjg@chromium.org>
Simon Glass May 24, 2017, 12:47 a.m. UTC | #2
On 17 May 2017 at 04:25, Meng Dongyang <daniel.meng@rock-chips.com> wrote:

Commit message?

> Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
> ---
>  arch/arm/dts/rk3328-evb.dts |  5 +++++
>  arch/arm/dts/rk3328.dtsi    | 11 +++++++++++
>  2 files changed, 16 insertions(+)
>

Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-rockchip, thanks!
diff mbox

Patch

diff --git a/arch/arm/dts/rk3328-evb.dts b/arch/arm/dts/rk3328-evb.dts
index 9920935..b807bc5 100644
--- a/arch/arm/dts/rk3328-evb.dts
+++ b/arch/arm/dts/rk3328-evb.dts
@@ -51,3 +51,8 @@ 
 &usb_host0_ohci {
 	status = "okay";
 };
+
+&usb_host0_xhci {
+	rockchip,vbus-gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>;
+	status = "okay";
+};
diff --git a/arch/arm/dts/rk3328.dtsi b/arch/arm/dts/rk3328.dtsi
index e1219c3..f18cfc2 100644
--- a/arch/arm/dts/rk3328.dtsi
+++ b/arch/arm/dts/rk3328.dtsi
@@ -471,6 +471,17 @@ 
 		status = "disabled";
 	};
 
+	usb_host0_xhci: usb@ff600000 {
+		compatible = "rockchip,rk3328-xhci";
+		reg = <0x0 0xff600000 0x0 0x100000>;
+		interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
+		snps,dis-enblslpm-quirk;
+		snps,phyif-utmi-bits = <16>;
+		snps,dis-u2-freeclk-exists-quirk;
+		snps,dis-u2-susphy-quirk;
+		status = "disabled";
+	};
+
 	gic: interrupt-controller@ffb70000 {
 		compatible = "arm,gic-400";
 		#interrupt-cells = <3>;