1// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * Apple iMac (24-inch, 2x USB-C, M1, 2020)
4 *
5 * target-type: J457
6 *
7 * Copyright The Asahi Linux Contributors
8 */
9
10/dts-v1/;
11
12#include "t8103.dtsi"
13#include "t8103-jxxx.dtsi"
14
15/ {
16	compatible = "apple,j457", "apple,t8103", "apple,arm-platform";
17	model = "Apple iMac (24-inch, 2x USB-C, M1, 2020)";
18
19	aliases {
20		ethernet0 = &ethernet0;
21	};
22};
23
24/*
25 * Force the bus number assignments so that we can declare some of the
26 * on-board devices and properties that are populated by the bootloader
27 * (such as MAC addresses).
28 */
29
30&port02 {
31	bus-range = <3 3>;
32	ethernet0: ethernet@0,0 {
33		reg = <0x30000 0x0 0x0 0x0 0x0>;
34		/* To be filled by the loader */
35		local-mac-address = [00 10 18 00 00 00];
36	};
37};
38
39/*
40 * Remove unused PCIe port and disable the associated DART.
41 */
42
43&pcie0_dart_1 {
44	status = "disabled";
45};
46
47/delete-node/ &port01;
48