1// SPDX-License-Identifier: GPL-2.0+ OR MIT 2/* 3 * Apple MacBook Pro (14-inch, M3, 2023) 4 * 5 * target-type: J504 6 * 7 * Copyright The Asahi Linux Contributors 8 */ 9 10/dts-v1/; 11 12#include "t8122.dtsi" 13#include "t8122-usbpd-i2c.dtsi" 14#include "t8122-jxxx.dtsi" 15#include <dt-bindings/leds/common.h> 16 17/ { 18 compatible = "apple,j504", "apple,t8122", "apple,arm-platform"; 19 model = "Apple MacBook Pro (14-inch, M3, 2023)"; 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&fpwm1 { 35 status = "okay"; 36}; 37 38