1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 2 /* 2 /* 3 * Apple MacBook Pro (13-inch, M1, 2020) 3 * Apple MacBook Pro (13-inch, M1, 2020) 4 * 4 * 5 * target-type: J293 5 * target-type: J293 6 * 6 * 7 * Copyright The Asahi Linux Contributors 7 * Copyright The Asahi Linux Contributors 8 */ 8 */ 9 9 10 /dts-v1/; 10 /dts-v1/; 11 11 12 #include "t8103.dtsi" 12 #include "t8103.dtsi" 13 #include "t8103-jxxx.dtsi" 13 #include "t8103-jxxx.dtsi" 14 #include <dt-bindings/leds/common.h> << 15 14 16 / { 15 / { 17 compatible = "apple,j293", "apple,t810 16 compatible = "apple,j293", "apple,t8103", "apple,arm-platform"; 18 model = "Apple MacBook Pro (13-inch, M 17 model = "Apple MacBook Pro (13-inch, M1, 2020)"; 19 << 20 led-controller { << 21 compatible = "pwm-leds"; << 22 led-0 { << 23 pwms = <&fpwm1 0 40000 << 24 label = "kbd_backlight << 25 function = LED_FUNCTIO << 26 color = <LED_COLOR_ID_ << 27 max-brightness = <255> << 28 default-state = "keep" << 29 }; << 30 }; << 31 }; 18 }; 32 19 33 &bluetooth0 { !! 20 /* 34 brcm,board-type = "apple,honshu"; !! 21 * Remove unused PCIe ports and disable the associated DARTs. >> 22 */ >> 23 >> 24 &pcie0_dart_1 { >> 25 status = "disabled"; 35 }; 26 }; 36 27 37 &wifi0 { !! 28 &pcie0_dart_2 { 38 brcm,board-type = "apple,honshu"; !! 29 status = "disabled"; 39 }; 30 }; 40 31 >> 32 /delete-node/ &port01; >> 33 /delete-node/ &port02; >> 34 41 &i2c2 { 35 &i2c2 { 42 status = "okay"; 36 status = "okay"; 43 }; 37 }; 44 38 45 &i2c4 { 39 &i2c4 { 46 status = "okay"; << 47 }; << 48 << 49 &fpwm1 { << 50 status = "okay"; 40 status = "okay"; 51 }; 41 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.