xref: /linux/scripts/dtc/include-prefixes/arm64/apple/t8122-j615.dts (revision 9611c0ce215a66770ccbe5c126bf57ba8c31bcad)
1// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * Apple MacBook Air (15-inch, M3, 2024)
4 *
5 * target-type: J615
6 *
7 * Copyright The Asahi Linux Contributors
8 */
9
10/dts-v1/;
11
12#include "t8122.dtsi"
13#include "t8122-jxxx.dtsi"
14#include <dt-bindings/leds/common.h>
15
16/ {
17	compatible = "apple,j615", "apple,t8122", "apple,arm-platform";
18	model = "Apple MacBook Air (15-inch, M3, 2024)";
19
20	led-controller {
21		compatible = "pwm-leds";
22		led-0 {
23			pwms = <&fpwm1 0 40000>;
24			label = "kbd_backlight";
25			function = LED_FUNCTION_KBD_BACKLIGHT;
26			color = <LED_COLOR_ID_WHITE>;
27			max-brightness = <255>;
28			default-state = "keep";
29		};
30	};
31};
32
33&fpwm1 {
34	status = "okay";
35};
36