blob: 0ad908349f55406783942735a2e9dad54cda00ec [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * Apple MacBook Pro (13-inch, M1, 2022)
4 *
5 * target-type: J493
6 *
7 * Copyright The Asahi Linux Contributors
8 */
9
10/dts-v1/;
11
12#include "t8112.dtsi"
13#include "t8112-jxxx.dtsi"
14#include <dt-bindings/leds/common.h>
15
16/ {
17 compatible = "apple,j493", "apple,t8112", "apple,arm-platform";
18 model = "Apple MacBook Pro (13-inch, M2, 2022)";
19
20 aliases {
21 bluetooth0 = &bluetooth0;
22 wifi0 = &wifi0;
23 };
24
25 led-controller {
26 compatible = "pwm-leds";
27 led-0 {
28 pwms = <&fpwm1 0 40000>;
29 label = "kbd_backlight";
30 function = LED_FUNCTION_KBD_BACKLIGHT;
31 color = <LED_COLOR_ID_WHITE>;
32 max-brightness = <255>;
33 default-state = "keep";
34 };
35 };
36};
37
38/*
39 * Force the bus number assignments so that we can declare some of the
40 * on-board devices and properties that are populated by the bootloader
41 * (such as MAC addresses).
42 */
43&port00 {
44 bus-range = <1 1>;
45 wifi0: wifi@0,0 {
46 compatible = "pci14e4,4425";
47 reg = <0x10000 0x0 0x0 0x0 0x0>;
48 /* To be filled by the loader */
49 local-mac-address = [00 00 00 00 00 00];
50 apple,antenna-sku = "XX";
51 brcm,board-type = "apple,kyushu";
52 };
53
54 bluetooth0: bluetooth@0,1 {
55 compatible = "pci14e4,5f69";
56 reg = <0x10100 0x0 0x0 0x0 0x0>;
57 /* To be filled by the loader */
58 local-bd-address = [00 00 00 00 00 00];
59 brcm,board-type = "apple,kyushu";
60 };
61};
62
63&i2c4 {
64 status = "okay";
65};
66
67&fpwm1 {
68 status = "okay";
69};