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