38 lines
696 B
Devicetree
38 lines
696 B
Devicetree
// SPDX-License-Identifier: GPL-2.0+ OR MIT
|
|
/*
|
|
* Apple MacBook Pro (14-inch, M3, 2023)
|
|
*
|
|
* target-type: J504
|
|
*
|
|
* Copyright The Asahi Linux Contributors
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "t8122.dtsi"
|
|
#include "t8122-usbpd-i2c.dtsi"
|
|
#include "t8122-jxxx.dtsi"
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
/ {
|
|
compatible = "apple,j504", "apple,t8122", "apple,arm-platform";
|
|
model = "Apple MacBook Pro (14-inch, M3, 2023)";
|
|
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
|
|
&fpwm1 {
|
|
status = "okay";
|
|
};
|
|
|