summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2015-01-27 15:13:51 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2016-12-14 13:49:51 +0900
commit2a31587d7ac876c0014e93ef3ed8fff1f4e3f506 (patch)
tree2fcb8be4400c422ab1ef3f0d3a6c371969aff681 /arch/arm/boot/dts
parent5cde25b04caba81db9a2d3aa0a07ea7e260d77a3 (diff)
ARM: dts: exynos5422-odroidxu3: add pwm-fan node
Usage: echo [0 - 255] > /sys/devices/platform/pwm-fan/hwmon/hwmon0/pwm1 Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/exynos5422-odroidxu3.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
index a209aaa045c0..ccef015a352f 100644
--- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts
@@ -286,6 +286,12 @@
rtc@101E0000 {
status = "okay";
};
+
+ pwm-fan {
+ compatible = "pwm-fan";
+ status = "okay";
+ pwms = <&pwm 0 10000 0>;
+ };
};
&hdmi {
@@ -392,3 +398,9 @@
shunt-resistor = <10000>;
};
};
+
+&pwm {
+ status = "okay";
+ pinctrl-0 = <&pwm0_out>;
+ pinctrl-names = "default";
+};