]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: STi: DT: STiH416: Supply Thermal Controller Device Tree nodes
authorLee Jones <lee.jones@linaro.org>
Thu, 5 Jun 2014 15:06:00 +0000 (17:06 +0200)
committerMaxime Coquelin <maxime.coquelin@st.com>
Fri, 31 Oct 2014 08:59:05 +0000 (09:59 +0100)
We supply two of these.  The first is controlled by the System Configuration
registers and the second one provided is a more traditional 'memory mapped'
variant.  Each are handled by they own sub-driver.

Signed-off-by: Ajit Pal Singh <ajitpal.singh@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
arch/arm/boot/dts/stih416.dtsi

index 98c43cc81b1df2f2c2bfec397d01808b128a58f6..28091548d9153113c8f97418761bcf49638350b9 100644 (file)
                                  <&softreset STIH416_KEYSCAN_SOFTRESET>;
                };
 
+               temp0 {
+                       compatible = "st,stih416-sas-thermal";
+                       clock-names = "thermal";
+                       clocks = <&clockgen_c_vcc 14>;
+
+                       status = "okay";
+               };
+
+               temp1@fdfe8000 {
+                       compatible = "st,stih416-mpe-thermal";
+                       reg = <0xfdfe8000 0x10>;
+                       clocks = <&clockgen_e 3>;
+                       clock-names = "thermal";
+                       interrupts = <GIC_SPI 23 IRQ_TYPE_EDGE_RISING>;
+
+                       status = "okay";
+               };
+
                mmc0: sdhci@fe81e000 {
                        compatible      = "st,sdhci";
                        status          = "disabled";