Skip to content

Commit 2ba22cf

Browse files
committed
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: Mark Kettenis <[email protected]> Signed-off-by: Hector Martin <[email protected]>
1 parent 106ba3b commit 2ba22cf

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

arch/arm64/boot/dts/apple/t8103-jxxx.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
/ {
1313
aliases {
1414
serial0 = &serial0;
15+
serial2 = &serial2;
1516
};
1617

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

43+
&serial2 {
44+
status = "okay";
45+
};
46+
4247
&i2c0 {
4348
hpm0: usb-pd@38 {
4449
compatible = "apple,cd321x";

arch/arm64/boot/dts/apple/t8103.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,18 @@
194194
status = "disabled";
195195
};
196196

197+
serial2: serial@235208000 {
198+
compatible = "apple,s5l-uart";
199+
reg = <0x2 0x35208000 0x0 0x1000>;
200+
reg-io-width = <4>;
201+
interrupt-parent = <&aic>;
202+
interrupts = <AIC_IRQ 607 IRQ_TYPE_LEVEL_HIGH>;
203+
clocks = <&clk24>, <&clk24>;
204+
clock-names = "uart", "clk_uart_baud0";
205+
power-domains = <&ps_uart2>;
206+
status = "disabled";
207+
};
208+
197209
aic: interrupt-controller@23b100000 {
198210
compatible = "apple,t8103-aic", "apple,aic";
199211
#interrupt-cells = <3>;

0 commit comments

Comments
 (0)