^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) / {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) testcase-data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) overlay-node {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) /* test bus */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) unittest_test_bus: test-bus {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) compatible = "simple-bus";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) unittest100: test-unittest100 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) compatible = "unittest";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) status = "okay";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) reg = <100>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) unittest101: test-unittest101 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) compatible = "unittest";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) status = "disabled";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) reg = <101>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) unittest0: test-unittest0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) compatible = "unittest";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) status = "disabled";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) reg = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) unittest1: test-unittest1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) compatible = "unittest";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) status = "okay";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) reg = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) unittest2: test-unittest2 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) compatible = "unittest";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) status = "disabled";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) reg = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) unittest3: test-unittest3 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) compatible = "unittest";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) status = "okay";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) reg = <3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) unittest5: test-unittest5 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) compatible = "unittest";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) status = "disabled";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) reg = <5>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) unittest6: test-unittest6 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) compatible = "unittest";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) status = "disabled";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) reg = <6>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) unittest7: test-unittest7 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) compatible = "unittest";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) status = "disabled";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) reg = <7>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) unittest8: test-unittest8 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) compatible = "unittest";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) status = "disabled";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) reg = <8>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) unittest_i2c_test_bus: i2c-test-bus {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) compatible = "unittest-i2c-bus";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) status = "okay";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) reg = <50>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) test-unittest12 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) reg = <8>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) compatible = "unittest-i2c-dev";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) status = "disabled";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) test-unittest13 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) reg = <9>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) compatible = "unittest-i2c-dev";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) status = "okay";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) test-unittest14 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) reg = <10>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) compatible = "unittest-i2c-mux";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) status = "okay";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) i2c@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) reg = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) test-mux-dev@20 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) reg = <0x20>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) compatible = "unittest-i2c-dev";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) status = "okay";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) };