forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Draft
IntegralPilot
wants to merge
19
commits into
AsahiLinux:bits/001-devicetree-m3
Choose a base branch
from
IntegralPilot:bits/001-devicetree-m3
base: bits/001-devicetree-m3
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,344
−17
Draft
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
67e5cec
dt-bindings: arm: apple: Add M3 devices (t8112 and t603x)
jannau d1b8a2a
dt-bindings: arm: cpus: Add Apple M3 cores
jannau 19a07b2
dt-bindings: interrupt-controller: apple,aic2: Add AICv3
jannau cb85c24
dt-bindings: arm: apple: apple,pmgr: Add M3 compatibles
jannau 013e95f
dt-bindings: power: apple,pmgr-pwrstate: Add M3 compatibles
jannau 349c970
dt-bindings: watchdog: apple,wdt: Add Apple M3 compatibles
jannau d6704d1
dt-bindings: pinctrl: apple,pinctrl: Add Apple M3 compatibles
jannau 5e2c1c0
dt-bindings: i2c: apple,i2c: Add Apple M3 compatibles
jannau 04d3eae
dt-bindings: pwm: apple,s5l-fpwm: Add Apple M3 compatibles
jannau c12c61e
arm64: dts: apple: Initial t8122 (M3) device tree
jannau 16842d0
arm64: dts: apple Correct M3 MacBook Air board numbers
IntegralPilot ff49d90
arm64: dts: apple: Add cpufreq and OPP to M3 (t8122)
IntegralPilot ddb3a57
arm64: dts: apple: Add SMC to M3 (t8122) device tree
IntegralPilot 6445ee7
arm64: dts: apple: Add MTP DockChannel to M3 device tree
IntegralPilot 0156b7c
arm64: dts: apple: Add NVMe nodes to M3 (t8122) device tree
IntegralPilot 1b5d498
arm64: dts: apple: Add J613 board variant of M3 (t8122)
IntegralPilot 9392ee9
arm64: dts: apple: Add PCIe nodes for t8122
noopwafel 734b3de
dt-bindings: iommu: apple: Add Apple M3 compatibles to DART and SART
IntegralPilot e320a67
dt-bindings: mailbox: Add Apple M3 (t8122) compatible
IntegralPilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| // SPDX-License-Identifier: GPL-2.0+ OR MIT | ||
| /* | ||
| * Apple MacBook Pro (14-inch, M3, 2023) | ||
| * | ||
| * target-type: J504 | ||
| * | ||
| * Copyright The Asahi Linux Contributors | ||
| */ | ||
|
|
||
| /dts-v1/; | ||
|
|
||
| #include "t8122.dtsi" | ||
| #include "t8122-jxxx.dtsi" | ||
| #include <dt-bindings/leds/common.h> | ||
|
|
||
| / { | ||
| compatible = "apple,j504", "apple,t8122", "apple,arm-platform"; | ||
| model = "Apple MacBook Pro (14-inch, M3, 2023)"; | ||
|
|
||
| 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 { | ||
| // panel = &panel; | ||
| power-domains = <&ps_disp_cpu>, <&ps_dptx_ext_phy>; | ||
| }; | ||
|
|
||
| &i2c0 { | ||
| status = "okay"; | ||
|
|
||
| hpm0: usb-pd@38 { | ||
| compatible = "apple,cd321x"; | ||
| reg = <0x38>; | ||
| interrupt-parent = <&pinctrl_ap>; | ||
| interrupts = <8 IRQ_TYPE_LEVEL_LOW>; | ||
| interrupt-names = "irq"; | ||
| }; | ||
|
|
||
| hpm1: usb-pd@3f { | ||
| compatible = "apple,cd321x"; | ||
| reg = <0x3f>; | ||
| interrupt-parent = <&pinctrl_ap>; | ||
| interrupts = <8 IRQ_TYPE_LEVEL_LOW>; | ||
| interrupt-names = "irq"; | ||
| }; | ||
| }; | ||
|
|
||
|
|
||
|
|
||
| &fpwm1 { | ||
| status = "okay"; | ||
| }; | ||
|
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This line should say M3 if I understand correctly.