Skip to content

Commit c64a2ec

Browse files
committed
Merge branch 'bits/001-devicetree-m3' into asahi-wip
2 parents e872077 + acb070e commit c64a2ec

26 files changed

Lines changed: 2369 additions & 17 deletions

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 M3 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 (14-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/iommu/apple,dart.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ properties:
2929
- apple,t8110-dart
3030
- apple,t6000-dart
3131
- items:
32-
- const: apple,t6020-dart
32+
- enum:
33+
- apple,t6020-dart
34+
- apple,t8122-dart
3335
- const: apple,t8110-dart
3436

3537
reg:

Documentation/devicetree/bindings/iommu/apple,sart.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ properties:
3333
- enum:
3434
- apple,t6020-sart
3535
- apple,t8112-sart
36+
- apple,t8122-sart
3637
- const: apple,t6000-sart
3738
- enum:
3839
- apple,t6000-sart

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ properties:
3030
- enum:
3131
- apple,t8103-asc-mailbox
3232
- apple,t8112-asc-mailbox
33+
- apple,t8122-asc-mailbox
3334
- apple,t6000-asc-mailbox
3435
- apple,t6020-asc-mailbox
3536
- const: apple,asc-mailbox-v4

Documentation/devicetree/bindings/mfd/apple,smc.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ properties:
1717
compatible:
1818
oneOf:
1919
- items:
20-
- const: apple,t6020-smc
20+
- enum:
21+
- apple,t6020-smc
22+
- apple,t8122-smc
2123
- const: apple,t8103-smc
2224
- items:
2325
- enum:

Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ properties:
1414
oneOf:
1515
- const: apple,t8015-nvme-ans2
1616
- items:
17-
- const: apple,t6020-nvme-ans2
17+
- enum:
18+
- apple,t6020-nvme-ans2
19+
- apple,t8122-nvme-ans2
1820
- const: apple,t8103-nvme-ans2
1921
- items:
2022
- enum:

0 commit comments

Comments
 (0)