2015-04-13 17:09:32

by Matthew Leach

[permalink] [raw]
Subject: [PATCH RESEND] ARM: dts: exynos4412: Enable AX88760 USB hub on Origen board

Enable the Origen's usb phy and ohci devices in the device tree. Also
add the "samsung,vbus-gpio" property to enable the GPX3(5) gpio pin so
the AX88760 hub is powered.

Signed-off-by: Matthew Leach <[email protected]>
---
arch/arm/boot/dts/exynos4412-origen.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4412-origen.dts b/arch/arm/boot/dts/exynos4412-origen.dts
index bd8b730..c810ca3 100644
--- a/arch/arm/boot/dts/exynos4412-origen.dts
+++ b/arch/arm/boot/dts/exynos4412-origen.dts
@@ -531,4 +531,19 @@
clock-frequency = <24000000>;
};
};
+
+ exynos-usbphy@125B0000 {
+ status = "okay";
+ };
+
+ ehci@12580000 {
+ samsung,vbus-gpio = <&gpx3 5 1>;
+ status = "okay";
+ port@1{
+ status = "okay";
+ };
+ port@2 {
+ status = "okay";
+ };
+ };
};
--
2.3.5


2015-05-26 08:13:40

by Krzysztof Kozłowski

[permalink] [raw]
Subject: Re: [PATCH RESEND] ARM: dts: exynos4412: Enable AX88760 USB hub on Origen board

2015-04-14 2:02 GMT+09:00 Matthew Leach <[email protected]>:
> Enable the Origen's usb phy and ohci devices in the device tree. Also
> add the "samsung,vbus-gpio" property to enable the GPX3(5) gpio pin so
> the AX88760 hub is powered.
>
> Signed-off-by: Matthew Leach <[email protected]>
> ---
> arch/arm/boot/dts/exynos4412-origen.dts | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos4412-origen.dts b/arch/arm/boot/dts/exynos4412-origen.dts
> index bd8b730..c810ca3 100644
> --- a/arch/arm/boot/dts/exynos4412-origen.dts
> +++ b/arch/arm/boot/dts/exynos4412-origen.dts
> @@ -531,4 +531,19 @@
> clock-frequency = <24000000>;
> };
> };
> +
> + exynos-usbphy@125B0000 {

Could you use label notation here?
&exynos_usbphy {
...
}

Best regards,
Krzysztof