diff options
author | Lei YU <mine260309@gmail.com> | 2018-05-09 12:35:59 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2018-05-18 10:51:54 +0300 |
commit | 9224ca752a6d305a1066ef249fd53d54e6d59ba7 (patch) | |
tree | abd8d02e226f61c9d5f0558407fe6866b446d6cb | |
parent | 560f4314a01e130d04446ad41a3400f4b2fedd86 (diff) | |
download | linux-9224ca752a6d305a1066ef249fd53d54e6d59ba7.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.
OpenBMC-Staging-Count: 1
Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r-- | arch/arm/boot/dts/aspeed-g4.dtsi | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/aspeed-g5.dtsi | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index 50bc661b8fff..9354ac92d928 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -201,7 +201,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"; }; diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 7588a4c9643a..f7c33fbcdaee 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -259,7 +259,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"; }; |