ARM: dts: sun8i: V3/S3: Add UART1 pin definitions to the V3/S3 dtsi
authorMatteo Scordino <matteo.scordino@gmail.com>
Fri, 30 Oct 2020 23:43:21 +0000 (23:43 +0000)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 2 Nov 2020 10:03:03 +0000 (11:03 +0100)
The Allwinner V3 and S3 can use PG6/7 as RX/TX for UART1. Since no other
functions are assigned to those pins, they are a convenient choice for
a debugging or application UART.
This is specific to V3/S3 as the V3s's non-BGA package did not have
those pins.

Signed-off-by: Matteo Scordino <matteo.scordino@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20201030234325.5865-3-matteo.scordino@gmail.com
arch/arm/boot/dts/sun8i-v3.dtsi

index ca4672ed2e0207a9c46876d3243983302c2bff0d..c279e13583ba4d370e831fe018f333c8273fe359 100644 (file)
@@ -24,4 +24,9 @@
 
 &pio {
        compatible = "allwinner,sun8i-v3-pinctrl";
+
+       uart1_pg_pins: uart1-pg-pins {
+               pins = "PG6", "PG7";
+               function = "uart1";
+       };
 };