mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
ARM: dts: rk3506: Add tsadc/thermal_zones node
Signed-off-by: Ye Zhang <ye.zhang@rock-chips.com> Change-Id: I888cb1e358cf018c2c1ae406110c28b96a6c3a1c
This commit is contained in:
@@ -101,6 +101,23 @@
|
||||
method = "smc";
|
||||
};
|
||||
|
||||
thermal_zones: thermal-zones {
|
||||
soc_thermal: soc-thermal {
|
||||
polling-delay-passive = <20>; /* milliseconds */
|
||||
polling-delay = <1000>; /* milliseconds */
|
||||
thermal-sensors = <&tsadc 0>;
|
||||
trips {
|
||||
soc_crit: soc-crit {
|
||||
/* millicelsius */
|
||||
temperature = <115000>;
|
||||
/* millicelsius */
|
||||
hysteresis = <2000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
timer {
|
||||
compatible = "arm,armv7-timer";
|
||||
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(3) | IRQ_TYPE_LEVEL_HIGH)>,
|
||||
@@ -443,6 +460,24 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
tsadc: tsadc@ff650000 {
|
||||
compatible = "rockchip,rk3506-tsadc";
|
||||
reg = <0xff650000 0x400>;
|
||||
interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&cru CLK_TSADC>, <&cru PCLK_TSADC>, <&cru CLK_TSADC_TSEN>;
|
||||
clock-names = "tsadc", "apb_pclk", "tsen";
|
||||
assigned-clocks = <&cru CLK_TSADC>, <&cru CLK_TSADC_TSEN>;
|
||||
assigned-clock-rates = <1000000>, <12000000>;
|
||||
resets = <&cru SRST_TSADC>, <&cru SRST_P_TSADC>;
|
||||
reset-names = "tsadc", "tsadc-apb";
|
||||
#thermal-sensor-cells = <1>;
|
||||
rockchip,grf = <&grf>;
|
||||
rockchip,hw-tshut-temp = <120000>;
|
||||
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
|
||||
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
ioc1: syscon@ff660000 {
|
||||
compatible = "rockchip,rk3506-ioc1", "syscon";
|
||||
reg = <0xff660000 0x10000>;
|
||||
|
||||
Reference in New Issue
Block a user