Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+ OR MIT
0002 /*
0003  * Apple iMac (24-inch, 2x USB-C, M1, 2020)
0004  *
0005  * target-type: J457
0006  *
0007  * Copyright The Asahi Linux Contributors
0008  */
0009 
0010 /dts-v1/;
0011 
0012 #include "t8103.dtsi"
0013 #include "t8103-jxxx.dtsi"
0014 
0015 / {
0016         compatible = "apple,j457", "apple,t8103", "apple,arm-platform";
0017         model = "Apple iMac (24-inch, 2x USB-C, M1, 2020)";
0018 
0019         aliases {
0020                 ethernet0 = &ethernet0;
0021         };
0022 };
0023 
0024 /*
0025  * Force the bus number assignments so that we can declare some of the
0026  * on-board devices and properties that are populated by the bootloader
0027  * (such as MAC addresses).
0028  */
0029 
0030 &port02 {
0031         bus-range = <3 3>;
0032         ethernet0: ethernet@0,0 {
0033                 reg = <0x30000 0x0 0x0 0x0 0x0>;
0034                 /* To be filled by the loader */
0035                 local-mac-address = [00 10 18 00 00 00];
0036         };
0037 };
0038 
0039 /*
0040  * Remove unused PCIe port and disable the associated DART.
0041  */
0042 
0043 &pcie0_dart_1 {
0044         status = "disabled";
0045 };
0046 
0047 /delete-node/ &port01;