Skip to content

Commit 96416a5

Browse files
committed
Merge branch 'bits/001-devicetree-m3' into asahi-wip
2 parents ebe1ae4 + a2356c8 commit 96416a5

17 files changed

Lines changed: 1879 additions & 14 deletions

File tree

Documentation/devicetree/bindings/arm/apple.yaml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ description: |
9696
- MacBook Pro (13-inch, M2, 2022)
9797
- Mac mini (M2, 2023)
9898
99+
Devices based on the "M3" SoC:
100+
101+
- MacBook Air (13-inch, M3, 2024)
102+
- MacBook Air (15-inch, M3, 2024)
103+
- MacBook Pro (14-inch, M3, 2023)
104+
- iMac (24-inch, M3, 2023)
105+
99106
Devices based on the "M1 Pro", "M1 Max" and "M1 Ultra" SoCs:
100107
101108
- MacBook Pro (14-inch, M1 Pro, 2021)
@@ -116,6 +123,14 @@ description: |
116123
- Mac Studio (M2 Ultra, 2023)
117124
- Mac Pro (M2 Ultra, 2023)
118125
126+
Devices based on the "M3 Pro", "M3 Max" and "M3 Ultra" SoCs:
127+
128+
- MacBook Pro (14-inch, M3 Pro, 2023)
129+
- MacBook Pro (14-inch, M3 Max, 2023)
130+
- MacBook Pro (16-inch, M3 Pro, 2023)
131+
- MacBook Pro (16-inch, M3 Max, 2023)
132+
- Mac Studio (M3 Ultra, 2025)
133+
119134
The compatible property should follow this format:
120135
121136
compatible = "apple,<targettype>", "apple,<socid>", "apple,arm-platform";
@@ -297,6 +312,17 @@ properties:
297312
- const: apple,t8112
298313
- const: apple,arm-platform
299314

315+
- description: Apple M2 SoC based platforms
316+
items:
317+
- enum:
318+
- apple,j433 # iMac (24-inch, 2x USB-C, M3, 2023)
319+
- apple,j434 # iMac (24-inch, 4x USB-C, M3, 2023)
320+
- apple,j504 # MacBook Pro (13-inch, M3, 2023)
321+
- apple,j613 # MacBook Air (13-inch, M3, 2024)
322+
- apple,j615 # MacBook Air (15-inch, M3, 2024)
323+
- const: apple,t8122
324+
- const: apple,arm-platform
325+
300326
- description: Apple M1 Pro SoC based platforms
301327
items:
302328
- enum:
@@ -347,6 +373,36 @@ properties:
347373
- const: apple,t6022
348374
- const: apple,arm-platform
349375

376+
- description: Apple M3 Pro SoC based platforms
377+
items:
378+
- enum:
379+
- apple,j514s # MacBook Pro (14-inch, M3 Pro, 2023)
380+
- apple,j516s # MacBook Pro (16-inch, M3 Pro, 2023)
381+
- const: apple,t6030
382+
- const: apple,arm-platform
383+
384+
- description: Apple M3 Max SoC based platforms
385+
oneOf:
386+
- items:
387+
- enum:
388+
- apple,j514c # MacBook Pro (14-inch, M3 Max, 16 cores, 2023)
389+
- apple,j516c # MacBook Pro (16-inch, M3 Max, 16 cores, 2023)
390+
- const: apple,t6031
391+
- const: apple,arm-platform
392+
- items:
393+
- enum:
394+
- apple,j514m # MacBook Pro (14-inch, M3 Max, 14 cores, 2023)
395+
- apple,j516m # MacBook Pro (16-inch, M3 Max, 14 cores, 2023)
396+
- const: apple,t6034
397+
- const: apple,arm-platform
398+
399+
- description: Apple M3 Ultra SoC based platforms
400+
items:
401+
- enum:
402+
- apple,j575d # Mac Studio (M3 Ultra, 2025)
403+
- const: apple,t6032
404+
- const: apple,arm-platform
405+
350406
additionalProperties: true
351407

352408
...

Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ properties:
3636
- const: syscon
3737
- const: simple-mfd
3838
- items:
39-
- const: apple,t6020-pmgr
39+
- enum:
40+
- apple,t6020-pmgr
41+
- apple,t6030-pmgr
42+
- apple,t8122-pmgr
4043
- const: apple,t8103-pmgr
4144
- const: syscon
4245
- const: simple-mfd

Documentation/devicetree/bindings/arm/cpus.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,13 @@ properties:
8585
- apple,avalanche
8686
- apple,blizzard
8787
- apple,cyclone
88+
- apple,everest
8889
- apple,firestorm
8990
- apple,hurricane-zephyr
9091
- apple,icestorm
9192
- apple,mistral
9293
- apple,monsoon
94+
- apple,sawtooth
9395
- apple,twister
9496
- apple,typhoon
9597
- arm,arm710t

Documentation/devicetree/bindings/i2c/apple,i2c.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ properties:
2222
compatible:
2323
oneOf:
2424
- items:
25-
- const: apple,t6020-i2c
25+
- enum:
26+
- apple,t6020-i2c
27+
- apple,t6030-i2c
28+
- apple,t8122-i2c
2629
- const: apple,t8103-i2c
2730
- items:
2831
- enum:

Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
$id: http://devicetree.org/schemas/interrupt-controller/apple,aic2.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Apple Interrupt Controller 2
7+
title: Apple Interrupt Controller 2 and 3
88

99
maintainers:
10-
- Hector Martin <marcan@marcan.st>
10+
- Janne Grunau <j@jannau.net>
1111

1212
description: |
1313
The Apple Interrupt Controller 2 is a simple interrupt controller present on
@@ -28,14 +28,24 @@ description: |
2828
which do not go through a discrete interrupt controller. It also handles
2929
FIQ-based Fast IPIs.
3030
31+
The Apple Interrupt Controller 3 is in its base functionality very similar to
32+
the Apple Interrupt Controller 2 and uses the same device tree bindings. It is
33+
found on Apple ARM SoCs platforms starting with t8122 (M3).
34+
3135
properties:
3236
compatible:
33-
items:
34-
- enum:
35-
- apple,t8112-aic
36-
- apple,t6000-aic
37-
- apple,t6020-aic
38-
- const: apple,aic2
37+
oneOf:
38+
- items:
39+
- enum:
40+
- apple,t6000-aic
41+
- apple,t6020-aic
42+
- apple,t8112-aic
43+
- const: apple,aic2
44+
- items:
45+
- enum:
46+
- apple,t6030-aic3
47+
- const: apple,t8122-aic3
48+
- const: apple,t8122-aic3
3949

4050
interrupt-controller: true
4151

@@ -117,7 +127,9 @@ allOf:
117127
properties:
118128
compatible:
119129
contains:
120-
const: apple,t8112-aic
130+
enum:
131+
- apple,t8112-aic
132+
- apple,t8122-aic3
121133
then:
122134
properties:
123135
'#interrupt-cells':

Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ properties:
1818
compatible:
1919
oneOf:
2020
- items:
21-
- const: apple,t6020-pinctrl
21+
- enum:
22+
- apple,t6020-pinctrl
23+
- apple,t6030-pinctrl
24+
- apple,t8122-pinctrl
2225
- const: apple,t8103-pinctrl
2326
- items:
2427
# Do not add additional SoC to this list.

Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ properties:
4343
- apple,t6000-pmgr-pwrstate
4444
- const: apple,pmgr-pwrstate
4545
- items:
46-
- const: apple,t6020-pmgr-pwrstate
46+
- enum:
47+
- apple,t6020-pmgr-pwrstate
48+
- apple,t6030-pmgr-pwrstate
49+
- apple,t8122-pmgr-pwrstate
4750
- const: apple,t8103-pmgr-pwrstate
4851

4952
reg:

Documentation/devicetree/bindings/pwm/apple,s5l-fpwm.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ properties:
1818
- enum:
1919
- apple,t8103-fpwm
2020
- apple,t8112-fpwm
21+
- apple,t8122-fpwm
2122
- apple,t6000-fpwm
2223
- apple,t6020-fpwm
24+
- apple,t6030-fpwm
2325
- const: apple,s5l-fpwm
2426

2527
reg:

Documentation/devicetree/bindings/watchdog/apple,wdt.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ properties:
1616
compatible:
1717
oneOf:
1818
- items:
19-
- const: apple,t6020-wdt
19+
- enum:
20+
- apple,t6020-wdt
21+
- apple,t6030-wdt
22+
- apple,t8122-wdt
2023
- const: apple,t8103-wdt
2124
- items:
2225
- enum:

arch/arm64/boot/dts/apple/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,6 @@ dtb-$(CONFIG_ARCH_APPLE) += t8112-j413.dtb
9191
dtb-$(CONFIG_ARCH_APPLE) += t8112-j415.dtb
9292
dtb-$(CONFIG_ARCH_APPLE) += t8112-j473.dtb
9393
dtb-$(CONFIG_ARCH_APPLE) += t8112-j493.dtb
94+
dtb-$(CONFIG_ARCH_APPLE) += t8122-j433.dtb
95+
dtb-$(CONFIG_ARCH_APPLE) += t8122-j434.dtb
96+
dtb-$(CONFIG_ARCH_APPLE) += t8122-j504.dtb

0 commit comments

Comments
 (0)