[U-Boot] [PATCH 6/6 v3] mips: mt7628a.dtsi: Add SPI clock-frequency property

Stefan Roese sr at denx.de
Thu Aug 16 13:27:33 UTC 2018


This patch adds the clock-frequency property to the SPI controller
DT node. It will be used by the SPI driver to calculate the baud rate.

Signed-off-by: Stefan Roese <sr at denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
---
v3:
- New patch

 arch/mips/dts/mt7628a.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628a.dtsi
index d525f019fe..c14259b170 100644
--- a/arch/mips/dts/mt7628a.dtsi
+++ b/arch/mips/dts/mt7628a.dtsi
@@ -76,6 +76,8 @@
 			reg = <0xb00 0x40>;
 			#address-cells = <1>;
 			#size-cells = <0>;
+
+			clock-frequency = <200000000>;
 		};
 
 		uart0: uartlite at c00 {
-- 
2.18.0



More information about the U-Boot mailing list