diff options
author | Kamil Debski <k.debski@samsung.com> | 2015-08-17 02:53:47 +0300 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-09-17 01:48:11 +0300 |
commit | ee6011f299f3e75458bd6e91db5795e5adedd6fe (patch) | |
tree | 5c53e2828f0a7a905af38734f3885f27f37d11b7 /arch/arm/boot/dts/exynos4412-odroidu3.dts | |
parent | 41553f267a369f24244867f5d6c8d4df254906b7 (diff) | |
download | linux-ee6011f299f3e75458bd6e91db5795e5adedd6fe.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-odroidu3.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-odroidu3.dts | 12 |
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 @@ linux,default-trigger = "heartbeat"; }; }; + + pwm-fan { + compatible = "pwm-fan"; + pwms = <&pwm 0 10000 0>; + }; +}; + +&pwm { + pinctrl-0 = <&pwm0_out>; + pinctrl-names = "default"; + samsung,pwm-outputs = <0>; + status = "okay"; }; &usb3503 { |