blob: 9a5b311f44342079d73ab7b5a4881d2d8c706c59 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -050011) OF unittest platform device
2
3** unittest
4
5Required properties:
6- compatible: must be "unittest"
7
8All other properties are optional.
9
10Example:
11 unittest {
12 compatible = "unittest";
13 };
14
152) OF unittest i2c adapter platform device
16
17** platform device unittest adapter
18
19Required properties:
20- compatible: must be unittest-i2c-bus
21
22Children nodes contain unittest i2c devices.
23
24Example:
25 unittest-i2c-bus {
26 compatible = "unittest-i2c-bus";
27 };
28
293) OF unittest i2c device
30
31** I2C unittest device
32
33Required properties:
34- compatible: must be unittest-i2c-dev
35
36All other properties are optional
37
38Example:
39 unittest-i2c-dev {
40 compatible = "unittest-i2c-dev";
41 };
42
434) OF unittest i2c mux device
44
45** I2C unittest mux
46
47Required properties:
48- compatible: must be unittest-i2c-mux
49
50Children nodes contain unittest i2c bus nodes per channel.
51
52Example:
53 unittest-i2c-mux {
54 compatible = "unittest-i2c-mux";
55 #address-cells = <1>;
56 #size-cells = <0>;
57 channel-0 {
58 reg = <0>;
59 #address-cells = <1>;
60 #size-cells = <0>;
61 i2c-dev {
62 reg = <8>;
63 compatible = "unittest-i2c-dev";
64 };
65 };
66 };