aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.io>2017-06-07 08:23:03 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-06-07 15:26:14 +0200
commit9907da07d49ce56b3039bb8448e3bed9ccef7163 (patch)
tree3bab3612756cf553c6a283b1d75d185157294cca /arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
parentarm64: allwinner: h5: add support for NanoPi NEO2 board (diff)
downloadlinux-dev-9907da07d49ce56b3039bb8448e3bed9ccef7163.tar.xz
linux-dev-9907da07d49ce56b3039bb8448e3bed9ccef7163.zip
arm64: allwinner: h5: sort the device nodes in / part for some boards
The reg_vcc3v3 node is wrongly placed at the start of the / part, but not with other fixed regulators used by the board, which makes the device nodes unsorted. As Orange Pi Prime and Nano Pi NEO2 device trees are copy'n'paste works, they share the device node unsorted issue. Fix this by move reg_vcc3v3 node to the position before reg_usb0_vbus. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts')
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
index 28d92a612329..097c33386190 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts
@@ -53,13 +53,6 @@
model = "Xunlong Orange Pi Prime";
compatible = "xunlong,orangepi-prime", "allwinner,sun50i-h5";
- reg_vcc3v3: vcc3v3 {
- compatible = "regulator-fixed";
- regulator-name = "vcc3v3";
- regulator-min-microvolt = <3300000>;
- regulator-max-microvolt = <3300000>;
- };
-
aliases {
serial0 = &uart0;
};
@@ -93,6 +86,13 @@
};
};
+ reg_vcc3v3: vcc3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "vcc3v3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
reg_usb0_vbus: usb0-vbus {
compatible = "regulator-fixed";
regulator-name = "usb0-vbus";