From: Kamil Debski Date: Sun, 16 Aug 2015 23:53:47 +0000 (+0900) Subject: ARM: dts: Add pwm-fan node for exynos4412-odroidu3 X-Git-Tag: KARO-TX6UL-2015-11-03~137^2~5^2~13 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ee6011f299f3e75458bd6e91db5795e5adedd6fe;p=karo-tx-linux.git 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 Signed-off-by: Lukasz Majewski Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kukjin Kim --- 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 {