aboutsummaryrefslogtreecommitdiff
path: root/dts/upstream/Bindings/i2c/i2c-cbus-gpio.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/upstream/Bindings/i2c/i2c-cbus-gpio.txt')
-rw-r--r--dts/upstream/Bindings/i2c/i2c-cbus-gpio.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/dts/upstream/Bindings/i2c/i2c-cbus-gpio.txt b/dts/upstream/Bindings/i2c/i2c-cbus-gpio.txt
new file mode 100644
index 00000000000..c143948b2a3
--- /dev/null
+++ b/dts/upstream/Bindings/i2c/i2c-cbus-gpio.txt
@@ -0,0 +1,27 @@
+Device tree bindings for i2c-cbus-gpio driver
+
+Required properties:
+ - compatible = "i2c-cbus-gpio";
+ - gpios: clk, dat, sel
+ - #address-cells = <1>;
+ - #size-cells = <0>;
+
+Optional properties:
+ - child nodes conforming to i2c bus binding
+
+Example:
+
+i2c@0 {
+ compatible = "i2c-cbus-gpio";
+ gpios = <&gpio 66 0 /* clk */
+ &gpio 65 0 /* dat */
+ &gpio 64 0 /* sel */
+ >;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ retu: retu@1 {
+ compatible = "nokia,retu";
+ reg = <0x1>;
+ };
+};