30 lines
425 B
Plaintext
30 lines
425 B
Plaintext
/dts-v1/;
|
|
/plugin/;
|
|
|
|
/ {
|
|
compatible = "allwinner,sun50i-h5";
|
|
|
|
fragment@0 {
|
|
target = <&pio>;
|
|
__overlay__ {
|
|
w1_pins: w1_pins {
|
|
pins = "PD14";
|
|
function = "gpio_in";
|
|
};
|
|
};
|
|
};
|
|
|
|
fragment@1 {
|
|
target-path = "/";
|
|
__overlay__ {
|
|
onewire@0 {
|
|
compatible = "w1-gpio";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&w1_pins>;
|
|
gpios = <&pio 3 14 0>; /* PD14 */
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
};
|