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/*
43 * Force the bus number assignments so that we can declare some of the
44 * on-board devices and properties that are populated by the bootloader
45 * (such as MAC addresses).
46 */
47&port00 {
48	bus-range = <1 1>;
49};
50