Module Name:    src
Committed By:   jmcneill
Date:           Thu Oct  5 01:32:47 UTC 2017

Modified Files:
        src/sys/arch/arm/dts: sun8i-h3.dtsi

Log Message:
add thermal sensor controller


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/dts/sun8i-h3.dtsi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/dts/sun8i-h3.dtsi
diff -u src/sys/arch/arm/dts/sun8i-h3.dtsi:1.4 src/sys/arch/arm/dts/sun8i-h3.dtsi:1.5
--- src/sys/arch/arm/dts/sun8i-h3.dtsi:1.4	Tue Oct  3 23:42:35 2017
+++ src/sys/arch/arm/dts/sun8i-h3.dtsi	Thu Oct  5 01:32:46 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: sun8i-h3.dtsi,v 1.4 2017/10/03 23:42:35 jmcneill Exp $ */
+/* $NetBSD: sun8i-h3.dtsi,v 1.5 2017/10/05 01:32:46 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <[email protected]>
@@ -75,6 +75,16 @@
 			compatible = "allwinner,sun8i-h3-sid";
 			reg = <0x01c14000 0x400>;
 		};
+
+		rtp: rtp@1c25000 {
+			compatible = "allwinner,sun8i-h3-ts";
+			reg = <0x01c25000 0x400>;
+			interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>;
+			clock-names = "ahb", "ths";
+			resets = <&ccu RST_BUS_THS>;
+			#thermal-sensor-cells = <0>;
+		};
 	};
 };
 

Reply via email to