1// SPDX-License-Identifier: GPL-2.0+ OR MIT 2/* 3 * Apple M2 MacBook Air/Pro (M2, 2022) 4 * 5 * This file contains parts common to all Apple M2 devices using the t8112. 6 * 7 * target-type: J493, J413 8 * 9 * Copyright The Asahi Linux Contributors 10 */ 11 12/ { 13 aliases { 14 serial0 = &serial0; 15 serial2 = &serial2; 16 }; 17 18 chosen { 19 #address-cells = <2>; 20 #size-cells = <2>; 21 ranges; 22 23 stdout-path = "serial0"; 24 25 framebuffer0: framebuffer@0 { 26 compatible = "apple,simple-framebuffer", "simple-framebuffer"; 27 reg = <0 0 0 0>; /* To be filled by loader */ 28 /* Format properties will be added by loader */ 29 status = "disabled"; 30 }; 31 }; 32 33 memory@800000000 { 34 device_type = "memory"; 35 reg = <0x8 0 0x2 0>; /* To be filled by loader */ 36 }; 37}; 38 39&serial0 { 40 status = "okay"; 41}; 42 43&serial2 { 44 status = "okay"; 45}; 46 47&i2c0 { 48 status = "okay"; 49 50 hpm0: usb-pd@38 { 51 compatible = "apple,cd321x"; 52 reg = <0x38>; 53 interrupt-parent = <&pinctrl_ap>; 54 interrupts = <8 IRQ_TYPE_LEVEL_LOW>; 55 interrupt-names = "irq"; 56 }; 57 58 hpm1: usb-pd@3f { 59 compatible = "apple,cd321x"; 60 reg = <0x3f>; 61 interrupt-parent = <&pinctrl_ap>; 62 interrupts = <8 IRQ_TYPE_LEVEL_LOW>; 63 interrupt-names = "irq"; 64 }; 65}; 66 67&i2c1 { 68 status = "okay"; 69}; 70 71&i2c2 { 72 status = "okay"; 73}; 74 75&i2c3 { 76 status = "okay"; 77}; 78 79&nco_clkref { 80 clock-frequency = <900000000>; 81}; 82