[PATCH 17/28] arm64: dts: apple: t8103-j274: Add speaker/headset jack nodes
From: James Calligeros
Date: Sun Sep 20 2026 - 00:58:47 EST
The M1 Mac mini integrates Apple-specific variants of the TI TAS2770
and Cirrus CS42L42. Add these nodes and advertise them to the machine
driver via the sound node.
Signed-off-by: James Calligeros <jcalligeros99@xxxxxxxxx>
---
arch/arm64/boot/dts/apple/t8103-j274.dts | 60 +++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/arch/arm64/boot/dts/apple/t8103-j274.dts b/arch/arm64/boot/dts/apple/t8103-j274.dts
index 1212852251e0..4b30f08eaac0 100644
--- a/arch/arm64/boot/dts/apple/t8103-j274.dts
+++ b/arch/arm64/boot/dts/apple/t8103-j274.dts
@@ -75,4 +75,64 @@ &i2c2 {
status = "okay";
};
+/* Audio codecs */
+&i2c1 {
+ status = "okay";
+
+ speaker: codec@31 {
+ compatible = "ti,tas5770l", "ti,tas2770";
+ reg = <0x31>;
+ interrupts-extended = <&pinctrl_ap 182 IRQ_TYPE_LEVEL_LOW>;
+ shutdown-gpios = <&pinctrl_ap 181 GPIO_ACTIVE_HIGH>;
+ #sound-dai-cells = <0>;
+ ti,imon-slot-no = <0>;
+ ti,vmon-slot-no = <2>;
+ };
+};
+
+&i2c2 {
+ status = "okay";
+
+ jack_codec: codec@48 {
+ compatible = "cirrus,cs42l83";
+ reg = <0x48>;
+ interrupts-extended = <&pinctrl_ap 183 IRQ_TYPE_LEVEL_LOW>;
+ reset-gpios = <&pinctrl_nub 11 GPIO_ACTIVE_HIGH>;
+ #sound-dai-cells = <0>;
+ sound-name-prefix = "Jack";
+ cirrus,ts-inv = <1>;
+ };
+};
+
+/ {
+ sound: sound {
+ compatible = "apple,j274-macaudio", "apple,macaudio";
+ model = "Mac mini J274";
+
+ dai-link@0 {
+ link-name = "Speaker";
+
+ codec {
+ sound-dai = <&speaker>;
+ };
+
+ cpu {
+ sound-dai = <&mca 0>;
+ };
+ };
+
+ dai-link@1 {
+ link-name = "Headphone Jack";
+
+ codec {
+ sound-dai = <&jack_codec>;
+ };
+
+ cpu {
+ sound-dai = <&mca 2>;
+ };
+ };
+ };
+};
+
#include "hwmon-mini.dtsi"
--
2.55.0