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"; 178bab661aSEmmanuel Vadot model = "Apple iMac (24-inch, 4x USB-C, M1, 2021)"; 18e67e8565SEmmanuel Vadot 19e67e8565SEmmanuel Vadot aliases { 20e67e8565SEmmanuel Vadot ethernet0 = ðernet0; 21e67e8565SEmmanuel Vadot }; 22e67e8565SEmmanuel Vadot}; 23e67e8565SEmmanuel Vadot 248bab661aSEmmanuel Vadot&bluetooth0 { 258bab661aSEmmanuel Vadot brcm,board-type = "apple,capri"; 268bab661aSEmmanuel Vadot}; 278bab661aSEmmanuel 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>; 58*fac71e4eSEmmanuel Vadot status = "okay"; 59e67e8565SEmmanuel Vadot}; 60e67e8565SEmmanuel Vadot 61e67e8565SEmmanuel Vadot&port02 { 62e67e8565SEmmanuel Vadot bus-range = <3 3>; 63*fac71e4eSEmmanuel Vadot status = "okay"; 64e67e8565SEmmanuel Vadot ethernet0: ethernet@0,0 { 65e67e8565SEmmanuel Vadot reg = <0x30000 0x0 0x0 0x0 0x0>; 66e67e8565SEmmanuel Vadot /* To be filled by the loader */ 67e67e8565SEmmanuel Vadot local-mac-address = [00 10 18 00 00 00]; 68e67e8565SEmmanuel Vadot }; 69e67e8565SEmmanuel Vadot}; 70*fac71e4eSEmmanuel Vadot 71*fac71e4eSEmmanuel Vadot&pcie0_dart_1 { 72*fac71e4eSEmmanuel Vadot status = "okay"; 73*fac71e4eSEmmanuel Vadot}; 74*fac71e4eSEmmanuel Vadot 75*fac71e4eSEmmanuel Vadot&pcie0_dart_2 { 76*fac71e4eSEmmanuel Vadot status = "okay"; 77*fac71e4eSEmmanuel Vadot}; 78