12d5ce3fbSHector Martin// SPDX-License-Identifier: GPL-2.0+ OR MIT 22d5ce3fbSHector Martin/* 32d5ce3fbSHector Martin * Apple MacBook Pro (13-inch, M1, 2022) 42d5ce3fbSHector Martin * 52d5ce3fbSHector Martin * target-type: J493 62d5ce3fbSHector Martin * 72d5ce3fbSHector Martin * Copyright The Asahi Linux Contributors 82d5ce3fbSHector Martin */ 92d5ce3fbSHector Martin 102d5ce3fbSHector Martin/dts-v1/; 112d5ce3fbSHector Martin 122d5ce3fbSHector Martin#include "t8112.dtsi" 132d5ce3fbSHector Martin#include "t8112-jxxx.dtsi" 14*50aa09acSSasha Finkelstein#include <dt-bindings/leds/common.h> 152d5ce3fbSHector Martin 162d5ce3fbSHector Martin/ { 172d5ce3fbSHector Martin compatible = "apple,j493", "apple,t8112", "apple,arm-platform"; 182d5ce3fbSHector Martin model = "Apple MacBook Pro (13-inch, M2, 2022)"; 192d5ce3fbSHector Martin 202d5ce3fbSHector Martin aliases { 212d5ce3fbSHector Martin bluetooth0 = &bluetooth0; 222d5ce3fbSHector Martin wifi0 = &wifi0; 232d5ce3fbSHector Martin }; 24*50aa09acSSasha Finkelstein 25*50aa09acSSasha Finkelstein led-controller { 26*50aa09acSSasha Finkelstein compatible = "pwm-leds"; 27*50aa09acSSasha Finkelstein led-0 { 28*50aa09acSSasha Finkelstein pwms = <&fpwm1 0 40000>; 29*50aa09acSSasha Finkelstein label = "kbd_backlight"; 30*50aa09acSSasha Finkelstein function = LED_FUNCTION_KBD_BACKLIGHT; 31*50aa09acSSasha Finkelstein color = <LED_COLOR_ID_WHITE>; 32*50aa09acSSasha Finkelstein max-brightness = <255>; 33*50aa09acSSasha Finkelstein default-state = "keep"; 34*50aa09acSSasha Finkelstein }; 35*50aa09acSSasha Finkelstein }; 362d5ce3fbSHector Martin}; 372d5ce3fbSHector Martin 382d5ce3fbSHector Martin/* 392d5ce3fbSHector Martin * Force the bus number assignments so that we can declare some of the 402d5ce3fbSHector Martin * on-board devices and properties that are populated by the bootloader 412d5ce3fbSHector Martin * (such as MAC addresses). 422d5ce3fbSHector Martin */ 432d5ce3fbSHector Martin&port00 { 442d5ce3fbSHector Martin bus-range = <1 1>; 452d5ce3fbSHector Martin wifi0: wifi@0,0 { 462d5ce3fbSHector Martin compatible = "pci14e4,4425"; 472d5ce3fbSHector Martin reg = <0x10000 0x0 0x0 0x0 0x0>; 482d5ce3fbSHector Martin /* To be filled by the loader */ 492d5ce3fbSHector Martin local-mac-address = [00 00 00 00 00 00]; 502d5ce3fbSHector Martin apple,antenna-sku = "XX"; 512d5ce3fbSHector Martin brcm,board-type = "apple,kyushu"; 522d5ce3fbSHector Martin }; 532d5ce3fbSHector Martin 542d5ce3fbSHector Martin bluetooth0: bluetooth@0,1 { 552d5ce3fbSHector Martin compatible = "pci14e4,5f69"; 562d5ce3fbSHector Martin reg = <0x10100 0x0 0x0 0x0 0x0>; 572d5ce3fbSHector Martin /* To be filled by the loader */ 582d5ce3fbSHector Martin local-bd-address = [00 00 00 00 00 00]; 592d5ce3fbSHector Martin brcm,board-type = "apple,kyushu"; 602d5ce3fbSHector Martin }; 612d5ce3fbSHector Martin}; 622d5ce3fbSHector Martin 632d5ce3fbSHector Martin&i2c4 { 642d5ce3fbSHector Martin status = "okay"; 652d5ce3fbSHector Martin}; 66*50aa09acSSasha Finkelstein 67*50aa09acSSasha Finkelstein&fpwm1 { 68*50aa09acSSasha Finkelstein status = "okay"; 69*50aa09acSSasha Finkelstein}; 70