xref: /freebsd/sys/contrib/device-tree/src/arm64/apple/t8103-j293.dts (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1e67e8565SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ OR MIT
2e67e8565SEmmanuel Vadot/*
3e67e8565SEmmanuel Vadot * Apple MacBook Pro (13-inch, M1, 2020)
4e67e8565SEmmanuel Vadot *
5e67e8565SEmmanuel Vadot * target-type: J293
6e67e8565SEmmanuel Vadot *
7e67e8565SEmmanuel Vadot * Copyright The Asahi Linux Contributors
8e67e8565SEmmanuel Vadot */
9e67e8565SEmmanuel Vadot
10e67e8565SEmmanuel Vadot/dts-v1/;
11e67e8565SEmmanuel Vadot
12e67e8565SEmmanuel Vadot#include "t8103.dtsi"
13e67e8565SEmmanuel Vadot#include "t8103-jxxx.dtsi"
14*fac71e4eSEmmanuel Vadot#include <dt-bindings/leds/common.h>
15e67e8565SEmmanuel Vadot
16e67e8565SEmmanuel Vadot/ {
17e67e8565SEmmanuel Vadot	compatible = "apple,j293", "apple,t8103", "apple,arm-platform";
18e67e8565SEmmanuel Vadot	model = "Apple MacBook Pro (13-inch, M1, 2020)";
19*fac71e4eSEmmanuel Vadot
20*fac71e4eSEmmanuel Vadot	led-controller {
21*fac71e4eSEmmanuel Vadot		compatible = "pwm-leds";
22*fac71e4eSEmmanuel Vadot		led-0 {
23*fac71e4eSEmmanuel Vadot			pwms = <&fpwm1 0 40000>;
24*fac71e4eSEmmanuel Vadot			label = "kbd_backlight";
25*fac71e4eSEmmanuel Vadot			function = LED_FUNCTION_KBD_BACKLIGHT;
26*fac71e4eSEmmanuel Vadot			color = <LED_COLOR_ID_WHITE>;
27*fac71e4eSEmmanuel Vadot			max-brightness = <255>;
28*fac71e4eSEmmanuel Vadot			default-state = "keep";
29*fac71e4eSEmmanuel Vadot		};
30*fac71e4eSEmmanuel Vadot	};
31e67e8565SEmmanuel Vadot};
32e67e8565SEmmanuel Vadot
338bab661aSEmmanuel Vadot&bluetooth0 {
348bab661aSEmmanuel Vadot	brcm,board-type = "apple,honshu";
358bab661aSEmmanuel Vadot};
368bab661aSEmmanuel Vadot
377ef62cebSEmmanuel Vadot&wifi0 {
387ef62cebSEmmanuel Vadot	brcm,board-type = "apple,honshu";
397ef62cebSEmmanuel Vadot};
407ef62cebSEmmanuel Vadot
41e67e8565SEmmanuel Vadot&i2c2 {
42e67e8565SEmmanuel Vadot	status = "okay";
43e67e8565SEmmanuel Vadot};
44e67e8565SEmmanuel Vadot
45e67e8565SEmmanuel Vadot&i2c4 {
46e67e8565SEmmanuel Vadot	status = "okay";
47e67e8565SEmmanuel Vadot};
48*fac71e4eSEmmanuel Vadot
49*fac71e4eSEmmanuel Vadot&fpwm1 {
50*fac71e4eSEmmanuel Vadot	status = "okay";
51*fac71e4eSEmmanuel Vadot};
52