mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
51 lines
1.6 KiB
Diff
51 lines
1.6 KiB
Diff
From 7946dbabbfec3116b542268cbb3dcb6b4a5bd9c2 Mon Sep 17 00:00:00 2001
|
|
From: Hector Martin <marcan@marcan.st>
|
|
Date: Fri, 4 Feb 2022 12:59:39 +0900
|
|
Subject: [PATCH 021/171] arm64: dts: apple: Add SMC node to t600x devicetrees
|
|
|
|
Signed-off-by: Hector Martin <marcan@marcan.st>
|
|
---
|
|
arch/arm64/boot/dts/apple/t600x-die0.dtsi | 26 +++++++++++++++++++++++
|
|
1 file changed, 26 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/apple/t600x-die0.dtsi b/arch/arm64/boot/dts/apple/t600x-die0.dtsi
|
|
index 129984bd9a8b..6c9649d5a26c 100644
|
|
--- a/arch/arm64/boot/dts/apple/t600x-die0.dtsi
|
|
+++ b/arch/arm64/boot/dts/apple/t600x-die0.dtsi
|
|
@@ -21,6 +21,32 @@ aic: interrupt-controller@28e100000 {
|
|
power-domains = <&ps_aic>;
|
|
};
|
|
|
|
+ smc_mbox: mbox@290408000 {
|
|
+ compatible = "apple,t6000-asc-mailbox", "apple,asc-mailbox-v4";
|
|
+ reg = <0x2 0x90408000 0x0 0x4000>;
|
|
+ interrupt-parent = <&aic>;
|
|
+ interrupts = <AIC_IRQ 0 754 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <AIC_IRQ 0 755 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <AIC_IRQ 0 756 IRQ_TYPE_LEVEL_HIGH>,
|
|
+ <AIC_IRQ 0 757 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ interrupt-names = "send-empty", "send-not-empty",
|
|
+ "recv-empty", "recv-not-empty";
|
|
+ #mbox-cells = <0>;
|
|
+ };
|
|
+
|
|
+ smc: smc@290400000 {
|
|
+ compatible = "apple,t6000-smc", "apple,smc";
|
|
+ reg = <0x2 0x90400000 0x0 0x4000>,
|
|
+ <0x2 0x91e00000 0x0 0x100000>;
|
|
+ reg-names = "smc", "sram";
|
|
+ mboxes = <&smc_mbox>;
|
|
+
|
|
+ smc_gpio: gpio {
|
|
+ gpio-controller;
|
|
+ #gpio-cells = <2>;
|
|
+ };
|
|
+ };
|
|
+
|
|
pinctrl_smc: pinctrl@290820000 {
|
|
compatible = "apple,t6000-pinctrl", "apple,pinctrl";
|
|
reg = <0x2 0x90820000 0x0 0x4000>;
|
|
--
|
|
2.34.1
|
|
|