[PATCH v3 13/21] arm64: dts: apple: t8103-j45x: Add headset jack nodes
From: James Calligeros
Date: Sun Oct 18 2026 - 01:56:53 EST
The M1 iMacs integrate Apple-specific variants of the TI TAS2770
and Cirrus CS42L42. Since it is not yet safe to expose the speakers
on these machines, add the headset jack 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-j456.dts | 43 +++++++++++++++++++++++++
arch/arm64/boot/dts/apple/t8103-j457.dts | 43 +++++++++++++++++++++++++
2 files changed, 86 insertions(+)
diff --git a/arch/arm64/boot/dts/apple/t8103-j456.dts b/arch/arm64/boot/dts/apple/t8103-j456.dts
index 090c97bb781b..91da90b37089 100644
--- a/arch/arm64/boot/dts/apple/t8103-j456.dts
+++ b/arch/arm64/boot/dts/apple/t8103-j456.dts
@@ -88,3 +88,46 @@ &pcie0_dart_1 {
&pcie0_dart_2 {
status = "okay";
};
+
+&i2c1 {
+ 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>;
+ VA-supply = <&jack_va_reg>;
+ VP-supply = <&jack_vp_reg>;
+ VCP-supply = <&jack_vcp_reg>;
+ VD_FILT-supply = <&jack_vd_reg>;
+ VL-supply = <&jack_vl_reg>;
+ };
+};
+
+/ {
+ sound: sound {
+ compatible = "apple,j456-macaudio";
+ model = "iMac J456";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ dai-link@1 {
+ reg = <1>;
+
+ link-name = "Headphone Jack";
+
+ codec {
+ sound-dai = <&jack_codec>;
+ };
+
+ cpu {
+ sound-dai = <&mca 2>;
+ };
+ };
+ };
+};
diff --git a/arch/arm64/boot/dts/apple/t8103-j457.dts b/arch/arm64/boot/dts/apple/t8103-j457.dts
index ebddde75455c..3e8d7648b3ac 100644
--- a/arch/arm64/boot/dts/apple/t8103-j457.dts
+++ b/arch/arm64/boot/dts/apple/t8103-j457.dts
@@ -69,3 +69,46 @@ ethernet0: ethernet@0,0 {
&pcie0_dart_2 {
status = "okay";
};
+
+&i2c1 {
+ 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>;
+ VA-supply = <&jack_va_reg>;
+ VP-supply = <&jack_vp_reg>;
+ VCP-supply = <&jack_vcp_reg>;
+ VD_FILT-supply = <&jack_vd_reg>;
+ VL-supply = <&jack_vl_reg>;
+ };
+};
+
+/ {
+ sound: sound {
+ compatible = "apple,j457-macaudio", "apple,j456-macaudio";
+ model = "iMac J457";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ dai-link@1 {
+ reg = <1>;
+
+ link-name = "Headphone Jack";
+
+ codec {
+ sound-dai = <&jack_codec>;
+ };
+
+ cpu {
+ sound-dai = <&mca 2>;
+ };
+ };
+ };
+};
--
2.56.0