treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / of / unittest-data / tests-overlay.dtsi
blob4ea024d908ee22d6eae398c2f6ef8f6c59c12431
1 // SPDX-License-Identifier: GPL-2.0
3 / {
4         testcase-data {
5                 overlay-node {
7                         /* test bus */
8                         unittest_test_bus: test-bus {
9                                 compatible = "simple-bus";
10                                 #address-cells = <1>;
11                                 #size-cells = <0>;
13                                 unittest100: test-unittest100 {
14                                         compatible = "unittest";
15                                         status = "okay";
16                                         reg = <100>;
17                                 };
19                                 unittest101: test-unittest101 {
20                                         compatible = "unittest";
21                                         status = "disabled";
22                                         reg = <101>;
23                                 };
25                                 unittest0: test-unittest0 {
26                                         compatible = "unittest";
27                                         status = "disabled";
28                                         reg = <0>;
29                                 };
31                                 unittest1: test-unittest1 {
32                                         compatible = "unittest";
33                                         status = "okay";
34                                         reg = <1>;
35                                 };
37                                 unittest2: test-unittest2 {
38                                         compatible = "unittest";
39                                         status = "disabled";
40                                         reg = <2>;
41                                 };
43                                 unittest3: test-unittest3 {
44                                         compatible = "unittest";
45                                         status = "okay";
46                                         reg = <3>;
47                                 };
49                                 unittest5: test-unittest5 {
50                                         compatible = "unittest";
51                                         status = "disabled";
52                                         reg = <5>;
53                                 };
55                                 unittest6: test-unittest6 {
56                                         compatible = "unittest";
57                                         status = "disabled";
58                                         reg = <6>;
59                                 };
61                                 unittest7: test-unittest7 {
62                                         compatible = "unittest";
63                                         status = "disabled";
64                                         reg = <7>;
65                                 };
67                                 unittest8: test-unittest8 {
68                                         compatible = "unittest";
69                                         status = "disabled";
70                                         reg = <8>;
71                                 };
73                                 unittest_i2c_test_bus: i2c-test-bus {
74                                         compatible = "unittest-i2c-bus";
75                                         status = "okay";
76                                         reg = <50>;
78                                         #address-cells = <1>;
79                                         #size-cells = <0>;
81                                         test-unittest12 {
82                                                 reg = <8>;
83                                                 compatible = "unittest-i2c-dev";
84                                                 status = "disabled";
85                                         };
87                                         test-unittest13 {
88                                                 reg = <9>;
89                                                 compatible = "unittest-i2c-dev";
90                                                 status = "okay";
91                                         };
93                                         test-unittest14 {
94                                                 reg = <10>;
95                                                 compatible = "unittest-i2c-mux";
96                                                 status = "okay";
98                                                 #address-cells = <1>;
99                                                 #size-cells = <0>;
101                                                 i2c@0 {
102                                                         #address-cells = <1>;
103                                                         #size-cells = <0>;
104                                                         reg = <0>;
106                                                         test-mux-dev@20 {
107                                                                 reg = <0x20>;
108                                                                 compatible = "unittest-i2c-dev";
109                                                                 status = "okay";
110                                                         };
111                                                 };
112                                         };
113                                 };
114                         };
115                 };
116         };