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 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 hpm0: usb-pd@38 { 49 compatible = "apple,cd321x"; 50 reg = <0x38>; 51 interrupt-parent = <&pinctrl_ap>; 52 interrupts = <106 IRQ_TYPE_LEVEL_LOW>; 53 interrupt-names = "irq"; 54 }; 55 56 hpm1: usb-pd@3f { 57 compatible = "apple,cd321x"; 58 reg = <0x3f>; 59 interrupt-parent = <&pinctrl_ap>; 60 interrupts = <106 IRQ_TYPE_LEVEL_LOW>; 61 interrupt-names = "irq"; 62 }; 63}; 64 65/* 66 * Force the bus number assignments so that we can declare some of the 67 * on-board devices and properties that are populated by the bootloader 68 * (such as MAC addresses). 69 */ 70&port00 { 71 bus-range = <1 1>; 72}; 73