1cad7a077SHector Martin// SPDX-License-Identifier: GPL-2.0+ OR MIT 2cad7a077SHector Martin/* 3cad7a077SHector Martin * MacBook Pro (14/16-inch, 2021) 4cad7a077SHector Martin * 5cad7a077SHector Martin * This file contains the parts common to J314 and J316 devices with both t6000 and t6001. 6cad7a077SHector Martin * 7cad7a077SHector Martin * target-type: J314s / J314c / J316s / J316c 8cad7a077SHector Martin * 9cad7a077SHector Martin * Copyright The Asahi Linux Contributors 10cad7a077SHector Martin */ 11cad7a077SHector Martin 12cad7a077SHector Martin/ { 13cad7a077SHector Martin aliases { 14cad7a077SHector Martin serial0 = &serial0; 15cad7a077SHector Martin wifi0 = &wifi0; 16cad7a077SHector Martin }; 17cad7a077SHector Martin 18cad7a077SHector Martin chosen { 19cad7a077SHector Martin #address-cells = <2>; 20cad7a077SHector Martin #size-cells = <2>; 21cad7a077SHector Martin ranges; 22cad7a077SHector Martin 23cad7a077SHector Martin stdout-path = "serial0"; 24cad7a077SHector Martin 25cad7a077SHector Martin framebuffer0: framebuffer@0 { 26cad7a077SHector Martin compatible = "apple,simple-framebuffer", "simple-framebuffer"; 27cad7a077SHector Martin reg = <0 0 0 0>; /* To be filled by loader */ 28cad7a077SHector Martin /* Format properties will be added by loader */ 29cad7a077SHector Martin status = "disabled"; 30cad7a077SHector Martin }; 31cad7a077SHector Martin }; 32cad7a077SHector Martin 33cad7a077SHector Martin memory@10000000000 { 34cad7a077SHector Martin device_type = "memory"; 35cad7a077SHector Martin reg = <0x100 0 0x2 0>; /* To be filled by loader */ 36cad7a077SHector Martin }; 37cad7a077SHector Martin}; 38cad7a077SHector Martin 39cad7a077SHector Martin&serial0 { 40cad7a077SHector Martin status = "okay"; 41cad7a077SHector Martin}; 42cad7a077SHector Martin 43cad7a077SHector Martin/* USB Type C */ 44cad7a077SHector Martin&i2c0 { 45cad7a077SHector Martin hpm0: usb-pd@38 { 46cad7a077SHector Martin compatible = "apple,cd321x"; 47cad7a077SHector Martin reg = <0x38>; 48cad7a077SHector Martin interrupt-parent = <&pinctrl_ap>; 49cad7a077SHector Martin interrupts = <174 IRQ_TYPE_LEVEL_LOW>; 50cad7a077SHector Martin interrupt-names = "irq"; 51cad7a077SHector Martin }; 52cad7a077SHector Martin 53cad7a077SHector Martin hpm1: usb-pd@3f { 54cad7a077SHector Martin compatible = "apple,cd321x"; 55cad7a077SHector Martin reg = <0x3f>; 56cad7a077SHector Martin interrupt-parent = <&pinctrl_ap>; 57cad7a077SHector Martin interrupts = <174 IRQ_TYPE_LEVEL_LOW>; 58cad7a077SHector Martin interrupt-names = "irq"; 59cad7a077SHector Martin }; 60cad7a077SHector Martin 61cad7a077SHector Martin hpm2: usb-pd@3b { 62cad7a077SHector Martin compatible = "apple,cd321x"; 63cad7a077SHector Martin reg = <0x3b>; 64cad7a077SHector Martin interrupt-parent = <&pinctrl_ap>; 65cad7a077SHector Martin interrupts = <174 IRQ_TYPE_LEVEL_LOW>; 66cad7a077SHector Martin interrupt-names = "irq"; 67cad7a077SHector Martin }; 68cad7a077SHector Martin 69cad7a077SHector Martin /* MagSafe port */ 70cad7a077SHector Martin hpm5: usb-pd@3a { 71cad7a077SHector Martin compatible = "apple,cd321x"; 72cad7a077SHector Martin reg = <0x3a>; 73cad7a077SHector Martin interrupt-parent = <&pinctrl_ap>; 74cad7a077SHector Martin interrupts = <174 IRQ_TYPE_LEVEL_LOW>; 75cad7a077SHector Martin interrupt-names = "irq"; 76cad7a077SHector Martin }; 77cad7a077SHector Martin}; 78cad7a077SHector Martin 79*51979fbbSJanne Grunau&nco_clkref { 80*51979fbbSJanne Grunau clock-frequency = <1068000000>; 81*51979fbbSJanne Grunau}; 82*51979fbbSJanne Grunau 83cad7a077SHector Martin/* PCIe devices */ 84cad7a077SHector Martin&port00 { 85cad7a077SHector Martin /* WLAN */ 86cad7a077SHector Martin bus-range = <1 1>; 87cad7a077SHector Martin wifi0: wifi@0,0 { 88cad7a077SHector Martin reg = <0x10000 0x0 0x0 0x0 0x0>; 89cad7a077SHector Martin /* To be filled by the loader */ 90cad7a077SHector Martin local-mac-address = [00 10 18 00 00 10]; 91cad7a077SHector Martin }; 92cad7a077SHector Martin}; 93cad7a077SHector Martin 94cad7a077SHector Martin&port01 { 95cad7a077SHector Martin /* SD card reader */ 96cad7a077SHector Martin bus-range = <2 2>; 97cad7a077SHector Martin sdhci0: mmc@0,0 { 98cad7a077SHector Martin compatible = "pci17a0,9755"; 99cad7a077SHector Martin reg = <0x20000 0x0 0x0 0x0 0x0>; 100cad7a077SHector Martin cd-inverted; 101cad7a077SHector Martin wp-inverted; 102cad7a077SHector Martin }; 103cad7a077SHector Martin}; 104cad7a077SHector Martin 105cad7a077SHector Martin&pcie0_dart_2 { 106cad7a077SHector Martin status = "disabled"; 107cad7a077SHector Martin}; 108cad7a077SHector Martin 109cad7a077SHector Martin&pcie0_dart_3 { 110cad7a077SHector Martin status = "disabled"; 111cad7a077SHector Martin}; 112cad7a077SHector Martin 113cad7a077SHector Martin/delete-node/ &port02; 114cad7a077SHector Martin/delete-node/ &port03; 115