diff mbox

[RESEND] ARM: dts: exynos4412: Enable AX88760 USB hub on Origen board

Message ID 1428944566-17132-1-git-send-email-matthew@mattleach.net
State Superseded
Headers show

Commit Message

Matthew Leach April 13, 2015, 5:02 p.m. UTC
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 <matthew@mattleach.net>
---
 arch/arm/boot/dts/exynos4412-origen.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

Comments

Krzysztof Koz?owski May 26, 2015, 8:08 a.m. UTC | #1
2015-04-14 2:02 GMT+09:00 Matthew Leach <matthew@mattleach.net>:
> 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 <matthew@mattleach.net>
> ---
>  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
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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";
+		};
+	};
 };