mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
ARM: dts: at91: sama7g5: add temperature sensor
Add temperature sensor node. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20221026124114.985876-6-claudiu.beznea@microchip.com
This commit is contained in:
parent
f90b33a574
commit
65d8815281
|
|
@ -9,6 +9,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <dt-bindings/iio/adc/at91-sama5d2_adc.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/clock/at91.h>
|
||||
|
|
@ -109,6 +110,13 @@ ns_sram: sram@100000 {
|
|||
ranges;
|
||||
};
|
||||
|
||||
thermal_sensor: thermal-sensor {
|
||||
compatible = "generic-adc-thermal";
|
||||
#thermal-sensor-cells = <0>;
|
||||
io-channels = <&adc AT91_SAMA7G5_ADC_TEMP_CHANNEL>;
|
||||
io-channel-names = "sensor-channel";
|
||||
};
|
||||
|
||||
soc {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <1>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user