2019-12-29 13:17:28

by Aapo Vienamo

[permalink] [raw]
Subject: [PATCH] ARM: mxs: Enable usbphy1 and usb1 on apx4devkit DTS

Enable the USB host port on the APx4 development board.

Signed-off-by: Aapo Vienamo <[email protected]>
---
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 {
+ status = "okay";
+ };
};

regulators {
--
2.24.1


2020-01-09 07:59:38

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] ARM: mxs: Enable usbphy1 and usb1 on apx4devkit DTS

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 <[email protected]>
> ---
> 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
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel