ARM: dts: Add pwm-fan node for exynos5422-odroidxu3
authorAnand Moon <linux.amoon@gmail.com>
Mon, 15 Jun 2015 02:53:20 +0000 (12:23 +0930)
committerKukjin Kim <kgene@kernel.org>
Tue, 21 Jul 2015 03:55:43 +0000 (12:55 +0900)
Add pwm-fan node to the Odroid-XU3 boards.

Signed-off-by: Anand Moon <linux.amoon@gmail.com>
Tested-by: Markus Reichl <m.reichl@fivetechno.de>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi

index deb8d78dff025cc3b62f725f30a89d03681e0b61..a2f9941c349f9c09a7393a22fd249b93f5353a32 100644 (file)
                        clocks = <&i2s0 CLK_I2S_CDCLK>;
                };
        };
+
+       fan0: pwm-fan {
+               compatible = "pwm-fan";
+               pwms = <&pwm 0 20972 0>;
+               cooling-min-state = <0>;
+               cooling-max-state = <3>;
+               #cooling-cells = <2>;
+               cooling-levels = <0 130 170 230>;
+       };
 };
 
 &clock_audss {
         */
        pinctrl-0 = <&pwm0_out &pwm1_out &pwm2_out &pwm3_out>;
        pinctrl-names = "default";
+       samsung,pwm-outputs = <0>;
        status = "okay";
 };