xref: /linux/arch/arm64/boot/dts/apple/t603x-j514-j516.dtsi (revision 67f8bc848ee31831336bd478e57d2f993551902e)
1// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * MacBook Pro (14/16-inch, 2023)
4 *
5 * This file contains the parts common to J514 and J516 devices with t6030,
6 * t6031 and t6034.
7 *
8 * target-type: J514s / J514m / J514c / J516s / J516m / J516c
9 *
10 * Copyright The Asahi Linux Contributors
11 */
12
13/*
14 * These models are essentially identical to the previous generations, other
15 * than the GPIO indices and using SPMI based USB Type-C port controllers.
16 */
17
18#include <dt-bindings/leds/common.h>
19
20/ {
21	chassis-type = "laptop";
22
23	aliases {
24		serial0 = &serial0;
25	};
26
27	chosen {
28		#address-cells = <2>;
29		#size-cells = <2>;
30		ranges;
31
32		stdout-path = "serial0";
33
34		framebuffer0: framebuffer@0 {
35			compatible = "apple,simple-framebuffer", "simple-framebuffer";
36			reg = <0 0 0 0>; /* To be filled by loader */
37			/* Format properties will be added by loader */
38			status = "disabled";
39			power-domains = <&ps_disp_fe>;
40		};
41	};
42
43	memory@10000000000 {
44		device_type = "memory";
45		reg = <0x100 0 0x2 0>; /* To be filled by loader */
46	};
47
48	led-controller {
49		compatible = "pwm-leds";
50		led-0 {
51			pwms = <&fpwm0 0 40000>;
52			function = LED_FUNCTION_KBD_BACKLIGHT;
53			color = <LED_COLOR_ID_WHITE>;
54			max-brightness = <255>;
55			default-state = "keep";
56		};
57	};
58};
59
60&serial0 {
61	status = "okay";
62};
63
64&fpwm0 {
65	status = "okay";
66};
67