From: Sean Wang Date: Fri, 23 Feb 2018 10:16:28 +0000 (+0800) Subject: arm: dts: mt7623: enable three available UARTs on bananapi-r2 X-Git-Tag: v4.17-rc1~105^2~29^2~4 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=cc2f65242eec8a552fb6b6e1e411198e8401299c;p=linux.git arm: dts: mt7623: enable three available UARTs on bananapi-r2 On bpi-r2 board, totally there're four UARTs which we usually called uart[0-3] helpful to extend slow-I/O devices. Among those ones, uart2 has dedicated pin slot which is used to console log. uart[0-1] appear at the 40-pins connector and uart3 has no pinout, but just has test points (TP47 for TX and TP48 for RX, respectively) nearby uart2, but we don't enable uart3 in the patch. The missing pinctrl is also being supplemented for those newly added devices. Signed-off-by: Sean Wang Signed-off-by: Matthias Brugger --- diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts index 12da146cf3a5..4198f03aeee8 100644 --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts @@ -436,6 +436,13 @@ pins_dat { ; }; }; + + uart2_pins_a: uart@2 { + pins_dat { + pinmux = , + ; + }; + }; }; &pwm { @@ -481,16 +488,18 @@ &spi0 { &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>; - status = "disabled"; + status = "okay"; }; &uart1 { pinctrl-names = "default"; pinctrl-0 = <&uart1_pins_a>; - status = "disabled"; + status = "okay"; }; &uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins_a>; status = "okay"; };