[OpenWrt-Devel] [PATCH v3] ramips: rt3352 usbphy fix in dts-file

John Crispin john at phrozen.org
Mon Apr 11 02:41:18 EDT 2016


Hi,

please send version for CC if you would like to see the fix merged there
aswell

	JOhn

On 09/04/2016 13:43, Сергей Василюгин wrote:
> Add missing rt3352 usb phy. Fix ticket #20499. Need backport into CC
> 
> Signed-Off-By:Serge Vasilugin <vasilugin at yandex.ru>
> 
> diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi
> index cfa0db6..0932b52 100644
> --- a/target/linux/ramips/dts/rt3352.dtsi
> +++ b/target/linux/ramips/dts/rt3352.dtsi
> @@ -252,8 +252,9 @@
>  		interrupts = <17>;
>  	};
>  
> -	usbphy {
> +	usbphy: usbphy {
>  		compatible = "ralink,rt3352-usbphy";
> +		#phy-cells = <1>;
>  
>  		resets = <&rstctrl 22 &rstctrl 25>;
>  		reset-names = "host", "device";
> @@ -273,6 +274,9 @@
>  		compatible = "generic-ehci";
>  		reg = <0x101c0000 0x1000>;
>  
> +		phys = <&usbphy 1>;
> +		phy-names = "usb";
> +
>  		interrupt-parent = <&intc>;
>  		interrupts = <18>;
>  
> @@ -283,6 +287,9 @@
>  		compatible = "generic-ohci";
>  		reg = <0x101c1000 0x1000>;
>  
> +		phys = <&usbphy 1>;
> +		phy-names = "usb";
> +
>  		interrupt-parent = <&intc>;
>  		interrupts = <18>;
>  
> 
> ---
> serge
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list