Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/dts add thermal sensor controller



details:   https://anonhg.NetBSD.org/src/rev/a0db603d7fb2
branches:  trunk
changeset: 356608:a0db603d7fb2
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Oct 05 01:32:46 2017 +0000

description:
add thermal sensor controller

diffstat:

 sys/arch/arm/dts/sun8i-h3.dtsi |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 2489866214d7 -r a0db603d7fb2 sys/arch/arm/dts/sun8i-h3.dtsi
--- a/sys/arch/arm/dts/sun8i-h3.dtsi    Thu Oct 05 01:30:45 2017 +0000
+++ b/sys/arch/arm/dts/sun8i-h3.dtsi    Thu Oct 05 01:32:46 2017 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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>;
+               };
        };
 };
 



Home | Main Index | Thread Index | Old Index