1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 2 /* 2 /* 3 * Apple Mac mini (M1, 2020) 3 * Apple Mac mini (M1, 2020) 4 * 4 * 5 * target-type: J274 5 * target-type: J274 6 * 6 * 7 * Copyright The Asahi Linux Contributors 7 * Copyright The Asahi Linux Contributors 8 */ 8 */ 9 9 10 /dts-v1/; 10 /dts-v1/; 11 11 12 #include "t8103.dtsi" 12 #include "t8103.dtsi" 13 #include "t8103-jxxx.dtsi" << 14 13 15 / { 14 / { 16 compatible = "apple,j274", "apple,t810 15 compatible = "apple,j274", "apple,t8103", "apple,arm-platform"; 17 model = "Apple Mac mini (M1, 2020)"; 16 model = "Apple Mac mini (M1, 2020)"; 18 17 19 aliases { 18 aliases { >> 19 serial0 = &serial0; 20 ethernet0 = ðernet0; 20 ethernet0 = ðernet0; 21 }; 21 }; 22 }; << 23 22 24 &bluetooth0 { !! 23 chosen { 25 brcm,board-type = "apple,atlantisb"; !! 24 #address-cells = <2>; >> 25 #size-cells = <2>; >> 26 ranges; >> 27 >> 28 stdout-path = "serial0"; >> 29 >> 30 framebuffer0: framebuffer@0 { >> 31 compatible = "apple,simple-framebuffer", "simple-framebuffer"; >> 32 reg = <0 0 0 0>; /* To be filled by loader */ >> 33 /* Format properties will be added by loader */ >> 34 status = "disabled"; >> 35 }; >> 36 }; >> 37 >> 38 memory@800000000 { >> 39 device_type = "memory"; >> 40 reg = <0x8 0 0x2 0>; /* To be filled by loader */ >> 41 }; 26 }; 42 }; 27 43 28 &wifi0 { !! 44 &serial0 { 29 brcm,board-type = "apple,atlantisb"; !! 45 status = "okay"; 30 }; 46 }; 31 47 32 /* 48 /* 33 * Force the bus number assignments so that we 49 * Force the bus number assignments so that we can declare some of the 34 * on-board devices and properties that are po 50 * on-board devices and properties that are populated by the bootloader 35 * (such as MAC addresses). 51 * (such as MAC addresses). 36 */ 52 */ >> 53 &port00 { >> 54 bus-range = <1 1>; >> 55 }; 37 56 38 &port01 { 57 &port01 { 39 bus-range = <2 2>; 58 bus-range = <2 2>; 40 status = "okay"; << 41 }; 59 }; 42 60 43 &port02 { 61 &port02 { 44 bus-range = <3 3>; 62 bus-range = <3 3>; 45 status = "okay"; << 46 ethernet0: ethernet@0,0 { 63 ethernet0: ethernet@0,0 { 47 reg = <0x30000 0x0 0x0 0x0 0x0 64 reg = <0x30000 0x0 0x0 0x0 0x0>; 48 /* To be filled by the loader 65 /* To be filled by the loader */ 49 local-mac-address = [00 10 18 66 local-mac-address = [00 10 18 00 00 00]; 50 }; 67 }; 51 }; << 52 << 53 &pcie0_dart_1 { << 54 status = "okay"; << 55 }; << 56 << 57 &pcie0_dart_2 { << 58 status = "okay"; << 59 }; << 60 << 61 &i2c2 { << 62 status = "okay"; << 63 }; 68 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.