1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 * Apple Mac mini (M1, 2020)
7 * Copyright The Asahi Linux Contributors
13 #include "t8103-jxxx.dtsi"
16 compatible = "apple,j274", "apple,t8103", "apple,arm-platform";
17 model = "Apple Mac mini (M1, 2020)";
20 ethernet0 = ðernet0;
25 brcm,board-type = "apple,atlantisb";
29 * Provide labels for the USB type C ports.
33 label = "USB-C Back-left";
37 label = "USB-C Back-right";
41 * Force the bus number assignments so that we can declare some of the
42 * on-board devices and properties that are populated by the bootloader
43 * (such as MAC addresses).
52 ethernet0: ethernet@0,0 {
53 reg = <0x30000 0x0 0x0 0x0 0x0>;
54 /* To be filled by the loader */
55 local-mac-address = [00 10 18 00 00 00];
60 clock-frequency = <50000>;
62 speaker_amp: codec@31 {
63 compatible = "ti,tas5770l", "ti,tas2770";
65 reset-gpios = <&pinctrl_ap 181 GPIO_ACTIVE_HIGH>;
66 #sound-dai-cells = <0>;
73 clock-frequency = <50000>;
75 jack_codec: codec@48 {
76 compatible = "cirrus,cs42l83", "cirrus,cs42l42";
78 reset-gpios = <&pinctrl_nub 11 GPIO_ACTIVE_HIGH>;
79 interrupt-parent = <&pinctrl_ap>;
80 interrupts = <183 IRQ_TYPE_LEVEL_LOW>;
81 #sound-dai-cells = <0>;
88 compatible = "simple-audio-card";
89 simple-audio-card,name = "Mac mini integrated audio";
93 simple-audio-card,dai-link@0 {
96 tdm-slot-width = <32>;
100 sound-dai = <&mca 0>;
106 sound-dai = <&speaker_amp>;
110 simple-audio-card,dai-link@1 {
116 tdm-slot-width = <32>;
119 sound-dai = <&mca 2>;
125 sound-dai = <&jack_codec>;