Debian Codegraph @

scripts/dtc/include-prefixes/arm64/apple/t8103-j313.dts

raw
1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
2 /*
3 * Apple MacBook Air (M1, 2020)
4 *
5 * target-type: J313
6 *
7 * Copyright The Asahi Linux Contributors
8 */
9
10 /dts-v1/;
11
12 #include "t8103.dtsi"
13 #include "t8103-jxxx.dtsi"
14 #include <dt-bindings/leds/common.h>
15
16 / {
17 compatible = "apple,j313", "apple,t8103", "apple,arm-platform";
18 model = "Apple MacBook Air (M1, 2020)";
19 chassis-type = "laptop";
20
21 led-controller {
22 compatible = "pwm-leds";
23 led-0 {
24 pwms = <&fpwm1 0 40000>;
25 label = "kbd_backlight";
26 function = LED_FUNCTION_KBD_BACKLIGHT;
27 color = <LED_COLOR_ID_WHITE>;
28 max-brightness = <255>;
29 default-state = "keep";
30 };
31 };
32 };
33
34 &bluetooth0 {
35 brcm,board-type = "apple,shikoku";
36 };
37
38 &wifi0 {
39 brcm,board-type = "apple,shikoku";
40 };
41
42 &fpwm1 {
43 status = "okay";
44 };
45
46 /*
47 * Provide labels for the USB type C ports.
48 */
49
50 &typec0 {
51 label = "USB-C Left-back";
52 };
53
54 &typec1 {
55 label = "USB-C Left-front";
56 };