arm64: dts: ls1046a: Move cpu_thermal out of bus node
Move cpu_thermal node from soc node to root node. cpu_thermal node does not have any register properties and thus shouldn't be placed on the bus. This fixes the following build warnings with W=1: arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dtb: Warning (simple_bus_reg): Node /soc/thermal-zones missing or empty reg/ranges property Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
0abe2a16aa
commit
e8567b10f5
|
@ -147,6 +147,37 @@
|
||||||
mask = <0x02>;
|
mask = <0x02>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
thermal-zones {
|
||||||
|
cpu_thermal: cpu-thermal {
|
||||||
|
polling-delay-passive = <1000>;
|
||||||
|
polling-delay = <5000>;
|
||||||
|
thermal-sensors = <&tmu 3>;
|
||||||
|
|
||||||
|
trips {
|
||||||
|
cpu_alert: cpu-alert {
|
||||||
|
temperature = <85000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
cpu_crit: cpu-crit {
|
||||||
|
temperature = <95000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "critical";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
cooling-maps {
|
||||||
|
map0 {
|
||||||
|
trip = <&cpu_alert>;
|
||||||
|
cooling-device =
|
||||||
|
<&cpu0 THERMAL_NO_LIMIT
|
||||||
|
THERMAL_NO_LIMIT>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
timer {
|
timer {
|
||||||
compatible = "arm,armv8-timer";
|
compatible = "arm,armv8-timer";
|
||||||
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(0xf) |
|
interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(0xf) |
|
||||||
|
@ -362,37 +393,6 @@
|
||||||
#thermal-sensor-cells = <1>;
|
#thermal-sensor-cells = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
thermal-zones {
|
|
||||||
cpu_thermal: cpu-thermal {
|
|
||||||
polling-delay-passive = <1000>;
|
|
||||||
polling-delay = <5000>;
|
|
||||||
thermal-sensors = <&tmu 3>;
|
|
||||||
|
|
||||||
trips {
|
|
||||||
cpu_alert: cpu-alert {
|
|
||||||
temperature = <85000>;
|
|
||||||
hysteresis = <2000>;
|
|
||||||
type = "passive";
|
|
||||||
};
|
|
||||||
|
|
||||||
cpu_crit: cpu-crit {
|
|
||||||
temperature = <95000>;
|
|
||||||
hysteresis = <2000>;
|
|
||||||
type = "critical";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
cooling-maps {
|
|
||||||
map0 {
|
|
||||||
trip = <&cpu_alert>;
|
|
||||||
cooling-device =
|
|
||||||
<&cpu0 THERMAL_NO_LIMIT
|
|
||||||
THERMAL_NO_LIMIT>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
dspi: dspi@2100000 {
|
dspi: dspi@2100000 {
|
||||||
compatible = "fsl,ls1021a-v1.0-dspi";
|
compatible = "fsl,ls1021a-v1.0-dspi";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
|
Loading…
Reference in New Issue