xref: /freebsd/sys/contrib/device-tree/src/arm64/apple/t8103-j456.dts (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * Apple iMac (24-inch, 4x USB-C, M1, 2020)
4 *
5 * target-type: J456
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,j456", "apple,t8103", "apple,arm-platform";
17	model = "Apple iMac (24-inch, 4x USB-C, M1, 2021)";
18
19	aliases {
20		ethernet0 = &ethernet0;
21	};
22};
23
24&bluetooth0 {
25	brcm,board-type = "apple,capri";
26};
27
28&wifi0 {
29	brcm,board-type = "apple,capri";
30};
31
32&i2c0 {
33	hpm2: usb-pd@3b {
34		compatible = "apple,cd321x";
35		reg = <0x3b>;
36		interrupt-parent = <&pinctrl_ap>;
37		interrupts = <106 IRQ_TYPE_LEVEL_LOW>;
38		interrupt-names = "irq";
39	};
40
41	hpm3: usb-pd@3c {
42		compatible = "apple,cd321x";
43		reg = <0x3c>;
44		interrupt-parent = <&pinctrl_ap>;
45		interrupts = <106 IRQ_TYPE_LEVEL_LOW>;
46		interrupt-names = "irq";
47	};
48};
49
50/*
51 * Force the bus number assignments so that we can declare some of the
52 * on-board devices and properties that are populated by the bootloader
53 * (such as MAC addresses).
54 */
55
56&port01 {
57	bus-range = <2 2>;
58	status = "okay";
59};
60
61&port02 {
62	bus-range = <3 3>;
63	status = "okay";
64	ethernet0: ethernet@0,0 {
65		reg = <0x30000 0x0 0x0 0x0 0x0>;
66		/* To be filled by the loader */
67		local-mac-address = [00 10 18 00 00 00];
68	};
69};
70
71&pcie0_dart_1 {
72	status = "okay";
73};
74
75&pcie0_dart_2 {
76	status = "okay";
77};
78