Commit a2df75ab authored by Lei YU's avatar Lei YU Committed by Joel Stanley

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: default avatarLei YU <mine260309@gmail.com>
Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent 0f33bde8
......@@ -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";
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment