ARM: sun6i: Enable USB Host support on the Colombus board
Subsystems (2)
PATCH 1/1 ARM: sun6i: Enable USB Host support on the Colombus board
The colombus board has a on-board USB hub, that is enabled through the pin PH24, and wired to the first EHCI controller.
--- arch/arm/boot/dts/sun6i-a31-colombus.dts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+)
arch/arm/boot/dts/sun6i-a31-colombus.dts +26 -0
@@ -13,6 +13,7 @@ /dts-v1/; /include/ "sun6i-a31.dtsi" +/include/ "sunxi-common-regulators.dtsi" / { model = "WITS A31 Colombus Evaluation Board";
@@ -23,6 +24,24 @@ }; soc at 01c00000 { + pio: pinctrl at 01c20800 { + usb2_vbus_pin_colombus: usb2_vbus_pin at 0 { + allwinner,pins = "PH24"; + allwinner,function = "gpio_out"; + allwinner,drive = <0>; + allwinner,pull = <0>; + }; + }; + + usbphy: phy at 01c19400 { + usb2_vbus-supply = <®_usb2_vbus>; + status = "okay"; + }; + + ehci1: usb at 01c1b000 { + status = "okay"; + }; + uart0: serial at 01c28000 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>;
@@ -47,4 +66,11 @@ status = "okay"; }; }; + + reg_usb2_vbus: usb2-vbus { + pinctrl-names = "default"; + pinctrl-0 = <&usb2_vbus_pin_colombus>; + gpio = <&pio 7 24 0>; + status = "okay"; + }; };
Signature · 1 line
1.9.3
PATCH 1/1 ARM: sun6i: Enable USB Host support on the Colombus board
Hi,
Quoted 2 lines · Maxime Ripard
The colombus board has a on-board USB hub, that is enabled through the pin PH24, and wired to the first EHCI controller.
ehci0 is not hooked up at all on this board ? I would expect it to go to a usb wifi card for example.
Assuming that ehci0 is not hooked up, this is:
If it is hooked up I believe both usb controllers should be enabled.
Regards,
Hans
Quoted 56 lines
Signed-off-by Maxime Ripard <[email protected]>--- arch/arm/boot/dts/sun6i-a31-colombus.dts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+)arch/arm/boot/dts/sun6i-a31-colombus.dts +26
-0@@ -13,6 +13,7 @@ /dts-v1/; /include/ "sun6i-a31.dtsi" +/include/ "sunxi-common-regulators.dtsi" / { model = "WITS A31 Colombus Evaluation Board";@@ -23,6 +24,24 @@ }; soc at 01c00000 { + pio: pinctrl at 01c20800 { + usb2_vbus_pin_colombus: usb2_vbus_pin at 0 { + allwinner,pins = "PH24"; + allwinner,function = "gpio_out"; + allwinner,drive = <0>; + allwinner,pull = <0>; + }; + }; + + usbphy: phy at 01c19400 { + usb2_vbus-supply = <®_usb2_vbus>; + status = "okay"; + }; + + ehci1: usb at 01c1b000 { + status = "okay"; + }; + uart0: serial at 01c28000 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>;@@ -47,4 +66,11 @@ status = "okay"; }; }; + + reg_usb2_vbus: usb2-vbus { + pinctrl-names = "default"; + pinctrl-0 = <&usb2_vbus_pin_colombus>; + gpio = <&pio 7 24 0>; + status = "okay"; + }; };
PATCH 1/1 ARM: sun6i: Enable USB Host support on the Colombus board
Hi,
Quoted 6 lines · Hans de Goede
Hi,
Quoted 2 lines · Maxime Ripard
The colombus board has a on-board USB hub, that is enabled through the pin PH24, and wired to the first EHCI controller.
Quoted 6 lines
ehci0 is not hooked up at all on this board ? I would expect it to go to a usb wifi card for example.
Assuming that ehci0 is not hooked up, this is:
Reviewed-by Hans de Goede <[email protected]>
It's unclear, because the schematics say that we have two options, either USB or SDIO wifi chips.
However, looking at the boards, it looks like it's the latter.
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140520/8c74ab48/attachment.sig>
PATCH 1/1 ARM: sun6i: Enable USB Host support on the Colombus board
Hi,
Quoted 12 lines · Maxime Ripard
Hi,
Quoted 9 lines · Hans de Goede
Hi,
Quoted 2 lines · Maxime Ripard
The colombus board has a on-board USB hub, that is enabled through the pin PH24, and wired to the first EHCI controller.
ehci0 is not hooked up at all on this board ? I would expect it to go to a usb wifi card for example.
Quoted 8 lines
Quoted 3 lines
Assuming that ehci0 is not hooked up, this is:
Reviewed-by Hans de Goede <[email protected]>It's unclear, because the schematics say that we have two options, either USB or SDIO wifi chips.
However, looking at the boards, it looks like it's the latter.
Ok.
Regards,
Hans
Maxime Ripard
AppliedPATCH 1/1 ARM: sun6i: Enable USB Host support on the Colombus board
In reply to Maxime RipardQuoted 4 lines · Maxime Ripard
The colombus board has a on-board USB hub, that is enabled through the pin PH24, and wired to the first EHCI controller.
Signed-off-by Maxime Ripard <[email protected]>
Applied.
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140522/d4989874/attachment.sig>