[PATCH 5/5] arm64: dts: apple: t8140: Add i2c nodes
Yureka Lilian
yureka at cyberchaos.dev
Mon Oct 12 04:52:36 PDT 2026
Add the i2c nodes in the Apple Silicon T8140 (A18 Pro) SoC. In the
MacBook Neo, i2c0 is used for the audio chip while the internal USB hub
and mux are connected to i2c2.
Signed-off-by: Yureka Lilian <yureka at cyberchaos.dev>
---
arch/arm64/boot/dts/apple/t8140.dtsi | 40 ++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/arch/arm64/boot/dts/apple/t8140.dtsi b/arch/arm64/boot/dts/apple/t8140.dtsi
index 339a6b4f283d..3b4f7695552b 100644
--- a/arch/arm64/boot/dts/apple/t8140.dtsi
+++ b/arch/arm64/boot/dts/apple/t8140.dtsi
@@ -297,6 +297,46 @@ pinctrl_ap: pinctrl at 31a000000 {
<AIC_IRQ 269 IRQ_TYPE_LEVEL_HIGH>;
apple,npins = <216>;
+
+ i2c0_pins: i2c0-pins {
+ pinmux = <APPLE_PINMUX(171, 1)>,
+ <APPLE_PINMUX(170, 1)>;
+ };
+
+ i2c2_pins: i2c2-pins {
+ pinmux = <APPLE_PINMUX(165, 1)>,
+ <APPLE_PINMUX(164, 1)>;
+ };
+ };
+
+ i2c0: i2c at 385010000 {
+ compatible = "apple,t8140-i2c", "apple,t8103-i2c";
+ reg = <0x3 0x85010000 0x0 0x4000>;
+ clocks = <&clkref>;
+ interrupt-parent = <&aic>;
+ interrupts = <AIC_IRQ 1108 IRQ_TYPE_LEVEL_HIGH>;
+ pinctrl-0 = <&i2c0_pins>;
+ pinctrl-names = "default";
+ #address-cells = <0x1>;
+ #size-cells = <0x0>;
+ power-domains = <&ps_i2c0>;
+
+ status = "disabled";
+ };
+
+ i2c2: i2c at 385018000 {
+ compatible = "apple,t8140-i2c", "apple,t8103-i2c";
+ reg = <0x3 0x85018000 0x0 0x4000>;
+ clocks = <&clkref>;
+ interrupt-parent = <&aic>;
+ interrupts = <AIC_IRQ 1110 IRQ_TYPE_LEVEL_HIGH>;
+ pinctrl-0 = <&i2c2_pins>;
+ pinctrl-names = "default";
+ #address-cells = <0x1>;
+ #size-cells = <0x0>;
+ power-domains = <&ps_i2c2>;
+
+ status = "disabled";
};
serial0: serial at 385200000 {
--
2.55.0
More information about the linux-arm-kernel
mailing list