summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-05-04 22:41:22 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-05-06 09:25:21 +0200
commite5018a1715f610b55dd38dadcf37af447f48528d (patch)
treee7c320c780f3694247da0b7e770877559cd3dd57 /drivers/clk
parent7268270e05b206ed33c3b7b9dfc3c118e428b514 (diff)
downloadbarebox-e5018a1715f610b55dd38dadcf37af447f48528d.tar.gz
barebox-e5018a1715f610b55dd38dadcf37af447f48528d.tar.xz
clk: mxs: Fix clock numbering
The device tree clock lookups use the position in the clks array, hence they must match. fec_sleep is a barebox specific clock and is in between other clocks. Put the clock at the end of the array. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/mxs/clk-imx28.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/mxs/clk-imx28.c b/drivers/clk/mxs/clk-imx28.c
index aedd8d4a7c..241b26c9a2 100644
--- a/drivers/clk/mxs/clk-imx28.c
+++ b/drivers/clk/mxs/clk-imx28.c
@@ -56,8 +56,8 @@ enum imx28_clk {
emi_xtal, lcdif_div, etm_div, ptp, saif0_div, saif1_div,
clk32k_div, rtc, lradc, spdif_div, clk32k, pwm, uart, ssp0,
ssp1, ssp2, ssp3, gpmi, spdif, emi, saif0, saif1, lcdif, etm,
- fec_sleep, fec, can0, can1, usb0, usb1, usb0_phy, usb1_phy, enet_out,
- lcdif_comp, clk_max
+ fec, can0, can1, usb0, usb1, usb0_phy, usb1_phy, enet_out,
+ lcdif_comp, fec_sleep, clk_max
};
static struct clk *clks[clk_max];