Commit f231a9fe authored by Wolfram Sang's avatar Wolfram Sang Committed by Shawn Guo

ARM: dts: mxs: add enet_out clock to devicetree

Put the clock to the devicetree, so the driver can take care of it
later. Then, we don't have to do the enabling as a workaround in board
init.
Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
[shawn.guo: add enet_out into imx28.dtsi and overwrite it for m28evk]
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent daa7d392
...@@ -221,6 +221,8 @@ mac0: ethernet@800f0000 { ...@@ -221,6 +221,8 @@ mac0: ethernet@800f0000 {
phy-mode = "rmii"; phy-mode = "rmii";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mac0_pins_a>; pinctrl-0 = <&mac0_pins_a>;
clocks = <&clks 57>, <&clks 57>;
clock-names = "ipg", "ahb";
status = "okay"; status = "okay";
}; };
......
...@@ -943,8 +943,8 @@ mac0: ethernet@800f0000 { ...@@ -943,8 +943,8 @@ mac0: ethernet@800f0000 {
compatible = "fsl,imx28-fec"; compatible = "fsl,imx28-fec";
reg = <0x800f0000 0x4000>; reg = <0x800f0000 0x4000>;
interrupts = <101>; interrupts = <101>;
clocks = <&clks 57>, <&clks 57>; clocks = <&clks 57>, <&clks 57>, <&clks 64>;
clock-names = "ipg", "ahb"; clock-names = "ipg", "ahb", "enet_out";
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment