xref: /openbmc/linux/arch/arm64/boot/dts/apple/t8103-j457.dts (revision 4302b3fba12aebc48bd3f659591dfdb50c9c5dbb)
17c77ab91SJanne Grunau// SPDX-License-Identifier: GPL-2.0+ OR MIT
27c77ab91SJanne Grunau/*
37c77ab91SJanne Grunau * Apple iMac (24-inch, 2x USB-C, M1, 2020)
47c77ab91SJanne Grunau *
57c77ab91SJanne Grunau * target-type: J457
67c77ab91SJanne Grunau *
77c77ab91SJanne Grunau * Copyright The Asahi Linux Contributors
87c77ab91SJanne Grunau */
97c77ab91SJanne Grunau
107c77ab91SJanne Grunau/dts-v1/;
117c77ab91SJanne Grunau
127c77ab91SJanne Grunau#include "t8103.dtsi"
137c77ab91SJanne Grunau#include "t8103-jxxx.dtsi"
147c77ab91SJanne Grunau
157c77ab91SJanne Grunau/ {
167c77ab91SJanne Grunau	compatible = "apple,j457", "apple,t8103", "apple,arm-platform";
177c77ab91SJanne Grunau	model = "Apple iMac (24-inch, 2x USB-C, M1, 2020)";
187c77ab91SJanne Grunau
197c77ab91SJanne Grunau	aliases {
207c77ab91SJanne Grunau		ethernet0 = &ethernet0;
217c77ab91SJanne Grunau	};
227c77ab91SJanne Grunau};
237c77ab91SJanne Grunau
24*4302b3fbSHector Martin&wifi0 {
25*4302b3fbSHector Martin	brcm,board-type = "apple,santorini";
26*4302b3fbSHector Martin};
27*4302b3fbSHector Martin
287c77ab91SJanne Grunau/*
297c77ab91SJanne Grunau * Force the bus number assignments so that we can declare some of the
307c77ab91SJanne Grunau * on-board devices and properties that are populated by the bootloader
317c77ab91SJanne Grunau * (such as MAC addresses).
327c77ab91SJanne Grunau */
337c77ab91SJanne Grunau
347c77ab91SJanne Grunau&port02 {
357c77ab91SJanne Grunau	bus-range = <3 3>;
367c77ab91SJanne Grunau	ethernet0: ethernet@0,0 {
377c77ab91SJanne Grunau		reg = <0x30000 0x0 0x0 0x0 0x0>;
387c77ab91SJanne Grunau		/* To be filled by the loader */
397c77ab91SJanne Grunau		local-mac-address = [00 10 18 00 00 00];
407c77ab91SJanne Grunau	};
417c77ab91SJanne Grunau};
427c77ab91SJanne Grunau
437c77ab91SJanne Grunau/*
447c77ab91SJanne Grunau * Remove unused PCIe port and disable the associated DART.
457c77ab91SJanne Grunau */
467c77ab91SJanne Grunau
477c77ab91SJanne Grunau&pcie0_dart_1 {
487c77ab91SJanne Grunau	status = "disabled";
497c77ab91SJanne Grunau};
507c77ab91SJanne Grunau
517c77ab91SJanne Grunau/delete-node/ &port01;
52