[PATCH 23/28] arm64: dts: apple: t8112-j473: Add speaker/headset jack nodes
From: James Calligeros
Date: Sun Sep 20 2026 - 00:59:49 EST
The M2 Mac mini integrates Apple-specific variants of the TI TAS2764
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/t8112-j473.dts | 55 +++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/arch/arm64/boot/dts/apple/t8112-j473.dts b/arch/arm64/boot/dts/apple/t8112-j473.dts
index 105a9d118980..50088283f2e8 100644
--- a/arch/arm64/boot/dts/apple/t8112-j473.dts
+++ b/arch/arm64/boot/dts/apple/t8112-j473.dts
@@ -85,4 +85,59 @@ &typec1 {
label = "USB-C Back-right";
};
+/* Audio codecs */
+&i2c1 {
+ status = "okay";
+
+ speaker: codec@38 {
+ compatible = "ti,sn012776", "ti,tas2764";
+ reg = <0x38>;
+ interrupts-extended = <&pinctrl_ap 11 IRQ_TYPE_LEVEL_LOW>;
+ shutdown-gpios = <&pinctrl_ap 88 GPIO_ACTIVE_HIGH>;
+ #sound-dai-cells = <0>;
+ ti,imon-slot-no = <0>;
+ ti,vmon-slot-no = <2>;
+ };
+
+ jack_codec: codec@4b {
+ compatible = "cirrus,cs42l84";
+ reg = <0x4b>;
+ interrupts-extended = <&pinctrl_ap 149 IRQ_TYPE_LEVEL_LOW>;
+ reset-gpios = <&pinctrl_nub 12 GPIO_ACTIVE_HIGH>;
+ #sound-dai-cells = <0>;
+ sound-name-prefix = "Jack";
+ };
+};
+
+/ {
+ sound: sound {
+ compatible = "apple,j473-macaudio", "apple,macaudio";
+ model = "Mac mini J473";
+
+ dai-link@0 {
+ link-name = "Speakers";
+
+ 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