1
0
Fork 0

arm64: allwinner: sopine-baseboard: Connect the 1-wire temp sensor

Signed-off-by: Alistair Francis <alistair@alistair23.me>
alistair/sensors
Alistair Francis 2020-04-27 19:10:46 -07:00
parent 37ea5a3c01
commit 21bedefc79
1 changed files with 5 additions and 0 deletions

View File

@ -61,6 +61,11 @@
compatible = "pps-gpio";
gpios = <&pio 2 8 IRQ_TYPE_EDGE_RISING>; /* PC8 */
};
onewire {
compatible = "w1-gpio";
gpios = <&pio 2 16 GPIO_ACTIVE_HIGH>; /* PC16 */
};
};
&ac_power_supply {