Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e6320dd authored by Kevin Hilman's avatar Kevin Hilman
Browse files

ARM64: dts: amlogic: gxbb: pinctrl: add/update UART



Add DT nodes for additional UARTs (UART B & C in EE domain) and add pins
for all EE domain UARTs.

Acked-by: default avatarCarlo Caione <carlo@endlessm.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent a8025ed6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -80,3 +80,4 @@
	pinctrl-0 = <&uart_ao_a_pins>;
	pinctrl-names = "default";
};
+41 −1
Original line number Diff line number Diff line
@@ -132,11 +132,27 @@

			uart_A: serial@84c0 {
				compatible = "amlogic,meson-uart";
				reg = <0x0 0x084c0 0x0 0x14>;
				reg = <0x0 0x84c0 0x0 0x14>;
				interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
				clocks = <&xtal>;
				status = "disabled";
			};

			uart_B: serial@84dc {
				compatible = "amlogic,meson-uart";
				reg = <0x0 0x84dc 0x0 0x14>;
				interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
				clocks = <&xtal>;
				status = "disabled";
			};

			uart_C: serial@8700 {
				compatible = "amlogic,meson-uart";
				reg = <0x0 0x8700 0x0 0x14>;
				interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
				clocks = <&xtal>;
				status = "disabled";
			};
		};

		gic: interrupt-controller@c4301000 {
@@ -234,6 +250,30 @@
						function = "sdcard";
					};
				};

				uart_a_pins: uart_a {
					mux {
						groups = "uart_tx_a",
						       "uart_rx_a";
						function = "uart_a";
					};
				};

				uart_b_pins: uart_b {
					mux {
						groups = "uart_tx_b",
						       "uart_rx_b";
						function = "uart_b";
					};
				};

				uart_c_pins: uart_c {
					mux {
						groups = "uart_tx_c",
						       "uart_rx_c";
						function = "uart_c";
					};
				};
			};
		};