1 Device tree bindings for i2c-cbus-gpio driver 1 Device tree bindings for i2c-cbus-gpio driver 2 2 3 Required properties: 3 Required properties: 4 - compatible = "i2c-cbus-gpio"; 4 - compatible = "i2c-cbus-gpio"; 5 - gpios: clk, dat, sel 5 - gpios: clk, dat, sel 6 - #address-cells = <1>; 6 - #address-cells = <1>; 7 - #size-cells = <0>; 7 - #size-cells = <0>; 8 8 9 Optional properties: 9 Optional properties: 10 - child nodes conforming to i2c bus bi 10 - child nodes conforming to i2c bus binding 11 11 12 Example: 12 Example: 13 13 14 i2c@0 { 14 i2c@0 { 15 compatible = "i2c-cbus-gpio"; 15 compatible = "i2c-cbus-gpio"; 16 gpios = <&gpio 66 0 /* clk */ 16 gpios = <&gpio 66 0 /* clk */ 17 &gpio 65 0 /* dat */ 17 &gpio 65 0 /* dat */ 18 &gpio 64 0 /* sel */ 18 &gpio 64 0 /* sel */ 19 >; 19 >; 20 #address-cells = <1>; 20 #address-cells = <1>; 21 #size-cells = <0>; 21 #size-cells = <0>; 22 22 23 retu: retu@1 { 23 retu: retu@1 { 24 compatible = "nokia,retu"; 24 compatible = "nokia,retu"; 25 reg = <0x1>; 25 reg = <0x1>; 26 }; 26 }; 27 }; 27 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.