-
Notifications
You must be signed in to change notification settings - Fork 115
arm64: dts: apple: M3 SMC, NVMe, MTP, OPP and cpufreq, and J613 board #445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: bits/001-devicetree-m3
Are you sure you want to change the base?
Changes from all commits
16842d0
ff49d90
ddb3a57
6445ee7
0156b7c
1b5d498
9392ee9
734b3de
e320a67
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| // SPDX-License-Identifier: GPL-2.0+ OR MIT | ||
| /* | ||
| * Apple MacBook Air (13-inch, M3, 2024) | ||
| * | ||
| * target-type: J613 | ||
| * | ||
| * Copyright The Asahi Linux Contributors | ||
| */ | ||
|
|
||
| /dts-v1/; | ||
|
|
||
| #include "t8122.dtsi" | ||
| #include "t8122-jxxx.dtsi" | ||
| #include <dt-bindings/leds/common.h> | ||
|
|
||
| / { | ||
| compatible = "apple,j613", "apple,t8122", "apple,arm-platform"; | ||
| model = "Apple MacBook Air (13-inch, M3, 2024)"; | ||
|
|
||
| led-controller { | ||
| compatible = "pwm-leds"; | ||
| led-0 { | ||
| pwms = <&fpwm1 0 40000>; | ||
| label = "kbd_backlight"; | ||
| function = LED_FUNCTION_KBD_BACKLIGHT; | ||
| color = <LED_COLOR_ID_WHITE>; | ||
| max-brightness = <255>; | ||
| default-state = "keep"; | ||
| }; | ||
| }; | ||
| }; | ||
|
|
||
| &framebuffer0 { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this can be removed. I moved the |
||
| // panel = &panel; | ||
| power-domains = <&ps_disp_cpu>, <&ps_dptx_ext_phy>; | ||
| }; | ||
|
|
||
| &port00 { | ||
| bus-range = <1 1>; | ||
| pwren-gpios = <&smc_gpio 13 GPIO_ACTIVE_HIGH>; | ||
| }; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm missing sub nodes for the wifi and bluetooth functions for the board type and mac adresses |
||
|
|
||
| &fpwm1 { | ||
| status = "okay"; | ||
| }; | ||
|
|
||
| &mtp { | ||
| status = "okay"; | ||
| }; | ||
|
|
||
| &mtp_mbox { | ||
| status = "okay"; | ||
| }; | ||
|
|
||
| &mtp_dart { | ||
| status = "okay"; | ||
| }; | ||
|
|
||
| &mtp_dockchannel { | ||
| status = "okay"; | ||
| }; | ||
|
|
||
| &mtp_hid { | ||
| apple,afe-reset-gpios = <&smc_gpio 8 GPIO_ACTIVE_LOW>; | ||
| apple,stm-reset-gpios = <&smc_gpio 24 GPIO_ACTIVE_LOW>; | ||
|
|
||
| multi-touch { | ||
| firmware-name = "apple/tpmtfw-j613.bin"; | ||
| }; | ||
|
|
||
| keyboard: keyboard { | ||
| hid-country-code = <0>; | ||
| apple,keyboard-layout-id = <0>; | ||
| }; | ||
|
|
||
| stm { | ||
| }; | ||
|
|
||
| actuator { | ||
| }; | ||
|
|
||
| tp_accel { | ||
| }; | ||
| }; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
| * | ||
| * This file contains parts common to all Apple M3 devices using the t8122. | ||
| * | ||
| * target-type: J433, J434, J504, J513, J515 | ||
| * target-type: J433, J434, J504, J613, J615 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sigh, these inconsistent identifiers. I'll create a fixup commit for these. I wonder if I got it right in the arm/apple dt-bindings |
||
| * | ||
| * Copyright The Asahi Linux Contributors | ||
| */ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unrelated whitespace change