mirror of https://gitee.com/openkylin/linux.git
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:
parent
0f33bde885
commit
a2df75ab0a
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue