1 From 96c04aab58e351fa9ed7e95783018d6dbf60768f Mon Sep 17 00:00:00 2001
2 From: Jun Nie <jun.nie@linaro.org>
3 Date: Mon, 7 May 2018 13:03:40 +0530
4 Subject: sunxi: h3: Sync OTG and HCI nodes from Linux DT
6 Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI
9 Signed-off-by: Jun Nie <jun.nie@linaro.org>
10 Reviewed-by: Jagan Teki <jagan@openedev.com>
11 Acked-by: Jun Nie <jun.nie@linaro.org>
13 arch/arm/dts/sun8i-h3.dtsi | 32 ++++++++++++++++++++++++++++++++
14 1 file changed, 32 insertions(+)
16 --- a/arch/arm/dts/sun8i-h3.dtsi
17 +++ b/arch/arm/dts/sun8i-h3.dtsi
22 + usb_otg: usb@1c19000 {
23 + compatible = "allwinner,sun8i-h3-musb";
24 + reg = <0x01c19000 0x400>;
25 + clocks = <&ccu CLK_BUS_OTG>;
26 + resets = <&ccu RST_BUS_OTG>;
27 + interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
28 + interrupt-names = "mc";
31 + extcon = <&usbphy 0>;
32 + status = "disabled";
35 usbphy: phy@01c19400 {
36 compatible = "allwinner,sun8i-h3-usb-phy";
37 reg = <0x01c19400 0x2c>,
42 + ehci0: usb@1c1a000 {
43 + compatible = "allwinner,sun8i-h3-ehci", "generic-ehci";
44 + reg = <0x01c1a000 0x100>;
45 + interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
46 + clocks = <&ccu CLK_BUS_EHCI0>, <&ccu CLK_BUS_OHCI0>;
47 + resets = <&ccu RST_BUS_EHCI0>, <&ccu RST_BUS_OHCI0>;
48 + status = "disabled";
51 + ohci0: usb@1c1a400 {
52 + compatible = "allwinner,sun8i-h3-ohci", "generic-ohci";
53 + reg = <0x01c1a400 0x100>;
54 + interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
55 + clocks = <&ccu CLK_BUS_EHCI0>, <&ccu CLK_BUS_OHCI0>,
56 + <&ccu CLK_USB_OHCI0>;
57 + resets = <&ccu RST_BUS_EHCI0>, <&ccu RST_BUS_OHCI0>;
58 + status = "disabled";
62 compatible = "allwinner,sun8i-h3-ehci", "generic-ehci";
63 reg = <0x01c1b000 0x100>;