[PATCH v1 11/25] arm64: dts: colibri-imx8x: Sort fec1 node alphabetically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Philippe Schenker <philippe.schenker@xxxxxxxxxxx>

fec1 seems to be the only one that is not properly sorted
alphabetically. Put it to the location it belongs.

Signed-off-by: Philippe Schenker <philippe.schenker@xxxxxxxxxxx>
---

 .../dts/freescale/imx8x-colibri-eval-v3.dtsi  | 10 ++---
 .../boot/dts/freescale/imx8x-colibri.dtsi     | 42 +++++++++----------
 2 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi
index dc0339b35a3c..870375301243 100644
--- a/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8x-colibri-eval-v3.dtsi
@@ -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";
diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
index c6aaf6aeab07..31c771c1b788 100644
--- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
@@ -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 = <&ethphy0>;
+	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 = <&ethphy0>;
-	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";
-- 
2.39.2




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux