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>
This commit is contained in:
Lei YU 2018-05-09 17:35:59 +08:00 committed by Joel Stanley
parent 0f33bde885
commit a2df75ab0a
2 changed files with 2 additions and 2 deletions

View File

@ -240,7 +240,7 @@ pwm_tacho: pwm-tacho-controller@1e786000 {
#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";
};

View File

@ -299,7 +299,7 @@ pwm_tacho: pwm-tacho-controller@1e786000 {
#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";
};