1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 2 /* 2 /* 3 * Mac Studio (2022) 3 * Mac Studio (2022) 4 * 4 * 5 * This file contains the parts common to J375 5 * This file contains the parts common to J375 devices with both t6001 and t6002. 6 * 6 * 7 * target-type: J375c / J375d 7 * target-type: J375c / J375d 8 * 8 * 9 * Copyright The Asahi Linux Contributors 9 * Copyright The Asahi Linux Contributors 10 */ 10 */ 11 11 12 / { 12 / { 13 aliases { 13 aliases { 14 serial0 = &serial0; 14 serial0 = &serial0; 15 wifi0 = &wifi0; 15 wifi0 = &wifi0; 16 }; 16 }; 17 17 18 chosen { 18 chosen { 19 #address-cells = <2>; 19 #address-cells = <2>; 20 #size-cells = <2>; 20 #size-cells = <2>; 21 ranges; 21 ranges; 22 22 23 stdout-path = "serial0"; 23 stdout-path = "serial0"; 24 24 25 framebuffer0: framebuffer@0 { 25 framebuffer0: framebuffer@0 { 26 compatible = "apple,si 26 compatible = "apple,simple-framebuffer", "simple-framebuffer"; 27 reg = <0 0 0 0>; /* To 27 reg = <0 0 0 0>; /* To be filled by loader */ 28 /* Format properties w 28 /* Format properties will be added by loader */ 29 status = "disabled"; 29 status = "disabled"; 30 }; 30 }; 31 }; 31 }; 32 32 33 memory@10000000000 { 33 memory@10000000000 { 34 device_type = "memory"; 34 device_type = "memory"; 35 reg = <0x100 0 0x2 0>; /* To b 35 reg = <0x100 0 0x2 0>; /* To be filled by loader */ 36 }; 36 }; 37 }; 37 }; 38 38 39 &serial0 { 39 &serial0 { 40 status = "okay"; 40 status = "okay"; 41 }; 41 }; 42 42 43 /* USB Type C */ 43 /* USB Type C */ 44 &i2c0 { 44 &i2c0 { 45 hpm0: usb-pd@38 { 45 hpm0: usb-pd@38 { 46 compatible = "apple,cd321x"; 46 compatible = "apple,cd321x"; 47 reg = <0x38>; 47 reg = <0x38>; 48 interrupt-parent = <&pinctrl_a 48 interrupt-parent = <&pinctrl_ap>; 49 interrupts = <174 IRQ_TYPE_LEV 49 interrupts = <174 IRQ_TYPE_LEVEL_LOW>; 50 interrupt-names = "irq"; 50 interrupt-names = "irq"; 51 }; 51 }; 52 52 53 hpm1: usb-pd@3f { 53 hpm1: usb-pd@3f { 54 compatible = "apple,cd321x"; 54 compatible = "apple,cd321x"; 55 reg = <0x3f>; 55 reg = <0x3f>; 56 interrupt-parent = <&pinctrl_a 56 interrupt-parent = <&pinctrl_ap>; 57 interrupts = <174 IRQ_TYPE_LEV 57 interrupts = <174 IRQ_TYPE_LEVEL_LOW>; 58 interrupt-names = "irq"; 58 interrupt-names = "irq"; 59 }; 59 }; 60 60 61 hpm2: usb-pd@3b { 61 hpm2: usb-pd@3b { 62 compatible = "apple,cd321x"; 62 compatible = "apple,cd321x"; 63 reg = <0x3b>; 63 reg = <0x3b>; 64 interrupt-parent = <&pinctrl_a 64 interrupt-parent = <&pinctrl_ap>; 65 interrupts = <174 IRQ_TYPE_LEV 65 interrupts = <174 IRQ_TYPE_LEVEL_LOW>; 66 interrupt-names = "irq"; 66 interrupt-names = "irq"; 67 }; 67 }; 68 68 69 hpm3: usb-pd@3c { 69 hpm3: usb-pd@3c { 70 compatible = "apple,cd321x"; 70 compatible = "apple,cd321x"; 71 reg = <0x3c>; 71 reg = <0x3c>; 72 interrupt-parent = <&pinctrl_a 72 interrupt-parent = <&pinctrl_ap>; 73 interrupts = <174 IRQ_TYPE_LEV 73 interrupts = <174 IRQ_TYPE_LEVEL_LOW>; 74 interrupt-names = "irq"; 74 interrupt-names = "irq"; 75 }; 75 }; 76 }; 76 }; 77 77 78 &nco_clkref { 78 &nco_clkref { 79 clock-frequency = <1068000000>; 79 clock-frequency = <1068000000>; 80 }; 80 }; 81 81 82 /* PCIe devices */ 82 /* PCIe devices */ 83 &port00 { 83 &port00 { 84 /* WLAN */ 84 /* WLAN */ 85 bus-range = <1 1>; 85 bus-range = <1 1>; 86 wifi0: wifi@0,0 { 86 wifi0: wifi@0,0 { 87 reg = <0x10000 0x0 0x0 0x0 0x0 87 reg = <0x10000 0x0 0x0 0x0 0x0>; 88 /* To be filled by the loader 88 /* To be filled by the loader */ 89 local-mac-address = [00 10 18 89 local-mac-address = [00 10 18 00 00 10]; 90 }; 90 }; 91 }; 91 }; 92 92 93 &port01 { 93 &port01 { 94 /* SD card reader */ 94 /* SD card reader */ 95 bus-range = <2 2>; 95 bus-range = <2 2>; 96 sdhci0: mmc@0,0 { 96 sdhci0: mmc@0,0 { 97 compatible = "pci17a0,9755"; 97 compatible = "pci17a0,9755"; 98 reg = <0x20000 0x0 0x0 0x0 0x0 98 reg = <0x20000 0x0 0x0 0x0 0x0>; 99 cd-inverted; 99 cd-inverted; 100 wp-inverted; 100 wp-inverted; 101 }; 101 }; 102 }; 102 }; 103 103 104 &port02 { 104 &port02 { 105 /* 10 Gbit Ethernet */ 105 /* 10 Gbit Ethernet */ 106 bus-range = <3 3>; 106 bus-range = <3 3>; 107 status = "okay"; 107 status = "okay"; 108 ethernet0: ethernet@0,0 { 108 ethernet0: ethernet@0,0 { 109 reg = <0x30000 0x0 0x0 0x0 0x0 109 reg = <0x30000 0x0 0x0 0x0 0x0>; 110 /* To be filled by the loader 110 /* To be filled by the loader */ 111 local-mac-address = [00 10 18 111 local-mac-address = [00 10 18 00 00 00]; 112 }; 112 }; 113 }; 113 }; 114 114 115 &port03 { 115 &port03 { 116 /* USB xHCI */ 116 /* USB xHCI */ 117 bus-range = <4 4>; 117 bus-range = <4 4>; 118 status = "okay"; 118 status = "okay"; 119 }; 119 }; 120 120 121 121 122 &pcie0_dart_2 { 122 &pcie0_dart_2 { 123 status = "okay"; 123 status = "okay"; 124 }; 124 }; 125 125 126 &pcie0_dart_3 { 126 &pcie0_dart_3 { 127 status = "okay"; 127 status = "okay"; 128 }; 128 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.