1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 * Apple iMac (24-inch, 2x USB-C, M1, 2020)
7 * Copyright The Asahi Linux Contributors
13 #include "t8103-jxxx.dtsi"
16 compatible = "apple,j457", "apple,t8103", "apple,arm-platform";
17 model = "Apple iMac (24-inch, 2x USB-C, M1, 2020)";
20 ethernet0 = ðernet0;
25 brcm,board-type = "apple,santorini";
29 * Provide labels for the USB type C ports.
33 label = "USB-C Back-right";
37 label = "USB-C Back-left";
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).
48 ethernet0: ethernet@0,0 {
49 reg = <0x30000 0x0 0x0 0x0 0x0>;
50 /* To be filled by the loader */
51 local-mac-address = [00 10 18 00 00 00];
56 * Remove unused PCIe port and disable the associated DART.
63 /delete-node/ &port01;
66 clock-frequency = <50000>;
68 jack_codec: codec@48 {
69 compatible = "cirrus,cs42l83", "cirrus,cs42l42";
71 reset-gpios = <&pinctrl_nub 11 GPIO_ACTIVE_HIGH>;
72 interrupt-parent = <&pinctrl_ap>;
73 interrupts = <183 IRQ_TYPE_LEVEL_LOW>;
74 #sound-dai-cells = <0>;
81 compatible = "simple-audio-card";
82 simple-audio-card,name = "iMac integrated audio";
86 simple-audio-card,dai-link@0 {
92 tdm-slot-width = <32>;
101 sound-dai = <&jack_codec>;