zephyr,w1-serial (on uart bus)

Description

These nodes are “w1” bus nodes.

1-Wire master over Zephyr uart

Examples

/* Basic Example */
&uart1 {
    status = "okay";
    current-speed = <115200>;

    w1_bus: w1-bus {
        compatible = "zephyr,w1-serial";
        status = "okay";
    };
};

/* Custom Overdrive settings Example */
&uart1 {
    status = "okay";
    current-speed = <115200>;

    w1_bus: w1-bus {
        compatible = "zephyr,w1-serial";
        status = "okay";
        overdrive-data-baud = <921600>;
        overdrive-reset-baud = <115200>;
    };
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

overdrive-data-baud

int

Baud rate for overdrive speed data communication. The default value of
1000000 provides timing of t_low1=1.0us, t_low0=9.0us, t_slot=10.0us.

Default value: 1000000

overdrive-reset-baud

int

Baud rate for overdrive speed reset/presence detection. The default value
of 115200 provides timing of t_RSTL=52.1us, t_slot=86.8us.

Default value: 115200

active-pullup

boolean

Enable the active pullup for the 1-Wire bus.