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"; 17e67e8565SEmmanuel Vadot model = "Apple iMac (24-inch, 4x USB-C, M1, 2020)"; 18e67e8565SEmmanuel Vadot 19e67e8565SEmmanuel Vadot aliases { 20e67e8565SEmmanuel Vadot ethernet0 = ðernet0; 21e67e8565SEmmanuel Vadot }; 22e67e8565SEmmanuel Vadot}; 23e67e8565SEmmanuel Vadot 24*7ef62cebSEmmanuel Vadot&wifi0 { 25*7ef62cebSEmmanuel Vadot brcm,board-type = "apple,capri"; 26*7ef62cebSEmmanuel Vadot}; 27*7ef62cebSEmmanuel Vadot 28e67e8565SEmmanuel Vadot&i2c0 { 29e67e8565SEmmanuel Vadot hpm2: usb-pd@3b { 30e67e8565SEmmanuel Vadot compatible = "apple,cd321x"; 31e67e8565SEmmanuel Vadot reg = <0x3b>; 32e67e8565SEmmanuel Vadot interrupt-parent = <&pinctrl_ap>; 33e67e8565SEmmanuel Vadot interrupts = <106 IRQ_TYPE_LEVEL_LOW>; 34e67e8565SEmmanuel Vadot interrupt-names = "irq"; 35e67e8565SEmmanuel Vadot }; 36e67e8565SEmmanuel Vadot 37e67e8565SEmmanuel Vadot hpm3: usb-pd@3c { 38e67e8565SEmmanuel Vadot compatible = "apple,cd321x"; 39e67e8565SEmmanuel Vadot reg = <0x3c>; 40e67e8565SEmmanuel Vadot interrupt-parent = <&pinctrl_ap>; 41e67e8565SEmmanuel Vadot interrupts = <106 IRQ_TYPE_LEVEL_LOW>; 42e67e8565SEmmanuel Vadot interrupt-names = "irq"; 43e67e8565SEmmanuel Vadot }; 44e67e8565SEmmanuel Vadot}; 45e67e8565SEmmanuel Vadot 46e67e8565SEmmanuel Vadot/* 47e67e8565SEmmanuel Vadot * Force the bus number assignments so that we can declare some of the 48e67e8565SEmmanuel Vadot * on-board devices and properties that are populated by the bootloader 49e67e8565SEmmanuel Vadot * (such as MAC addresses). 50e67e8565SEmmanuel Vadot */ 51e67e8565SEmmanuel Vadot 52e67e8565SEmmanuel Vadot&port01 { 53e67e8565SEmmanuel Vadot bus-range = <2 2>; 54e67e8565SEmmanuel Vadot}; 55e67e8565SEmmanuel Vadot 56e67e8565SEmmanuel Vadot&port02 { 57e67e8565SEmmanuel Vadot bus-range = <3 3>; 58e67e8565SEmmanuel Vadot ethernet0: ethernet@0,0 { 59e67e8565SEmmanuel Vadot reg = <0x30000 0x0 0x0 0x0 0x0>; 60e67e8565SEmmanuel Vadot /* To be filled by the loader */ 61e67e8565SEmmanuel Vadot local-mac-address = [00 10 18 00 00 00]; 62e67e8565SEmmanuel Vadot }; 63e67e8565SEmmanuel Vadot}; 64