xref: /freebsd/sys/contrib/device-tree/src/arm64/apple/t8103-j293.dts (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * Apple MacBook Pro (13-inch, M1, 2020)
4 *
5 * target-type: J293
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,j293", "apple,t8103", "apple,arm-platform";
18	model = "Apple MacBook Pro (13-inch, M1, 2020)";
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&bluetooth0 {
34	brcm,board-type = "apple,honshu";
35};
36
37&wifi0 {
38	brcm,board-type = "apple,honshu";
39};
40
41&i2c2 {
42	status = "okay";
43};
44
45&i2c4 {
46	status = "okay";
47};
48
49&fpwm1 {
50	status = "okay";
51};
52