Skip to content

Commit 35d0b74

Browse files
committed
Merge branch 'refs/heads/bits/000-devicetree' into asahi-wip
2 parents 457391b + b312855 commit 35d0b74

64 files changed

Lines changed: 11417 additions & 59 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Documentation/devicetree/bindings/arm/apple.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ description: |
1919
- MacBook Air (M1, 2020)
2020
- iMac (24-inch, M1, 2021)
2121
22+
Devices based on the "M2" SoC:
23+
24+
- MacBook Air (M2, 2022)
25+
- MacBook Pro (13-inch, M2, 2022)
26+
- Mac mini (M2, 2023)
27+
2228
And devices based on the "M1 Pro", "M1 Max" and "M1 Ultra" SoCs:
2329
2430
- MacBook Pro (14-inch, M1 Pro, 2021)
@@ -70,6 +76,15 @@ properties:
7076
- const: apple,t8103
7177
- const: apple,arm-platform
7278

79+
- description: Apple M2 SoC based platforms
80+
items:
81+
- enum:
82+
- apple,j413 # MacBook Air (M2, 2022)
83+
- apple,j473 # Mac mini (M2, 2023)
84+
- apple,j493 # MacBook Pro (13-inch, M2, 2022)
85+
- const: apple,t8112
86+
- const: apple,arm-platform
87+
7388
- description: Apple M1 Pro SoC based platforms
7489
items:
7590
- enum:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ properties:
2323
items:
2424
- enum:
2525
- apple,t8103-pmgr
26+
- apple,t8112-pmgr
2627
- apple,t6000-pmgr
2728
- const: apple,pmgr
2829
- const: syscon

Documentation/devicetree/bindings/arm/cpus.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ properties:
8585
8686
compatible:
8787
enum:
88+
- apple,avalanche
89+
- apple,blizzard
8890
- apple,icestorm
8991
- apple,firestorm
9092
- arm,arm710t

Documentation/devicetree/bindings/clock/apple,nco.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ properties:
2323
- enum:
2424
- apple,t6000-nco
2525
- apple,t8103-nco
26+
- apple,t8112-nco
2627
- const: apple,nco
2728

2829
clocks:

Documentation/devicetree/bindings/dma/apple,admac.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ properties:
2626
- enum:
2727
- apple,t6000-admac
2828
- apple,t8103-admac
29+
- apple,t8112-admac
2930
- const: apple,admac
3031

3132
reg:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ properties:
2323
items:
2424
- enum:
2525
- apple,t8103-i2c
26+
- apple,t8112-i2c
2627
- apple,t6000-i2c
2728
- const: apple,i2c
2829

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

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,22 @@ description: |
3131
properties:
3232
compatible:
3333
items:
34-
- const: apple,t6000-aic
34+
- enum:
35+
- apple,t8112-aic
36+
- apple,t6000-aic
3537
- const: apple,aic2
3638

3739
interrupt-controller: true
3840

3941
'#interrupt-cells':
40-
const: 4
42+
minimum: 3
43+
maximum: 4
4144
description: |
4245
The 1st cell contains the interrupt type:
4346
- 0: Hardware IRQ
4447
- 1: FIQ
4548
46-
The 2nd cell contains the die ID.
49+
The 2nd cell contains the die ID (only present on apple,t6000-aic).
4750
4851
The next cell contains the interrupt number.
4952
- HW IRQs: interrupt number
@@ -109,6 +112,19 @@ additionalProperties: false
109112

110113
allOf:
111114
- $ref: /schemas/interrupt-controller.yaml#
115+
- if:
116+
properties:
117+
compatible:
118+
contains:
119+
const: apple,t8112-aic
120+
then:
121+
properties:
122+
'#interrupt-cells':
123+
const: 3
124+
else:
125+
properties:
126+
'#interrupt-cells':
127+
const: 4
112128

113129
examples:
114130
- |

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,13 @@ description:
2828

2929
properties:
3030
compatible:
31-
enum:
32-
- apple,t6000-sart
33-
- apple,t8103-sart
31+
oneOf:
32+
- items:
33+
- const: apple,t8112-sart
34+
- const: apple,t6000-sart
35+
- enum:
36+
- apple,t6000-sart
37+
- apple,t8103-sart
3438

3539
reg:
3640
maxItems: 1

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ properties:
2929
items:
3030
- enum:
3131
- apple,t8103-asc-mailbox
32+
- apple,t8112-asc-mailbox
3233
- apple,t6000-asc-mailbox
3334
- const: apple,asc-mailbox-v4
3435

@@ -39,6 +40,7 @@ properties:
3940
items:
4041
- enum:
4142
- apple,t8103-m3-mailbox
43+
- apple,t8112-m3-mailbox
4244
- apple,t6000-m3-mailbox
4345
- const: apple,m3-mailbox-v2
4446

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ properties:
1414
items:
1515
- enum:
1616
- apple,t8103-nvme-ans2
17+
- apple,t8112-nvme-ans2
1718
- apple,t6000-nvme-ans2
1819
- const: apple,nvme-ans2
1920

@@ -65,7 +66,9 @@ if:
6566
properties:
6667
compatible:
6768
contains:
68-
const: apple,t8103-nvme-ans2
69+
enum:
70+
- apple,t8103-nvme-ans2
71+
- apple,t8112-nvme-ans2
6972
then:
7073
properties:
7174
power-domains:

0 commit comments

Comments
 (0)