Re: [PATCH v2 4/7] dts: sun8i-h3: add UART1-3 to Orange Pi Plus

From: Maxime Ripard
Date: Fri Sep 02 2016 - 03:05:42 EST


Hi,

On Wed, Aug 31, 2016 at 09:30:55PM +0200, jorik@xxxxxxxxxxxxxx wrote:
> From: Jorik Jonker <jorik@xxxxxxxxxxxxxx>
>
> This board has UARTS1-3 exposed on its expansion header
>
> Signed-off-by: Jorik Jonker <jorik@xxxxxxxxxxxxxx>
> ---
> arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
> index b0cb417..7a17839 100644
> --- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
> +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
> @@ -90,6 +90,21 @@
> };
> };
>
> +&uart1 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&uart1_pins_a>;
> +};
> +
> +&uart2 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&uart2_pins_a>;
> +};
> +
> +&uart3 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&uart3_pins_a>;
> +};
> +

Unfortunately, these pins can be used for other purposes as well, so
we cannot make force that decision down to our users.

Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Attachment: signature.asc
Description: PGP signature