xref: /freebsd/sys/contrib/device-tree/src/arm64/apple/t8103-j456.dts (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1e67e8565SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ OR MIT
2e67e8565SEmmanuel Vadot/*
3e67e8565SEmmanuel Vadot * Apple iMac (24-inch, 4x USB-C, M1, 2020)
4e67e8565SEmmanuel Vadot *
5e67e8565SEmmanuel Vadot * target-type: J456
6e67e8565SEmmanuel Vadot *
7e67e8565SEmmanuel Vadot * Copyright The Asahi Linux Contributors
8e67e8565SEmmanuel Vadot */
9e67e8565SEmmanuel Vadot
10e67e8565SEmmanuel Vadot/dts-v1/;
11e67e8565SEmmanuel Vadot
12e67e8565SEmmanuel Vadot#include "t8103.dtsi"
13e67e8565SEmmanuel Vadot#include "t8103-jxxx.dtsi"
14e67e8565SEmmanuel Vadot
15e67e8565SEmmanuel Vadot/ {
16e67e8565SEmmanuel Vadot	compatible = "apple,j456", "apple,t8103", "apple,arm-platform";
17*8bab661aSEmmanuel Vadot	model = "Apple iMac (24-inch, 4x USB-C, M1, 2021)";
18e67e8565SEmmanuel Vadot
19e67e8565SEmmanuel Vadot	aliases {
20e67e8565SEmmanuel Vadot		ethernet0 = &ethernet0;
21e67e8565SEmmanuel Vadot	};
22e67e8565SEmmanuel Vadot};
23e67e8565SEmmanuel Vadot
24*8bab661aSEmmanuel Vadot&bluetooth0 {
25*8bab661aSEmmanuel Vadot	brcm,board-type = "apple,capri";
26*8bab661aSEmmanuel Vadot};
27*8bab661aSEmmanuel Vadot
287ef62cebSEmmanuel Vadot&wifi0 {
297ef62cebSEmmanuel Vadot	brcm,board-type = "apple,capri";
307ef62cebSEmmanuel Vadot};
317ef62cebSEmmanuel Vadot
32e67e8565SEmmanuel Vadot&i2c0 {
33e67e8565SEmmanuel Vadot	hpm2: usb-pd@3b {
34e67e8565SEmmanuel Vadot		compatible = "apple,cd321x";
35e67e8565SEmmanuel Vadot		reg = <0x3b>;
36e67e8565SEmmanuel Vadot		interrupt-parent = <&pinctrl_ap>;
37e67e8565SEmmanuel Vadot		interrupts = <106 IRQ_TYPE_LEVEL_LOW>;
38e67e8565SEmmanuel Vadot		interrupt-names = "irq";
39e67e8565SEmmanuel Vadot	};
40e67e8565SEmmanuel Vadot
41e67e8565SEmmanuel Vadot	hpm3: usb-pd@3c {
42e67e8565SEmmanuel Vadot		compatible = "apple,cd321x";
43e67e8565SEmmanuel Vadot		reg = <0x3c>;
44e67e8565SEmmanuel Vadot		interrupt-parent = <&pinctrl_ap>;
45e67e8565SEmmanuel Vadot		interrupts = <106 IRQ_TYPE_LEVEL_LOW>;
46e67e8565SEmmanuel Vadot		interrupt-names = "irq";
47e67e8565SEmmanuel Vadot	};
48e67e8565SEmmanuel Vadot};
49e67e8565SEmmanuel Vadot
50e67e8565SEmmanuel Vadot/*
51e67e8565SEmmanuel Vadot * Force the bus number assignments so that we can declare some of the
52e67e8565SEmmanuel Vadot * on-board devices and properties that are populated by the bootloader
53e67e8565SEmmanuel Vadot * (such as MAC addresses).
54e67e8565SEmmanuel Vadot */
55e67e8565SEmmanuel Vadot
56e67e8565SEmmanuel Vadot&port01 {
57e67e8565SEmmanuel Vadot	bus-range = <2 2>;
58e67e8565SEmmanuel Vadot};
59e67e8565SEmmanuel Vadot
60e67e8565SEmmanuel Vadot&port02 {
61e67e8565SEmmanuel Vadot	bus-range = <3 3>;
62e67e8565SEmmanuel Vadot	ethernet0: ethernet@0,0 {
63e67e8565SEmmanuel Vadot		reg = <0x30000 0x0 0x0 0x0 0x0>;
64e67e8565SEmmanuel Vadot		/* To be filled by the loader */
65e67e8565SEmmanuel Vadot		local-mac-address = [00 10 18 00 00 00];
66e67e8565SEmmanuel Vadot	};
67e67e8565SEmmanuel Vadot};
68