11) 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 status = "okay"; 14 }; 15 162) OF unittest i2c adapter platform device 17 18** platform device unittest adapter 19 20Required properties: 21- compatible: must be unittest-i2c-bus 22 23Children nodes contain unittest i2c devices. 24 25Example: 26 unittest-i2c-bus { 27 compatible = "unittest-i2c-bus"; 28 status = "okay"; 29 }; 30 313) OF unittest i2c device 32 33** I2C unittest device 34 35Required properties: 36- compatible: must be unittest-i2c-dev 37 38All other properties are optional 39 40Example: 41 unittest-i2c-dev { 42 compatible = "unittest-i2c-dev"; 43 status = "okay"; 44 }; 45 464) OF unittest i2c mux device 47 48** I2C unittest mux 49 50Required properties: 51- compatible: must be unittest-i2c-mux 52 53Children nodes contain unittest i2c bus nodes per channel. 54 55Example: 56 unittest-i2c-mux { 57 compatible = "unittest-i2c-mux"; 58 status = "okay"; 59 #address-cells = <1>; 60 #size-cells = <0>; 61 channel-0 { 62 reg = <0>; 63 #address-cells = <1>; 64 #size-cells = <0>; 65 i2c-dev { 66 reg = <8>; 67 compatible = "unittest-i2c-dev"; 68 status = "okay"; 69 }; 70 }; 71 }; 72