• Home
  • Raw
  • Download

Lines Matching +full:2 +full:- +full:way

1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 # All the top-level keys are standard json-schema keywords except for
10 $id: "http://devicetree.org/schemas/example-schema.yaml#"
11 # $schema is the meta-schema this schema should be validated with.
12 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
17 - Rob Herring <robh@kernel.org>
20 A more detailed multi-line description of the binding.
41 # isn't another way to express a constraint of the last string value.
44 - items:
48 # Must be one of the 1st enums followed by the 2nd enum
51 - enum:
52 - vendor,soc4-ip
53 - vendor,soc3-ip
54 - vendor,soc2-ip
55 - enum:
56 - vendor,soc1-ip
58 # minItems/maxItems equal to 2 is implied
59 - items:
61 - const: vendor,soc1-ip
69 - description: core registers
70 - description: aux registers
71 # minItems/maxItems equal to 2 is implied
73 reg-names:
76 - const: core
77 - const: aux
84 clock-names:
86 - const: bus
89 # Either 1 or 2 interrupts can be present
91 maxItems: 2
93 - description: tx or combined interrupt
94 - description: rx interrupt
100 interrupt-names:
101 # minItems must be specified here because the default would be 2
103 maxItems: 2
105 - const: tx irq
106 - const: rx irq
109 '#interrupt-cells':
110 # A simple case where the value must always be '2'.
112 const: 2
114 interrupt-controller: true
118 clock-frequency:
126 foo-gpios:
130 vendor,int-property:
132 # 'allOf' is the json-schema way of subclassing a schema. Here the base
136 - $ref: /schemas/types.yaml#/definitions/uint32
137 - enum: [2, 4, 6, 8, 10]
139 vendor,bool-property:
141 # boolean properties is one case where the json-schema 'type' keyword
145 vendor,string-array-property:
149 - $ref: /schemas/types.yaml#/definitions/string-array
150 - items:
151 - enum: [ foo, bar ]
152 - enum: [ baz, boo ]
155 - compatible
156 - reg
157 - interrupts
158 - interrupt-controller
162 - |
164 compatible = "vendor,soc4-ip", "vendor,soc1-ip";
167 reg-names = "core", "aux";
169 interrupt-controller;