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 A64 thermal sensor node



details:   https://anonhg.NetBSD.org/src/rev/8d8585136b4b
branches:  trunk
changeset: 832291:8d8585136b4b
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat May 05 13:31:35 2018 +0000

description:
Add A64 thermal sensor node

diffstat:

 sys/arch/arm/dts/sun50i-a64.dtsi |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r e3f3c516347c -r 8d8585136b4b sys/arch/arm/dts/sun50i-a64.dtsi
--- a/sys/arch/arm/dts/sun50i-a64.dtsi  Sat May 05 13:28:23 2018 +0000
+++ b/sys/arch/arm/dts/sun50i-a64.dtsi  Sat May 05 13:31:35 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun50i-a64.dtsi,v 1.5 2018/05/04 23:03:41 jmcneill Exp $ */
+/* $NetBSD: sun50i-a64.dtsi,v 1.6 2018/05/05 13:31:35 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -39,4 +39,16 @@
                        status = "disabled";
                };
        };
+
+       soc {
+               rtp: rtp@1c25000 {
+                       compatible = "allwinner,sun50i-a64-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