clk: ux500: Provide device enumeration number suffix for SMSC911x
First Ethernet device has a ".0" appended onto the device name. It appears that we need this in order to obtain the correct clock. Without this fix Ethernet does not function on Ux500 devices, which is a regression. Cc: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mike Turquette <mturquette@linaro.org> [mturquette@linaro.org: improved changelog]
This commit is contained in:
parent
e4aa937ec7
commit
dd47044803
|
@ -325,7 +325,7 @@ void u8500_clk_init(u32 clkrst1_base, u32 clkrst2_base, u32 clkrst3_base,
|
||||||
clk = clk_reg_prcc_pclk("p3_pclk0", "per3clk", clkrst3_base,
|
clk = clk_reg_prcc_pclk("p3_pclk0", "per3clk", clkrst3_base,
|
||||||
BIT(0), 0);
|
BIT(0), 0);
|
||||||
clk_register_clkdev(clk, "fsmc", NULL);
|
clk_register_clkdev(clk, "fsmc", NULL);
|
||||||
clk_register_clkdev(clk, NULL, "smsc911x");
|
clk_register_clkdev(clk, NULL, "smsc911x.0");
|
||||||
|
|
||||||
clk = clk_reg_prcc_pclk("p3_pclk1", "per3clk", clkrst3_base,
|
clk = clk_reg_prcc_pclk("p3_pclk1", "per3clk", clkrst3_base,
|
||||||
BIT(1), 0);
|
BIT(1), 0);
|
||||||
|
|
Loading…
Reference in New Issue