1# SPDX-License-Identifier: BSD-3-Clause
2
3description: Device.props test
4
5compatible: "props"
6
7properties:
8  nonexistent-boolean:
9    type: boolean
10
11  existent-boolean:
12    type: boolean
13
14  int:
15    type: int
16    const: 1
17
18  array:
19    type: array
20
21  uint8-array:
22    type: uint8-array
23
24  string:
25    type: string
26    const: "foo"
27
28  string-array:
29    type: string-array
30    const: ['foo', 'bar', 'baz']
31
32  phandle-ref:
33    type: phandle
34
35  phandle-refs:
36    type: phandles
37
38  phandle-array-foos:
39    type: phandle-array
40
41  phandle-array-foo-names:
42    type: string-array
43
44  # There's some slight special-casing for GPIOs in that 'foo-gpios = ...'
45  # gets resolved to #gpio-cells rather than #foo-gpio-cells, so test that
46  # too
47  foo-gpios:
48    type: phandle-array
49
50  path:
51    type: path
52