aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamil Debski <k.debski@samsung.com>2015-08-16 19:53:47 -0400
committerKukjin Kim <kgene@kernel.org>2015-09-16 18:48:11 -0400
commitee6011f299f3e75458bd6e91db5795e5adedd6fe (patch)
tree5c53e2828f0a7a905af38734f3885f27f37d11b7
parent41553f267a369f24244867f5d6c8d4df254906b7 (diff)
ARM: dts: Add pwm-fan node for exynos4412-odroidu3
Add pwm-fan node to the Odroid-U3 board file to enable PWM control of the cooling fan. In addition, add the "pwm" label to the pwm@139D0000 node in the exynos4412.dtsi. Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Kukjin Kim <kgene@kernel.org>
-rw-r--r--arch/arm/boot/dts/exynos4412-odroidu3.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts
index 8632f35c6c26..54b3bc1dba1d 100644
--- a/arch/arm/boot/dts/exynos4412-odroidu3.dts
+++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts
@@ -32,6 +32,18 @@
32 linux,default-trigger = "heartbeat"; 32 linux,default-trigger = "heartbeat";
33 }; 33 };
34 }; 34 };
35
36 pwm-fan {
37 compatible = "pwm-fan";
38 pwms = <&pwm 0 10000 0>;
39 };
40};
41
42&pwm {
43 pinctrl-0 = <&pwm0_out>;
44 pinctrl-names = "default";
45 samsung,pwm-outputs = <0>;
46 status = "okay";
35}; 47};
36 48
37&usb3503 { 49&usb3503 {