diff mbox series

[U-Boot,08/13] armv7R: dts: k3: am654: Update mmc nodes for loading sysfw

Message ID 20190507172542.31359-9-dannenberg@ti.com
State Superseded
Delegated to: Tom Rini
Headers show
Series System Firmware Loader for TI K3 family SoCs | expand

Commit Message

Andreas Dannenberg May 7, 2019, 5:25 p.m. UTC
From: Lokesh Vutla <lokeshvutla@ti.com>

In order to load the sysfw.itb from a mmc device, clocks
should be hard coded to the same value as ROM configured
frequency. Clock updates cannot happen at this point as
sysfw is not yet available. So updating the clock properties
for mmc nodes.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
---
 arch/arm/dts/k3-am654-r5-base-board.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/dts/k3-am654-r5-base-board.dts b/arch/arm/dts/k3-am654-r5-base-board.dts
index a07038be70..94bdf57a14 100644
--- a/arch/arm/dts/k3-am654-r5-base-board.dts
+++ b/arch/arm/dts/k3-am654-r5-base-board.dts
@@ -96,6 +96,12 @@ 
 		u-boot,dm-spl;
 	};
 
+	clk_200mhz: dummy_clock {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <200000000>;
+		u-boot,dm-spl;
+	};
 };
 
 &dmsc {
@@ -137,3 +143,15 @@ 
 	pinctrl-names = "default";
 	pinctrl-0 = <&wkup_vtt_pins_default>;
 };
+
+&sdhci0 {
+	clock-names = "clk_xin";
+	clocks = <&clk_200mhz>;
+	/delete-property/ power-domains;
+};
+
+&sdhci1 {
+	clock-names = "clk_xin";
+	clocks = <&clk_200mhz>;
+	/delete-property/ power-domains;
+};