aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
diff options
context:
space:
mode:
authorYash Shah <yash.shah@sifive.com>2019-08-21 14:53:40 +0530
committerPaul Walmsley <paul.walmsley@sifive.com>2019-09-19 05:44:34 -0700
commitb45e0c30bc58fb6fcaa42f1d1d813cefb8ab4117 (patch)
tree2e2d86578b6653992e6e9bd6c2582d485c1a089f /arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
parentb41dae061bbd722b9d7fa828f35d22035b218e18 (diff)
downloadlinux-b45e0c30bc58fb6fcaa42f1d1d813cefb8ab4117.tar.gz
riscv: dts: Add DT support for SiFive FU540 PWM driver
Add the PWM DT node in SiFive FU540 soc-specific DT file. Enable the PWM nodes in HiFive Unleashed board-specific DT file. Signed-off-by: Yash Shah <yash.shah@sifive.com> Cc: Palmer Dabbelt <palmer@sifive.com> [paul.walmsley@sifive.com: added chip-specific compatible string; dropped reg-names string from pwm1] Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts')
-rw-r--r--arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
index 93d68cbd64fe..104d334511cd 100644
--- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
+++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
@@ -85,3 +85,11 @@
reg = <0>;
};
};
+
+&pwm0 {
+ status = "okay";
+};
+
+&pwm1 {
+ status = "okay";
+};