Commit b29d644b authored by Hector Martin's avatar Hector Martin Committed by Jassi Brar

dt-bindings: mailbox: apple,mailbox: Add generic and t6000 compatibles

Much as we've done with other blocks, let's introduce generic
compatibles so drivers can bind to those and still work with future
SoCs, as long as the hardware remains the same. Also go ahead and add
compatibles for the new t600x SoCs (we group those as t6000).

Note that no DTs instantiate devices with this binding yet.
Reviewed-by: default avatarMark Kettenis <kettenis@openbsd.org>
Signed-off-by: default avatarHector Martin <marcan@marcan.st>
Reviewed-by: default avatarSven Peter <sven@svenpeter.dev>
Reviewed-by: default avatarSven Peter <sven@svenpeter.dev>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent c9e6606c
...@@ -27,14 +27,20 @@ properties: ...@@ -27,14 +27,20 @@ properties:
for example for the display controller, the system management for example for the display controller, the system management
controller and the NVMe coprocessor. controller and the NVMe coprocessor.
items: items:
- const: apple,t8103-asc-mailbox - enum:
- apple,t8103-asc-mailbox
- apple,t6000-asc-mailbox
- const: apple,asc-mailbox-v4
- description: - description:
M3 mailboxes are an older variant with a slightly different MMIO M3 mailboxes are an older variant with a slightly different MMIO
interface still found on the M1. It is used for the Thunderbolt interface still found on the M1. It is used for the Thunderbolt
co-processors. co-processors.
items: items:
- const: apple,t8103-m3-mailbox - enum:
- apple,t8103-m3-mailbox
- apple,t6000-m3-mailbox
- const: apple,m3-mailbox-v2
reg: reg:
maxItems: 1 maxItems: 1
...@@ -68,7 +74,7 @@ additionalProperties: false ...@@ -68,7 +74,7 @@ additionalProperties: false
examples: examples:
- | - |
mailbox@77408000 { mailbox@77408000 {
compatible = "apple,t8103-asc-mailbox"; compatible = "apple,t8103-asc-mailbox", "apple,asc-mailbox-v4";
reg = <0x77408000 0x4000>; reg = <0x77408000 0x4000>;
interrupts = <1 583 4>, <1 584 4>, <1 585 4>, <1 586 4>; interrupts = <1 583 4>, <1 584 4>, <1 585 4>, <1 586 4>;
interrupt-names = "send-empty", "send-not-empty", interrupt-names = "send-empty", "send-not-empty",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment