1// SPDX-License-Identifier: GPL-2.0+ OR MIT 2/* 3 * Apple M1 Mac mini, MacBook Air/Pro, iMac 24" (M1, 2020/2021) 4 * 5 * This file contains parts common to all Apple M1 devices using the t8103. 6 * 7 * target-type: J274, J293, J313, J456, J457 8 * 9 * Copyright The Asahi Linux Contributors 10 */ 11 12/ { 13 aliases { 14 serial0 = &serial0; 15 }; 16 17 chosen { 18 #address-cells = <2>; 19 #size-cells = <2>; 20 ranges; 21 22 stdout-path = "serial0"; 23 24 framebuffer0: framebuffer@0 { 25 compatible = "apple,simple-framebuffer", "simple-framebuffer"; 26 reg = <0 0 0 0>; /* To be filled by loader */ 27 /* Format properties will be added by loader */ 28 status = "disabled"; 29 }; 30 }; 31 32 memory@800000000 { 33 device_type = "memory"; 34 reg = <0x8 0 0x2 0>; /* To be filled by loader */ 35 }; 36}; 37 38&serial0 { 39 status = "okay"; 40}; 41 42&i2c0 { 43 hpm0: usb-pd@38 { 44 compatible = "apple,cd321x"; 45 reg = <0x38>; 46 interrupt-parent = <&pinctrl_ap>; 47 interrupts = <106 IRQ_TYPE_LEVEL_LOW>; 48 interrupt-names = "irq"; 49 }; 50 51 hpm1: usb-pd@3f { 52 compatible = "apple,cd321x"; 53 reg = <0x3f>; 54 interrupt-parent = <&pinctrl_ap>; 55 interrupts = <106 IRQ_TYPE_LEVEL_LOW>; 56 interrupt-names = "irq"; 57 }; 58}; 59 60/* 61 * Force the bus number assignments so that we can declare some of the 62 * on-board devices and properties that are populated by the bootloader 63 * (such as MAC addresses). 64 */ 65&port00 { 66 bus-range = <1 1>; 67}; 68