summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/arm/google.yaml
blob: b5977e20f3937381c0a641d3f322f853afbb698d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/google.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Google Tensor platforms

maintainers:
  - Peter Griffin <peter.griffin@linaro.org>

description: |
  ARM platforms using SoCs designed by Google branded "Tensor" used in Pixel
  devices.

  Currently upstream this is devices using gs101 SoC which is found in Pixel
  6, Pixel 6 Pro and Pixel 6a and Laguna SoC canonically referred to as lga
  found in Pixel 10, Pixel 10 Pro and Pixel 10 Pro XL.

properties:
  $nodename:
    const: '/'
  compatible:
    oneOf:
      # Google Tensor G1 AKA gs101 AKA whitechapel AKA Die ID S5P9845 boards
      - description: Google Pixel 6 or 6 Pro (Oriole or Raven)
        items:
          - enum:
              - google,gs101-oriole
              - google,gs101-raven
          - const: google,gs101

      # Google Tensor G5 AKA lga (laguna) SoC and boards
      - description:
          Google Pixel 10, 10 Pro, 10 Pro XL (Frankel, Blazer,
          Mustang).
        items:
          - enum:
              - google,lga-blazer
              - google,lga-frankel
              - google,lga-mustang
          - const: google,lga

  ect:
    type: object
    additionalProperties: false

additionalProperties: true

allOf:
  # Bootloader requires empty ect node to be present
  - if:
      properties:
        compatible:
          contains:
            const: google,gs101
    then:
      required:
        - ect
    else:
      properties:
        ect: false

...