mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 10:18:38 +00:00
3dfef53610
Add preliminary device trees for the Apple M1 mini (2020) and Apple M1 Macbook Pro 13" (2020). Device tree bindings for the Apple M1 SoC are still being formalized and these device trees will be synchronized with the Linux kernel as needed. The device trees in this commit are based on the initial Apple M1 device trees from Linux 5.13, nodes for dart, pcie, pinctrl, pmgr, usb based on bindings on track for inclusion in Linux 5.15 and 5.16 and nodes for i2c, mailbox, nvme, pmu, spmi and watchdog that don't have a proposed binding yet. These device trees are provided as a reference only as U-Boot uses the device tree passed by the m1n1 bootloader. Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Simon Glass <sjg@chromium.org>
97 lines
1.4 KiB
Text
97 lines
1.4 KiB
Text
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
|
/*
|
|
* Apple Macbook Pro (M1, 2020)
|
|
*
|
|
* target-type: J293
|
|
*
|
|
* Copyright The Asahi Linux Contributors
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "t8103.dtsi"
|
|
|
|
/ {
|
|
compatible = "apple,j293", "apple,t8103", "apple,arm-platform";
|
|
model = "Apple Macbook Pro (M1, 2020)";
|
|
|
|
aliases {
|
|
serial0 = &serial0;
|
|
wifi0 = &wifi0;
|
|
};
|
|
|
|
chosen {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
stdout-path = "serial0";
|
|
|
|
framebuffer0: framebuffer@0 {
|
|
compatible = "apple,simple-framebuffer", "simple-framebuffer";
|
|
reg = <0 0 0 0>; /* To be filled by loader */
|
|
/* Format properties will be added by loader */
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
memory@800000000 {
|
|
device_type = "memory";
|
|
reg = <0x8 0 0x2 0>; /* To be filled by loader */
|
|
};
|
|
};
|
|
|
|
&serial0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&pcie0_dart_0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&pcie0 {
|
|
status = "okay";
|
|
|
|
pci0: pci@0,0 {
|
|
device_type = "pci";
|
|
reg = <0x0 0x0 0x0 0x0 0x0>;
|
|
pwren-gpios = <&smc 13 0>;
|
|
reset-gpios = <&pinctrl_ap 152 0>;
|
|
max-link-speed = <2>;
|
|
|
|
#address-cells = <3>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
};
|
|
};
|
|
|
|
&pci0 {
|
|
wifi0: network@0,0 {
|
|
reg = <0x10000 0x0 0x0 0x0 0x0>;
|
|
local-mac-address = [00 00 00 00 00 00];
|
|
};
|
|
};
|
|
|
|
&dwc3_0_dart_0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&dwc3_0_dart_1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&dwc3_0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&dwc3_1_dart_0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&dwc3_1_dart_1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&dwc3_1 {
|
|
status = "okay";
|
|
};
|