From 4c3f960d767dd7ba4b7cfbc41359ce114344f5dc Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Fri, 14 Aug 2020 16:47:15 +0900 Subject: [PATCH] ARM: dts: bcm2711-rpi-4-b: Enable uart2 node Enable uart2 to support '/dev/ttyAMA1'. The node setting is from arch/arm/boot/dts/overlays/uart2-overlay.dts, without cts, rts. Tx pin is gpio 0, pin 27, and Rx pin is gpio 1, pin 28. Ref: https://www.raspberrypi.org/forums/viewtopic.php?t=244827 Change-Id: Ib6c460f6c8e46f3ef7d2d40ab23b3524e438c6c9 Signed-off-by: Seung-Woo Kim --- arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts index 7b7dd4f..87471890 100644 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts @@ -435,6 +435,12 @@ pinctrl-0 = <&uart1_pins>; }; +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; + status = "okay"; +}; + &spi0 { pinctrl-names = "default"; pinctrl-0 = <&spi0_pins &spi0_cs_pins>; -- 2.7.4