[PATCH 3/3] riscv: dts: mpfs-icicle-kit: Drop 'clock-frequency' in the uart nodes

Padmarao Begari padmarao.b at gmail.com
Tue Apr 6 18:15:10 CEST 2021


On Wed, Mar 31, 2021 at 12:55 PM Bin Meng <bmeng.cn at gmail.com> wrote:

> The uart nodes already provide <clocks> property for the driver to
> dynamically calculate the correct clock frequency. There is no need
> to keep the hard-coded <clock-frequency> property.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  arch/riscv/dts/microchip-mpfs-icicle-kit.dts | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/arch/riscv/dts/microchip-mpfs-icicle-kit.dts
> b/arch/riscv/dts/microchip-mpfs-icicle-kit.dts
> index e2b9decc94..89c4cf5fb2 100644
> --- a/arch/riscv/dts/microchip-mpfs-icicle-kit.dts
> +++ b/arch/riscv/dts/microchip-mpfs-icicle-kit.dts
> @@ -232,7 +232,6 @@
>                         reg-shift = <2>;
>                         interrupt-parent = <&plic>;
>                         interrupts = <90>;
> -                       clock-frequency = <150000000>;
>                         clocks = <&clkcfg CLK_MMUART0>;
>                         status = "okay";
>                 };
> @@ -294,7 +293,6 @@
>                         reg-shift = <2>;
>                         interrupt-parent = <&plic>;
>                         interrupts = <91>;
> -                       clock-frequency = <150000000>;
>                         clocks = <&clkcfg CLK_MMUART1>;
>                         status = "okay";
>                 };
> @@ -305,7 +303,6 @@
>                         reg-shift = <2>;
>                         interrupt-parent = <&plic>;
>                         interrupts = <92>;
> -                       clock-frequency = <150000000>;
>                         clocks = <&clkcfg CLK_MMUART2>;
>                         status = "okay";
>                 };
> @@ -316,7 +313,6 @@
>                         reg-shift = <2>;
>                         interrupt-parent = <&plic>;
>                         interrupts = <93>;
> -                       clock-frequency = <150000000>;
>                         clocks = <&clkcfg CLK_MMUART3>;
>                         status = "okay";
>                 };
> --
> 2.25.1
>
>
Reviewed-by: Padmarao Begari <padmarao.begari at microchip.com>
Tested-by: Padmarao Begari <padmarao.begari at microchip.com>


More information about the U-Boot mailing list