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 wifi0 = &wifi0;
17 };
18
19 chosen {
20 #address-cells = <2>;
21 #size-cells = <2>;
22 ranges;
23
24 stdout-path = "serial0";
25
26 framebuffer0: framebuffer@0 {
27 compatible = "apple,simple-framebuffer", "simple-framebuffer";
28 reg = <0 0 0 0>; /* To be filled by loader */
29 /* Format properties will be added by loader */
30 status = "disabled";
31 };
32 };
33
34 memory@800000000 {
35 device_type = "memory";
36 reg = <0x8 0 0x2 0>; /* To be filled by loader */
37 };
38 };
39
40 &serial0 {
41 status = "okay";
42 };
43
44 &serial2 {
45 status = "okay";
46 };
47
48 &i2c0 {
49 hpm0: usb-pd@38 {
50 compatible = "apple,cd321x";
51 reg = <0x38>;
52 interrupt-parent = <&pinctrl_ap>;
53 interrupts = <106 IRQ_TYPE_LEVEL_LOW>;
54 interrupt-names = "irq";
55 };
56
57 hpm1: usb-pd@3f {
58 compatible = "apple,cd321x";
59 reg = <0x3f>;
60 interrupt-parent = <&pinctrl_ap>;
61 interrupts = <106 IRQ_TYPE_LEVEL_LOW>;
62 interrupt-names = "irq";
63 };
64 };
65
66 /*
67 * Force the bus number assignments so that we can declare some of the
68 * on-board devices and properties that are populated by the bootloader
69 * (such as MAC addresses).
70 */
71 &port00 {
72 bus-range = <1 1>;
73 wifi0: network@0,0 {
74 reg = <0x10000 0x0 0x0 0x0 0x0>;
75 /* To be filled by the loader */
76 local-mac-address = [00 00 00 00 00 00];
77 };
78 };
Cache object: 497ab2bfdba54aec973d7d5b9d6cbf73
|