Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2018 08:40:14 +0300
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        "freebsd-arm@freebsd.org" <arm@freebsd.org>
Subject:   thermal dns for allwinner/h3
Message-ID:  <23EA1292-4DF7-4C08-9EDA-C235CC461F1D@cs.huji.ac.il>

next in thread | raw e-mail | index | archive | help
hi,
this overlay is working form me, though I think the actual temperature  =
reported is a bit off (40-50C)

/dts-v1/;
/plugin/;

#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun8i-h3-ccu.h>
#include <dt-bindings/reset/sun8i-h3-ccu.h>

/ {
 compatible =3D "allwinner,sun8i-h3";
};

&{/soc} {
	ths: thermal_sensor@1c25000 {
		 compatible =3D "allwinner,sun8i-h3-ths";
		 reg =3D <0x01c25000 0x100>;
		 interrupts =3D <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
		 clocks =3D <&ccu CLK_BUS_THS>, <&ccu CLK_THS>;
		 clock-names =3D "apb", "ths";
		 resets =3D <&ccu RST_BUS_THS>;
		 reset-names =3D "apb";
		 status =3D "okay";
		 nvmem-cells =3D <&ths_calib>;
		 nvmem-cell-names =3D "ths-calib";
		 };
};





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23EA1292-4DF7-4C08-9EDA-C235CC461F1D>