ARM: dts: exynos 3250: add hsotg and usb2phy device nodes
Subsystems (2)
PATCH v2 1/1 ARM: dts: exynos 3250: add hsotg and usb2phy device nodes
This patch adds device tree nodes required to enable support for USB device controller.
Signed-off-by Marek Szyprowski <[email protected]>
---
Changelog:
v2:
- removed phandle to syscon, because mode switch register is not needed for 3250.
--- arch/arm/boot/dts/exynos3250.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
arch/arm/boot/dts/exynos3250.dtsi +21 -0
@@ -309,6 +309,27 @@ status = "disabled"; }; + hsotg: hsotg@12480000 { + compatible = "samsung,s3c6400-hsotg"; + reg = <0x12480000 0x20000>; + interrupts = <0 141 0>; + clocks = <&cmu CLK_USBOTG>; + clock-names = "otg"; + phys = <&exynos_usbphy 0>; + phy-names = "usb2-phy"; + status = "disabled"; + }; + + exynos_usbphy: exynos-usbphy@125B0000 { + compatible = "samsung,exynos3250-usb2-phy"; + reg = <0x125B0000 0x100>; + samsung,pmureg-phandle = <&pmu_system_controller>; + clocks = <&cmu CLK_USBOTG>, <&xusbxti>; + clock-names = "phy", "ref"; + #phy-cells = <1>; + status = "disabled"; + }; + serial_0: serial@13800000 { compatible = "samsung,exynos4210-uart"; reg = <0x13800000 0x100>;
Signature · 1 line
1.9.2
Quoted 27 lines · Marek Szyprowski
This patch adds device tree nodes required to enable support for USB device controller.
Signed-off-by Marek Szyprowski <[email protected]>---
Changelog:
v2:
- removed phandle to syscon, because mode switch register is not needed for 3250.--- arch/arm/boot/dts/exynos3250.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)arch/arm/boot/dts/exynos3250.dtsi +7
-0@@ -309,6 +309,27 @@ status = "disabled"; }; + hsotg: hsotg@12480000 { + compatible = "samsung,s3c6400-hsotg"; + reg = <0x12480000 0x20000>; + interrupts = <0 141 0>; + clocks = <&cmu CLK_USBOTG>; + clock-names = "otg"; + phys = <&exynos_usbphy 0>;
arch/arm/boot/dts/exynos3250.dtsi line 328
Quoted 10 lines
arch/arm/boot/dts/exynos3250.dtsi +10
-0+ phy-names = "usb2-phy"; + status = "disabled"; + }; + + exynos_usbphy: exynos-usbphy@125B0000 { + compatible = "samsung,exynos3250-usb2-phy"; + reg = <0x125B0000 0x100>; + samsung,pmureg-phandle = <&pmu_system_controller>; + clocks = <&cmu CLK_USBOTG>, <&xusbxti>; + clock-names = "phy", "ref";
Are you sure these are right clocks for Exynos3250? I thought the ref clock was supposed to be SCLK_UPLL on this SoC.
Best regards,
Tomasz