aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/w1/w1-gpio.txt
blob: 6e09c35d9f1a281a0046ed2c07dfce1f1312f48f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
w1-gpio devicetree bindings

Required properties:

 - compatible: "w1-gpio"
 - gpios: one or two GPIO specs:
		- the first one is used as data I/O pin
		- the second one is optional. If specified, it is used as
		  enable pin for an external pin pullup.

Optional properties:

 - linux,open-drain: if specified, the data pin is considered in
		     open-drain mode.

Examples:

	onewire@0 {
		compatible = "w1-gpio";
		gpios = <&gpio 126 0>, <&gpio 105 0>;
	};