@@ -26,6 +26,11 @@ key-wakeup {
};
};
+/* Colibri FastEthernet */
+&fec1 {
+ status = "okay";
+};
+
&i2c1 {
status = "okay";
@@ -51,11 +56,6 @@ &lpuart3 {
status = "okay";
};
-/* Colibri FastEthernet */
-&fec1 {
- status = "okay";
-};
-
/* Colibri SD/MMC Card */
&usdhc2 {
status = "okay";
@@ -16,6 +16,27 @@ reg_module_3v3: regulator-module-3v3 {
};
};
+/* Colibri FastEthernet */
+&fec1 {
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&pinctrl_fec1>;
+ pinctrl-1 = <&pinctrl_fec1_sleep>;
+ fsl,magic-packet;
+ phy-handle = <ðphy0>;
+ phy-mode = "rmii";
+
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethphy0: ethernet-phy@2 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <2>;
+ max-speed = <100>;
+ };
+ };
+};
+
/* On-module I2C */
&i2c0 {
#address-cells = <1>;
@@ -70,27 +91,6 @@ &lpuart3 {
pinctrl-0 = <&pinctrl_lpuart3>, <&pinctrl_lpuart3_ctrl>;
};
-/* Colibri FastEthernet */
-&fec1 {
- pinctrl-names = "default", "sleep";
- pinctrl-0 = <&pinctrl_fec1>;
- pinctrl-1 = <&pinctrl_fec1_sleep>;
- fsl,magic-packet;
- phy-handle = <ðphy0>;
- phy-mode = "rmii";
-
- mdio {
- #address-cells = <1>;
- #size-cells = <0>;
-
- ethphy0: ethernet-phy@2 {
- compatible = "ethernet-phy-ieee802.3-c22";
- reg = <2>;
- max-speed = <100>;
- };
- };
-};
-
/* On-module eMMC */
&usdhc1 {
pinctrl-names = "default", "state_100mhz", "state_200mhz";