ARM64: dts: rk3366: add DT nodes for usb2.0 ehci and ohci
authorFrank Wang <frank.wang@rock-chips.com>
Fri, 4 Mar 2016 10:15:03 +0000 (18:15 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Fri, 4 Mar 2016 11:27:41 +0000 (19:27 +0800)
Change-Id: I4ade5961f0192d7ceff7c61557ddee6aba98224c
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3366-tb.dts
arch/arm64/boot/dts/rockchip/rk3366.dtsi

index 0de50e8fb17fd95ae98c132f6d591f376e5cf0fe..995a1ae22911afa3219cedbf0479a2e906109552 100644 (file)
        rockchip,usb_irq_wakeup;
 };
 
+&usb_host0_echi {
+       status = "okay";
+};
+
+&usb_host0_ohci {
+       status = "okay";
+};
+
 &usb_otg {
        clocks = <&cru SCLK_OTG_PHY0>, <&cru HCLK_OTG>;
        clock-names = "sclk_otgphy0", "otg";
index caf26320d37bb2733c143078330930698f5b01ad..4ceaa4d917c2171e13d755f579b7b0e055736792 100644 (file)
                status = "disabled";
        };
 
+       usb_host0_echi: usb@ff480000 {
+               compatible = "generic-ehci";
+               reg = <0x0 0xff480000 0x0 0x20000>;
+               interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&cru SCLK_OTG_PHY0>, <&cru HCLK_HOST>;
+               clock-names = "sclk_otgphy0", "hclk_host0";
+               status = "disabled";
+       };
+
+       usb_host0_ohci: usb@ff4a0000 {
+               compatible = "generic-ohci";
+               reg = <0x0 0xff4a0000 0x0 0x20000>;
+               interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&cru SCLK_OTG_PHY0>, <&cru HCLK_HOST>;
+               clock-names = "sclk_otgphy0", "hclk_host0";
+               status = "disabled";
+       };
+
        usb_otg: usb@ff4c0000 {
                compatible = "rockchip,rk3368-usb", "rockchip,rk3066-usb",
                             "snps,dwc2";