From owner-freebsd-arm@freebsd.org Mon Aug 27 05:40:31 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82FB0108D485 for ; Mon, 27 Aug 2018 05:40:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 29F377F724 for ; Mon, 27 Aug 2018 05:40:31 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: by mailman.ysv.freebsd.org (Postfix) id DF4AA108D484; Mon, 27 Aug 2018 05:40:30 +0000 (UTC) Delivered-To: arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDE8D108D483 for ; Mon, 27 Aug 2018 05:40:30 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 67BA87F723 for ; Mon, 27 Aug 2018 05:40:29 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from bach.cs.huji.ac.il ([132.65.80.20]) by kabab.cs.huji.ac.il with esmtp id 1fuAG6-000KdK-Gg; Mon, 27 Aug 2018 08:40:14 +0300 From: Daniel Braniss Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: thermal dns for allwinner/h3 Message-Id: <23EA1292-4DF7-4C08-9EDA-C235CC461F1D@cs.huji.ac.il> Date: Mon, 27 Aug 2018 08:40:14 +0300 To: "freebsd-arm@freebsd.org" X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2018 05:40:31 -0000 hi, this overlay is working form me, though I think the actual temperature = reported is a bit off (40-50C) /dts-v1/; /plugin/; #include #include #include / { compatible =3D "allwinner,sun8i-h3"; }; &{/soc} { ths: thermal_sensor@1c25000 { compatible =3D "allwinner,sun8i-h3-ths"; reg =3D <0x01c25000 0x100>; interrupts =3D ; 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"; }; };