ARM: dts: sun8i: r40: add /omit-if-no-ref/ to pinmux nodes for UARTs 0&3
authorIvan Uvarov <i.uvarov@cognitivepilot.com>
Wed, 7 Apr 2021 11:14:24 +0000 (14:14 +0300)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 10 May 2021 07:14:41 +0000 (09:14 +0200)
This patch adds the /omit-if-no-ref/ keyword to the pio nodes for
UART0 and UART3 pins of the R40 SoC, which would reduce the fdt size on
boards which do not use these UARTs.

Signed-off-by: Ivan Uvarov <i.uvarov@cognitivepilot.com>
 1 file changed, 3 insertions(+)

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210407111428.3755684-2-i.uvarov@cognitivepilot.com
arch/arm/boot/dts/sun8i-r40.dtsi

index d5ad3b9efd12487dc9e709a1510f7bce414f5b14..0b257a07792fc860f0701d1f3595541c0c19b2d1 100644 (file)
                                function = "spi1";
                        };
 
+                       /omit-if-no-ref/
                        uart0_pb_pins: uart0-pb-pins {
                                pins = "PB22", "PB23";
                                function = "uart0";
                        };
 
+                       /omit-if-no-ref/
                        uart3_pg_pins: uart3-pg-pins {
                                pins = "PG6", "PG7";
                                function = "uart3";
                        };
 
+                       /omit-if-no-ref/
                        uart3_rts_cts_pg_pins: uart3-rts-cts-pg-pins {
                                pins = "PG8", "PG9";
                                function = "uart3";