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