blob: 6e09c35d9f1a281a0046ed2c07dfce1f1312f48f [file] [log] [blame]
Daniel Mack5f3d1382012-07-23 16:36:35 +02001w1-gpio devicetree bindings
2
3Required properties:
4
5 - compatible: "w1-gpio"
6 - gpios: one or two GPIO specs:
7 - the first one is used as data I/O pin
8 - the second one is optional. If specified, it is used as
9 enable pin for an external pin pullup.
10
11Optional properties:
12
13 - linux,open-drain: if specified, the data pin is considered in
14 open-drain mode.
15
16Examples:
17
18 onewire@0 {
19 compatible = "w1-gpio";
20 gpios = <&gpio 126 0>, <&gpio 105 0>;
21 };
22