Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+ OR MIT
0002 /*
0003  * Apple Mac mini (M1, 2020)
0004  *
0005  * target-type: J274
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,j274", "apple,t8103", "apple,arm-platform";
0017         model = "Apple Mac mini (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 &port01 {
0031         bus-range = <2 2>;
0032 };
0033 
0034 &port02 {
0035         bus-range = <3 3>;
0036         ethernet0: ethernet@0,0 {
0037                 reg = <0x30000 0x0 0x0 0x0 0x0>;
0038                 /* To be filled by the loader */
0039                 local-mac-address = [00 10 18 00 00 00];
0040         };
0041 };
0042 
0043 &i2c2 {
0044         status = "okay";
0045 };