[PATCH 2/3] ARM: i.MX50 clock: add clock for USB physbase

Alexander Kurz akurz at blala.de
Sun Mar 26 07:13:46 PDT 2017


Add the USB physbase clock entry for i.MX50 SoC to enable USB device
creation via DT.

Signed-off-by: Alexander Kurz <akurz at blala.de>
---
 drivers/clk/imx/clk-imx5.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/imx/clk-imx5.c b/drivers/clk/imx/clk-imx5.c
index c4c47a6..edebd25 100644
--- a/drivers/clk/imx/clk-imx5.c
+++ b/drivers/clk/imx/clk-imx5.c
@@ -313,6 +313,7 @@ int __init mx50_clocks_init(struct device_d *dev, void __iomem *regs)
 	clkdev_add_physbase(clks[IMX5_CLK_ESDHC_D_SEL], MX50_ESDHC4_BASE_ADDR, NULL);
 	clkdev_add_physbase(clks[IMX5_CLK_PER_ROOT], MX50_PWM1_BASE_ADDR, "per");
 	clkdev_add_physbase(clks[IMX5_CLK_PER_ROOT], MX50_PWM2_BASE_ADDR, "per");
+	clkdev_add_physbase(clks[IMX5_CLK_AHB], MX50_OTG_BASE_ADDR, NULL);
 
 	return 0;
 }
-- 
2.1.4




More information about the barebox mailing list