summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/aspeed-g5.dtsi
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2018-05-09 12:35:59 +0300
committerJoel Stanley <joel@jms.id.au>2018-07-18 16:07:21 +0300
commita2df75ab0aba98daf7fa4828cf8a669c636c6382 (patch)
tree1d79d707aec37ab73d8254e732b833980d586cb3 /arch/arm/boot/dts/aspeed-g5.dtsi
parent0f33bde8859b7746ecdd8af1d1e5dde0e9b899f9 (diff)
downloadlinux-a2df75ab0aba98daf7fa4828cf8a669c636c6382.tar.xz
ARM: dts: aspeed: Use 24MHz fixed clock for pwm
The aspeed pwm driver always sets the clock source to 24MHz, specify the fixed clock in device tree to make sure the driver is using the correct clock frequency to calculate the fan speed. Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-g5.dtsi')
-rw-r--r--arch/arm/boot/dts/aspeed-g5.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index 6274d3eaf374..02e70ad3ab70 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -299,7 +299,7 @@
#address-cells = <1>;
#size-cells = <0>;
reg = <0x1e786000 0x1000>;
- clocks = <&syscon ASPEED_CLK_APB>;
+ clocks = <&syscon ASPEED_CLK_24M>;
resets = <&syscon ASPEED_RESET_PWM>;
status = "disabled";
};