The latest development version of this page may be more current than this released 4.0.0 version.

adi,max32-w1

Vendor: Analog Devices, Inc.

Note

An implementation of a driver matching this compatible is available in drivers/w1/w1_max32.c.

Description

These nodes are “w1” bus nodes.

ADI MAX32xxx MCUs 1-Wire Master

Properties

Properties not inherited from the base binding file.

Name

Type

Details

pinctrl-0

phandles

Pin configuration/s for the first state. Content is specific to the
selected pin controller driver implementation.

This property is required.

pinctrl-names

string-array

Names for the provided states. The number of names needs to match the
number of states.

This property is required.

internal-pullup

int

Set this field to enable the internal pullup resistor.
0 - Internal pullup disabled.
1 - Internal pullup enabled.

This property is required.

Legal values: 0, 1

external-pullup

int

Set this field to enable the external pullup.
0 - Pullup pin is active high when enabled.
1 - Pullup pin is active low when enabled.
2 - Pullup pin is not used for an external pullup.

Legal values: 0, 1, 2

long-line-mode

boolean

Long Line Mode Enable
Selects alternate timings for 1-Wire communication.
The recommended setting depends on the length of the wire.
For lines less than 40 meters, 0 should be used.

Setting this bit to 0 leaves the write one release,
the data sampling, and the time-slot recovery times at
approximately 5us (micro second), 15us, and 7us, respectively.

Setting this bit to 1 enables long line mode timings during standard mode communications.
This mode moves the write one release, the data sampling,
and the time-slot recovery times out to approximately 8us, 22us, and 14us, respectively.

0 - Standard operation for lines less than 40 meters.
1 - Long Line mode enabled.

active-pullup

boolean

Enable the active pullup for the 1-Wire bus.

pinctrl-1

phandles

Pin configuration/s for the second state. See pinctrl-0.

pinctrl-2

phandles

Pin configuration/s for the third state. See pinctrl-0.

pinctrl-3

phandles

Pin configuration/s for the fourth state. See pinctrl-0.

pinctrl-4

phandles

Pin configuration/s for the fifth state. See pinctrl-0.