xref: /linux/arch/arm64/boot/dts/apple/t8103-j457.dts (revision db4a3f0fbedb0398f77b9047e8b8bb2b49f355bb)
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, 2021)";
18
19	aliases {
20		ethernet0 = &ethernet0;
21	};
22};
23
24/*
25 * Adjust pcie0's iommu-map to account for the disabled port01.
26 */
27&pcie0 {
28	iommu-map = <0x100 &pcie0_dart_0 1 1>,
29			<0x200 &pcie0_dart_2 1 1>;
30};
31
32&bluetooth0 {
33	brcm,board-type = "apple,santorini";
34};
35
36&wifi0 {
37	brcm,board-type = "apple,santorini";
38};
39
40/*
41 * Force the bus number assignments so that we can declare some of the
42 * on-board devices and properties that are populated by the bootloader
43 * (such as MAC addresses).
44 */
45
46&port02 {
47	bus-range = <2 2>;
48	status = "okay";
49	ethernet0: ethernet@0,0 {
50		reg = <0x20000 0x0 0x0 0x0 0x0>;
51		/* To be filled by the loader */
52		local-mac-address = [00 10 18 00 00 00];
53	};
54};
55
56&pcie0_dart_2 {
57	status = "okay";
58};
59