ARM: dts: mxs: add enet_out clock to devicetree
authorWolfram Sang <w.sang@pengutronix.de>
Tue, 29 Jan 2013 14:46:12 +0000 (15:46 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 4 Apr 2013 13:22:40 +0000 (21:22 +0800)
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: Wolfram Sang <w.sang@pengutronix.de>
[shawn.guo: add enet_out into imx28.dtsi and overwrite it for m28evk]
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx28-m28evk.dts
arch/arm/boot/dts/imx28.dtsi

index 6ce3d17c3a29c19c80ef6a04484fd59ec5e8765a..3d2e1a49133580b1dab136d38f361cb999158d5d 100644 (file)
                        phy-mode = "rmii";
                        pinctrl-names = "default";
                        pinctrl-0 = <&mac0_pins_a>;
+                       clocks = <&clks 57>, <&clks 57>;
+                       clock-names = "ipg", "ahb";
                        status = "okay";
                };
 
index 64af2381c1b0cc43a87f2fccca21ca454f036917..9a7adaa4e4fbc9cad42b4f6dea41a0cc82df7e8b 100644 (file)
                        compatible = "fsl,imx28-fec";
                        reg = <0x800f0000 0x4000>;
                        interrupts = <101>;
-                       clocks = <&clks 57>, <&clks 57>;
-                       clock-names = "ipg", "ahb";
+                       clocks = <&clks 57>, <&clks 57>, <&clks 64>;
+                       clock-names = "ipg", "ahb", "enet_out";
                        status = "disabled";
                };