From: Frank Wang Date: Wed, 16 Mar 2016 06:54:28 +0000 (+0800) Subject: ARM64: dts: rockchip: add USB2.0 host nodes for rk3399 X-Git-Tag: firefly_0821_release~3173 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9dd79fc5029f5f96899851108520393648f8d073;p=firefly-linux-kernel-4.4.55.git ARM64: dts: rockchip: add USB2.0 host nodes for rk3399 Change-Id: Id18a8b43210e439add8c5af8a18a3a62e0d06cc9 Signed-off-by: Frank Wang --- diff --git a/arch/arm64/boot/dts/rockchip/rk3399-tb.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-tb.dtsi index 9f272c1f245c..dcbefc4cc07d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-tb.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-tb.dtsi @@ -60,3 +60,18 @@ status = "okay"; }; +&usb_host0_echi { + status = "okay"; +}; + +&usb_host0_ohci { + status = "okay"; +}; + +&usb_host1_echi { + status = "okay"; +}; + +&usb_host1_ohci { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 15455af384c1..ea4226f7b99f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -507,6 +507,42 @@ status = "disabled"; }; + usb_host0_echi: usb@fe380000 { + compatible = "generic-ehci"; + reg = <0x0 0xfe380000 0x0 0x20000>; + interrupts = ; + clocks = <&cru HCLK_HOST0>; + clock-names = "hclk_host0"; + status = "disabled"; + }; + + usb_host0_ohci: usb@fe3a0000 { + compatible = "generic-ohci"; + reg = <0x0 0xfe3a0000 0x0 0x20000>; + interrupts = ; + clocks = <&cru HCLK_HOST0>; + clock-names = "hclk_host0"; + status = "disabled"; + }; + + usb_host1_echi: usb@fe3c0000 { + compatible = "generic-ehci"; + reg = <0x0 0xfe3c0000 0x0 0x20000>; + interrupts = ; + clocks = <&cru HCLK_HOST1>; + clock-names = "hclk_host1"; + status = "disabled"; + }; + + usb_host1_ohci: usb@fe3e0000 { + compatible = "generic-ohci"; + reg = <0x0 0xfe3e0000 0x0 0x20000>; + interrupts = ; + clocks = <&cru HCLK_HOST1>; + clock-names = "hclk_host1"; + status = "disabled"; + }; + i2c4: i2c@ff3d0000 { compatible = "rockchip,rk3399-i2c", "rockchip,rk3288-i2c"; reg = <0x0 0xff3d0000 0x0 0x1000>;