+
+ thermal-zones {
+ phy24-thermal {
+ /* Poll every 10 seconds */
+ polling-delay-passive = <10000>;
+ polling-delay = <10000>;
+ thermal-sensors = <&phy24>;
+
+ trips {
+ phy24_trip0: phy24-trip0 {
+ /* At 80 degrees turn on fan */
+ temperature = <80000>;
+ hysteresis = <1000>;
+ type = "active";
+ };
+
+ phy24_trip1: phy24-trip1 {
+ /* At 108 degrees phys exceed spec */
+ temperature = <108000>;
+ hysteresis = <5000>;
+ type = "critical";
+ };
+ };
+
+ cooling-maps {
+ map {
+ trip = <&phy24_trip0>;
+ cooling-device = <&chassis_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+ };
+
+ phy25-thermal {
+ /* Poll every 10 seconds */
+ polling-delay-passive = <10000>;
+ polling-delay = <10000>;
+ thermal-sensors = <&phy25>;
+
+ trips {
+ phy25_trip0: phy25-trip0 {
+ /* At 80 degrees turn on fan */
+ temperature = <80000>;
+ hysteresis = <1000>;
+ type = "active";
+ };
+
+ phy25_trip1: phy25-trip1 {
+ /* At 108 degrees phys exceed spec */
+ temperature = <108000>;
+ hysteresis = <5000>;
+ type = "critical";
+ };
+ };
+
+ cooling-maps {
+ map {
+ trip = <&phy25_trip0>;
+ cooling-device = <&chassis_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+ };
+
+ phy26-thermal {
+ /* Poll every 10 seconds */
+ polling-delay-passive = <10000>;
+ polling-delay = <10000>;
+ thermal-sensors = <&phy26>;
+
+ trips {
+ phy26_trip0: phy26-trip0 {
+ /* At 80 degrees turn on fan */
+ temperature = <80000>;
+ hysteresis = <1000>;
+ type = "active";
+ };
+
+ phy26_trip1: phy26-trip1 {
+ /* At 108 degrees phys exceed spec */
+ temperature = <108000>;
+ hysteresis = <5000>;
+ type = "critical";
+ };
+ };
+
+ cooling-maps {
+ map {
+ trip = <&phy26_trip0>;
+ cooling-device = <&chassis_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+ };
+ };
+
+ /* YEN SUN TECHNOLOGY FD122510LL-N fan */
+ chassis_fan: gpio-fan {
+ compatible = "gpio-fan";
+ gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
+ gpio-fan,speed-map = <0 0
+ 7000 1>;
+ #cooling-cells = <2>;
+ };