From: Chen-Yu Tsai <wens@csie.org>
Date: Thu, 25 May 2017 07:31:33 +0000 (+0800)
Subject: ARM: sun7i: a20: cubieboard2: Move usb_otg node for alphabetical ordering
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0ac409a6cac35a8190f7c6fdbfc274603ee43e7f;p=linux.git

ARM: sun7i: a20: cubieboard2: Move usb_otg node for alphabetical ordering

We want to keep node references in alphabetical order, except for
instances where node must be #included first.

Move the usb_otg node reference so that all references to non-AXP209
device nodes are in alphabetical order.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---

diff --git a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
index 7ac5bcc9f972b..c21edd75d0b38 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
@@ -174,11 +174,6 @@
 	status = "okay";
 };
 
-&usb_otg {
-	dr_mode = "otg";
-	status = "okay";
-};
-
 #include "axp209.dtsi"
 
 &reg_dcdc2 {
@@ -220,6 +215,11 @@
 	status = "okay";
 };
 
+&usb_otg {
+	dr_mode = "otg";
+	status = "okay";
+};
+
 &usbphy {
 	pinctrl-names = "default";
 	pinctrl-0 = <&usb0_id_detect_pin>;