ARM: mxs: Enable usbphy1 and usb1 on apx4devkit DTS
diff mbox series

Message ID 20191229131503.20843-1-aapo.vienamo@iki.fi
State Superseded
Headers show
Series
  • ARM: mxs: Enable usbphy1 and usb1 on apx4devkit DTS
Related show

Commit Message

Aapo Vienamo Dec. 29, 2019, 1:15 p.m. UTC
Enable the USB host port on the APx4 development board.

Signed-off-by: Aapo Vienamo <aapo.vienamo@iki.fi>
---
 arch/arm/boot/dts/imx28-apx4devkit.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

Comments

Shawn Guo Jan. 9, 2020, 7:58 a.m. UTC | #1
On Sun, Dec 29, 2019 at 03:15:03PM +0200, Aapo Vienamo wrote:
> Enable the USB host port on the APx4 development board.
> 
> Signed-off-by: Aapo Vienamo <aapo.vienamo@iki.fi>
> ---
>  arch/arm/boot/dts/imx28-apx4devkit.dts | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx28-apx4devkit.dts b/arch/arm/boot/dts/imx28-apx4devkit.dts
> index 3a184d13887b..f00d201ce242 100644
> --- a/arch/arm/boot/dts/imx28-apx4devkit.dts
> +++ b/arch/arm/boot/dts/imx28-apx4devkit.dts
> @@ -183,6 +183,12 @@ auart2: serial@8006e000 {
>  				pinctrl-0 = <&auart2_2pins_a>;
>  				status = "okay";
>  			};
> +
> +			usbphy1: usbphy@8007e000 {
> +				pinctrl-names = "default";
> +				pinctrl-0 = <&usb1_pins_a>;
> +				status = "okay";
> +			};
>  		};
>  	};
>  
> @@ -193,6 +199,10 @@ mac0: ethernet@800f0000 {
>  			pinctrl-0 = <&mac0_pins_a>;
>  			status = "okay";
>  		};
> +
> +		usb1: usb@80090000 {

We want to keep nodes with unit-address sorted in that address.  That
said, usb@80090000 should go before ethernet@800f0000.

Shawn

> +		      status = "okay";
> +		};
>  	};
>  
>  	regulators {
> -- 
> 2.24.1
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Patch
diff mbox series

diff --git a/arch/arm/boot/dts/imx28-apx4devkit.dts b/arch/arm/boot/dts/imx28-apx4devkit.dts
index 3a184d13887b..f00d201ce242 100644
--- a/arch/arm/boot/dts/imx28-apx4devkit.dts
+++ b/arch/arm/boot/dts/imx28-apx4devkit.dts
@@ -183,6 +183,12 @@  auart2: serial@8006e000 {
 				pinctrl-0 = <&auart2_2pins_a>;
 				status = "okay";
 			};
+
+			usbphy1: usbphy@8007e000 {
+				pinctrl-names = "default";
+				pinctrl-0 = <&usb1_pins_a>;
+				status = "okay";
+			};
 		};
 	};
 
@@ -193,6 +199,10 @@  mac0: ethernet@800f0000 {
 			pinctrl-0 = <&mac0_pins_a>;
 			status = "okay";
 		};
+
+		usb1: usb@80090000 {
+		      status = "okay";
+		};
 	};
 
 	regulators {