Commit 2ba22cfe authored by Hector Martin's avatar Hector Martin
Browse files

arm64: dts: apple: t8103: Add UART2



This UART is connected to the debug port of the WLAN module. It is
mostly useless, but makes for a good test case for runtime-pm without
having to unbind the console from the main system UART.

Reviewed-by: default avatarMark Kettenis <kettenis@openbsd.org>
Signed-off-by: default avatarHector Martin <marcan@marcan.st>
parent 106ba3b4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
/ {
	aliases {
		serial0 = &serial0;
		serial2 = &serial2;
	};

	chosen {
@@ -39,6 +40,10 @@
	status = "okay";
};

&serial2 {
	status = "okay";
};

&i2c0 {
	hpm0: usb-pd@38 {
		compatible = "apple,cd321x";
+12 −0
Original line number Diff line number Diff line
@@ -194,6 +194,18 @@
			status = "disabled";
		};

		serial2: serial@235208000 {
			compatible = "apple,s5l-uart";
			reg = <0x2 0x35208000 0x0 0x1000>;
			reg-io-width = <4>;
			interrupt-parent = <&aic>;
			interrupts = <AIC_IRQ 607 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&clk24>, <&clk24>;
			clock-names = "uart", "clk_uart_baud0";
			power-domains = <&ps_uart2>;
			status = "disabled";
		};

		aic: interrupt-controller@23b100000 {
			compatible = "apple,t8103-aic", "apple,aic";
			#interrupt-cells = <3>;