The UART of MT7628 has fixed 40MHz input clock so there is no need to put
clock-frequency in every dts files. Just put it into the common dtsi file.
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
&uart0 {
status = "okay";
- clock-frequency = <40000000>;
};
&spi0 {
&uart2 {
status = "okay";
- clock-frequency = <40000000>;
};
&spi0 {
compatible = "ns16550a";
reg = <0xc00 0x100>;
+ clock-frequency = <40000000>;
+
resets = <&resetc 12>;
reset-names = "uart0";
compatible = "ns16550a";
reg = <0xd00 0x100>;
+ clock-frequency = <40000000>;
+
resets = <&resetc 19>;
reset-names = "uart1";
compatible = "ns16550a";
reg = <0xe00 0x100>;
+ clock-frequency = <40000000>;
+
resets = <&resetc 20>;
reset-names = "uart2";