Skip to content

Commit ac082ea

Browse files
andynxpShawn Guo
authored andcommitted
arm64: dts: lx2160a: add more thermal zone support
There are 7 thermal zones in lx2160a soc. Add the rest thermal zone node to enable them. Also correct one of the values for tmu-calibration property. Signed-off-by: Yuantian Tang <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent d394039 commit ac082ea

File tree

1 file changed

+125
-5
lines changed

1 file changed

+125
-5
lines changed

arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi

Lines changed: 125 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -436,19 +436,19 @@
436436
};
437437

438438
thermal-zones {
439-
core_thermal1: core-thermal1 {
439+
cluster6-7 {
440440
polling-delay-passive = <1000>;
441441
polling-delay = <5000>;
442442
thermal-sensors = <&tmu 0>;
443443

444444
trips {
445-
core_cluster_alert: core-cluster-alert {
445+
cluster6_7_alert: cluster6-7-alert {
446446
temperature = <85000>;
447447
hysteresis = <2000>;
448448
type = "passive";
449449
};
450450

451-
core_cluster_crit: core-cluster-crit {
451+
cluster6_7_crit: cluster6-7-crit {
452452
temperature = <95000>;
453453
hysteresis = <2000>;
454454
type = "critical";
@@ -457,7 +457,7 @@
457457

458458
cooling-maps {
459459
map0 {
460-
trip = <&core_cluster_alert>;
460+
trip = <&cluster6_7_alert>;
461461
cooling-device =
462462
<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
463463
<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
@@ -478,6 +478,126 @@
478478
};
479479
};
480480
};
481+
482+
ddr-cluster5 {
483+
polling-delay-passive = <1000>;
484+
polling-delay = <5000>;
485+
thermal-sensors = <&tmu 1>;
486+
487+
trips {
488+
ddr-cluster5-alert {
489+
temperature = <85000>;
490+
hysteresis = <2000>;
491+
type = "passive";
492+
};
493+
494+
ddr-cluster5-crit {
495+
temperature = <95000>;
496+
hysteresis = <2000>;
497+
type = "critical";
498+
};
499+
};
500+
};
501+
502+
wriop {
503+
polling-delay-passive = <1000>;
504+
polling-delay = <5000>;
505+
thermal-sensors = <&tmu 2>;
506+
507+
trips {
508+
wriop-alert {
509+
temperature = <85000>;
510+
hysteresis = <2000>;
511+
type = "passive";
512+
};
513+
514+
wriop-crit {
515+
temperature = <95000>;
516+
hysteresis = <2000>;
517+
type = "critical";
518+
};
519+
};
520+
};
521+
522+
dce-qbman-hsio2 {
523+
polling-delay-passive = <1000>;
524+
polling-delay = <5000>;
525+
thermal-sensors = <&tmu 3>;
526+
527+
trips {
528+
dce-qbman-alert {
529+
temperature = <85000>;
530+
hysteresis = <2000>;
531+
type = "passive";
532+
};
533+
534+
dce-qbman-crit {
535+
temperature = <95000>;
536+
hysteresis = <2000>;
537+
type = "critical";
538+
};
539+
};
540+
};
541+
542+
ccn-dpaa-tbu {
543+
polling-delay-passive = <1000>;
544+
polling-delay = <5000>;
545+
thermal-sensors = <&tmu 4>;
546+
547+
trips {
548+
ccn-dpaa-alert {
549+
temperature = <85000>;
550+
hysteresis = <2000>;
551+
type = "passive";
552+
};
553+
554+
ccn-dpaa-crit {
555+
temperature = <95000>;
556+
hysteresis = <2000>;
557+
type = "critical";
558+
};
559+
};
560+
};
561+
562+
cluster4-hsio3 {
563+
polling-delay-passive = <1000>;
564+
polling-delay = <5000>;
565+
thermal-sensors = <&tmu 5>;
566+
567+
trips {
568+
clust4-hsio3-alert {
569+
temperature = <85000>;
570+
hysteresis = <2000>;
571+
type = "passive";
572+
};
573+
574+
clust4-hsio3-crit {
575+
temperature = <95000>;
576+
hysteresis = <2000>;
577+
type = "critical";
578+
};
579+
};
580+
};
581+
582+
cluster2-3 {
583+
polling-delay-passive = <1000>;
584+
polling-delay = <5000>;
585+
thermal-sensors = <&tmu 6>;
586+
587+
trips {
588+
cluster2-3-alert {
589+
temperature = <85000>;
590+
hysteresis = <2000>;
591+
type = "passive";
592+
};
593+
594+
cluster2-3-crit {
595+
temperature = <95000>;
596+
hysteresis = <2000>;
597+
type = "critical";
598+
};
599+
};
600+
};
481601
};
482602

483603
soc {
@@ -549,7 +669,7 @@
549669
/* Calibration data group 1 */
550670
<0x00000000 0x00000035
551671
/* Calibration data group 2 */
552-
0x00010001 0x00000154>;
672+
0x00000001 0x00000154>;
553673
little-endian;
554674
#thermal-sensor-cells = <1>;
555675
};

0 commit comments

Comments
 (0)