2023-08-30 17:31:07 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
|
|
|
/*
|
|
|
|
* Apple MacBook Air (M1, 2020)
|
|
|
|
*
|
|
|
|
* target-type: J313
|
|
|
|
*
|
|
|
|
* Copyright The Asahi Linux Contributors
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "t8103.dtsi"
|
|
|
|
#include "t8103-jxxx.dtsi"
|
2023-10-24 12:59:35 +02:00
|
|
|
#include <dt-bindings/leds/common.h>
|
2023-08-30 17:31:07 +02:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "apple,j313", "apple,t8103", "apple,arm-platform";
|
|
|
|
model = "Apple MacBook Air (M1, 2020)";
|
2023-10-24 12:59:35 +02:00
|
|
|
|
|
|
|
led-controller {
|
|
|
|
compatible = "pwm-leds";
|
|
|
|
led-0 {
|
|
|
|
pwms = <&fpwm1 0 40000>;
|
|
|
|
label = "kbd_backlight";
|
|
|
|
function = LED_FUNCTION_KBD_BACKLIGHT;
|
|
|
|
color = <LED_COLOR_ID_WHITE>;
|
|
|
|
max-brightness = <255>;
|
|
|
|
default-state = "keep";
|
|
|
|
};
|
|
|
|
};
|
2023-08-30 17:31:07 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
&bluetooth0 {
|
|
|
|
brcm,board-type = "apple,shikoku";
|
|
|
|
};
|
|
|
|
|
|
|
|
&wifi0 {
|
|
|
|
brcm,board-type = "apple,shikoku";
|
|
|
|
};
|
2023-10-24 12:59:35 +02:00
|
|
|
|
|
|
|
&fpwm1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|