ARM: dts: imx27-phytec-phycore-som: Update FEC node
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 30 Nov 2013 06:18:03 +0000 (10:18 +0400)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 9 Feb 2014 13:33:08 +0000 (21:33 +0800)
This patch updates FEC devicetree node of Phytec PCM038 module:
- Adding missing phy_mode properties.
- Adding fixed regulator to provide functionality without
  dummy-regulator in the kernel.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx27-phytec-phycore-som.dts

index beec525edbf31fc3c751a49b221116470276129a..07fd4be8cd362eb6856d7a9565f669de194bf1e2 100644 (file)
        memory {
                reg = <0xa0000000 0x08000000>;
        };
+
+       regulators {
+               compatible = "simple-bus";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               reg_3v3: regulator@0 {
+                       compatible = "regulator-fixed";
+                       reg = <0>;
+                       regulator-name = "3V3";
+                       regulator-min-microvolt = <3300000>;
+                       regulator-max-microvolt = <3300000>;
+               };
+       };
 };
 
 &audmux {
 };
 
 &fec {
+       phy-mode = "mii";
        phy-reset-gpios = <&gpio3 30 0>;
+       phy-supply = <&reg_3v3>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_fec1>;
        status = "okay";