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