w1-gpio.txt 462 B

12345678910111213141516171819202122
  1. w1-gpio devicetree bindings
  2. Required properties:
  3. - compatible: "w1-gpio"
  4. - gpios: one or two GPIO specs:
  5. - the first one is used as data I/O pin
  6. - the second one is optional. If specified, it is used as
  7. enable pin for an external pin pullup.
  8. Optional properties:
  9. - linux,open-drain: if specified, the data pin is considered in
  10. open-drain mode.
  11. Examples:
  12. onewire@0 {
  13. compatible = "w1-gpio";
  14. gpios = <&gpio 126 0>, <&gpio 105 0>;
  15. };