diff options
author | Hector Martin <marcan@marcan.st> | 2021-09-19 19:28:20 +0200 |
---|---|---|
committer | Hector Martin <marcan@marcan.st> | 2021-12-07 05:41:32 +0100 |
commit | 2ba22cfeda44566aeb333f519ade0633e405aade (patch) | |
tree | 6823361dedd14047bfcd6881e7e34718ceff02cd /arch/arm64/boot/dts/apple | |
parent | arm64: dts: apple: t8103: Add PMGR nodes (diff) | |
download | linux-2ba22cfeda44566aeb333f519ade0633e405aade.tar.xz linux-2ba22cfeda44566aeb333f519ade0633e405aade.zip |
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 <kettenis@openbsd.org>
Signed-off-by: Hector Martin <marcan@marcan.st>
Diffstat (limited to 'arch/arm64/boot/dts/apple')
-rw-r--r-- | arch/arm64/boot/dts/apple/t8103-jxxx.dtsi | 5 | ||||
-rw-r--r-- | arch/arm64/boot/dts/apple/t8103.dtsi | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi b/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi index 876278fe0afe..e11d5def94b4 100644 --- a/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi +++ b/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi @@ -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"; diff --git a/arch/arm64/boot/dts/apple/t8103.dtsi b/arch/arm64/boot/dts/apple/t8103.dtsi index 1055a38ed299..15ee8c8c5fa0 100644 --- a/arch/arm64/boot/dts/apple/t8103.dtsi +++ b/arch/arm64/boot/dts/apple/t8103.dtsi @@ -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>; |