mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
61 lines
1.8 KiB
Diff
61 lines
1.8 KiB
Diff
From 2beaa67dcf1275232f6f52f104d321818289c159 Mon Sep 17 00:00:00 2001
|
|
From: Janne Grunau <j@jannau.net>
|
|
Date: Thu, 11 Nov 2021 21:31:21 +0100
|
|
Subject: [PATCH 025/171] arm64: dts: apple: t600x: Add spi3 node
|
|
|
|
Used for keyboard and touchpad input on MacBook Pro (14/16-inch,
|
|
M1 Pro/Max, 2021).
|
|
|
|
Signed-off-by: Janne Grunau <j@jannau.net>
|
|
---
|
|
arch/arm64/boot/dts/apple/t600x-die0.dtsi | 14 ++++++++++++++
|
|
arch/arm64/boot/dts/apple/t600x-gpio-pins.dtsi | 7 +++++++
|
|
2 files changed, 21 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/apple/t600x-die0.dtsi b/arch/arm64/boot/dts/apple/t600x-die0.dtsi
|
|
index 96f8c2189f03..b549059a3320 100644
|
|
--- a/arch/arm64/boot/dts/apple/t600x-die0.dtsi
|
|
+++ b/arch/arm64/boot/dts/apple/t600x-die0.dtsi
|
|
@@ -260,6 +260,20 @@ spi1: spi@39b104000 {
|
|
status = "disabled";
|
|
};
|
|
|
|
+ spi3: spi@39b10c000 {
|
|
+ compatible = "apple,t6000-spi", "apple,spi";
|
|
+ reg = <0x3 0x9b10c000 0x0 0x4000>;
|
|
+ interrupt-parent = <&aic>;
|
|
+ interrupts = <AIC_IRQ 0 1109 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ clocks = <&clkref>;
|
|
+ pinctrl-0 = <&spi3_pins>;
|
|
+ pinctrl-names = "default";
|
|
+ power-domains = <&ps_spi3>;
|
|
+ status = "disabled";
|
|
+ };
|
|
+
|
|
serial0: serial@39b200000 {
|
|
compatible = "apple,s5l-uart";
|
|
reg = <0x3 0x9b200000 0x0 0x1000>;
|
|
diff --git a/arch/arm64/boot/dts/apple/t600x-gpio-pins.dtsi b/arch/arm64/boot/dts/apple/t600x-gpio-pins.dtsi
|
|
index 855dcf30a502..1a994c3c1b79 100644
|
|
--- a/arch/arm64/boot/dts/apple/t600x-gpio-pins.dtsi
|
|
+++ b/arch/arm64/boot/dts/apple/t600x-gpio-pins.dtsi
|
|
@@ -43,6 +43,13 @@ spi1_pins: spi1-pins {
|
|
<APPLE_PINMUX(33, 1)>;
|
|
};
|
|
|
|
+ spi3_pins: spi3-pins {
|
|
+ pinmux = <APPLE_PINMUX(52, 1)>,
|
|
+ <APPLE_PINMUX(53, 1)>,
|
|
+ <APPLE_PINMUX(54, 1)>,
|
|
+ <APPLE_PINMUX(55, 1)>;
|
|
+ };
|
|
+
|
|
pcie_pins: pcie-pins {
|
|
pinmux = <APPLE_PINMUX(0, 1)>,
|
|
<APPLE_PINMUX(1, 1)>,
|
|
--
|
|
2.34.1
|
|
|