Mark Kettenis | 2ec941f | 2021-10-23 16:58:06 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ OR MIT |
| 2 | /* |
| 3 | * Apple Macbook Pro (M1, 2020) |
| 4 | * |
| 5 | * target-type: J293 |
| 6 | * |
| 7 | * Copyright The Asahi Linux Contributors |
| 8 | */ |
| 9 | |
| 10 | /dts-v1/; |
| 11 | |
| 12 | #include "t8103.dtsi" |
| 13 | |
| 14 | / { |
| 15 | compatible = "apple,j293", "apple,t8103", "apple,arm-platform"; |
| 16 | model = "Apple Macbook Pro (M1, 2020)"; |
| 17 | |
| 18 | aliases { |
| 19 | serial0 = &serial0; |
| 20 | wifi0 = &wifi0; |
| 21 | }; |
| 22 | |
| 23 | chosen { |
| 24 | #address-cells = <2>; |
| 25 | #size-cells = <2>; |
| 26 | ranges; |
| 27 | |
| 28 | stdout-path = "serial0"; |
| 29 | |
| 30 | framebuffer0: framebuffer@0 { |
| 31 | compatible = "apple,simple-framebuffer", "simple-framebuffer"; |
| 32 | reg = <0 0 0 0>; /* To be filled by loader */ |
| 33 | /* Format properties will be added by loader */ |
| 34 | status = "disabled"; |
| 35 | }; |
| 36 | }; |
| 37 | |
| 38 | memory@800000000 { |
| 39 | device_type = "memory"; |
| 40 | reg = <0x8 0 0x2 0>; /* To be filled by loader */ |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | &serial0 { |
| 45 | status = "okay"; |
| 46 | }; |
| 47 | |
| 48 | &pcie0_dart_0 { |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | |
| 52 | &pcie0 { |
| 53 | status = "okay"; |
| 54 | |
| 55 | pci0: pci@0,0 { |
| 56 | device_type = "pci"; |
| 57 | reg = <0x0 0x0 0x0 0x0 0x0>; |
| 58 | pwren-gpios = <&smc 13 0>; |
| 59 | reset-gpios = <&pinctrl_ap 152 0>; |
| 60 | max-link-speed = <2>; |
| 61 | |
| 62 | #address-cells = <3>; |
| 63 | #size-cells = <2>; |
| 64 | ranges; |
| 65 | }; |
| 66 | }; |
| 67 | |
| 68 | &pci0 { |
| 69 | wifi0: network@0,0 { |
| 70 | reg = <0x10000 0x0 0x0 0x0 0x0>; |
| 71 | local-mac-address = [00 00 00 00 00 00]; |
| 72 | }; |
| 73 | }; |
| 74 | |
| 75 | &dwc3_0_dart_0 { |
| 76 | status = "okay"; |
| 77 | }; |
| 78 | |
| 79 | &dwc3_0_dart_1 { |
| 80 | status = "okay"; |
| 81 | }; |
| 82 | |
| 83 | &dwc3_0 { |
| 84 | status = "okay"; |
| 85 | }; |
| 86 | |
| 87 | &dwc3_1_dart_0 { |
| 88 | status = "okay"; |
| 89 | }; |
| 90 | |
| 91 | &dwc3_1_dart_1 { |
| 92 | status = "okay"; |
| 93 | }; |
| 94 | |
| 95 | &dwc3_1 { |
| 96 | status = "okay"; |
| 97 | }; |