summaryrefslogtreecommitdiffstats
path: root/sys/boot/fdt/dts
diff options
context:
space:
mode:
authorjmcneill <jmcneill@FreeBSD.org>2016-05-15 22:36:55 +0000
committerjmcneill <jmcneill@FreeBSD.org>2016-05-15 22:36:55 +0000
commit080d30771a67bd918d3ff3936bd9339ab30decae (patch)
tree826514299a9ffae634f916fa3359a67965a3ddd8 /sys/boot/fdt/dts
parenta9ad3f7b188cb9609c8402afac1eed409bec8fd9 (diff)
downloadFreeBSD-src-080d30771a67bd918d3ff3936bd9339ab30decae.zip
FreeBSD-src-080d30771a67bd918d3ff3936bd9339ab30decae.tar.gz
Add Allwinner A83T thermal sensor controller support.
The A83T thermal sensor controller has three sensors. Sensor 0 corresponds to CPU cluster 0, sensor 1 to CPU cluster 1, and sensor 2 to the GPU. This driver exports the temperature sensor readings via sysctl. Calibration data is obtained from SRAM found in the Secure ID module. Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D6378
Diffstat (limited to 'sys/boot/fdt/dts')
-rw-r--r--sys/boot/fdt/dts/arm/a83t.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/boot/fdt/dts/arm/a83t.dtsi b/sys/boot/fdt/dts/arm/a83t.dtsi
index 7e17ba8..1ff4d18 100644
--- a/sys/boot/fdt/dts/arm/a83t.dtsi
+++ b/sys/boot/fdt/dts/arm/a83t.dtsi
@@ -185,6 +185,18 @@
#address-cells = <1>;
#size-cells = <0>;
};
+
+ sid: eeprom@01c14000 {
+ compatible = "allwinner,sun8i-a83t-sid";
+ reg = <0x01c14000 0x400>;
+ };
+
+ rtp: rtp@01f04000 {
+ compatible = "allwinner,sun8i-a83t-ts";
+ reg = <0x01f04000 0x400>;
+ interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
+ #thermal-sensor-cells = <0>;
+ };
};
};
OpenPOWER on IntegriCloud