diff mbox series

[4/9] arm64: dts: allwinner: pinebook: Sort device tree nodes

Message ID 20200119163104.13274-4-samuel@sholland.org (mailing list archive)
State Mainlined
Commit c0e79b069e4ff6e0881d82ba831424ca7362e828
Headers show
Series [1/9] arm64: dts: allwinner: Enable button wakeup on Orange Pi PC2 | expand

Commit Message

Samuel Holland Jan. 19, 2020, 4:30 p.m. UTC
The r_i2c node should come before r_rsb, and in any case should not
separate the axp803 node from its subnodes.

Signed-off-by: Samuel Holland <samuel@sholland.org>
---
 .../boot/dts/allwinner/sun50i-a64-pinebook.dts   | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Comments

Maxime Ripard Jan. 21, 2020, 9:06 a.m. UTC | #1
On Sun, Jan 19, 2020 at 10:30:59AM -0600, Samuel Holland wrote:
> The r_i2c node should come before r_rsb, and in any case should not
> separate the axp803 node from its subnodes.
>
> Signed-off-by: Samuel Holland <samuel@sholland.org>

Applied, thanks!
Maxime
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
index 8e7ce6ad28dd..97e412fc4e4b 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
@@ -172,6 +172,14 @@ 
 	status = "okay";
 };
 
+/* The ANX6345 eDP-bridge is on r_i2c */
+&r_i2c {
+	clock-frequency = <100000>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&r_i2c_pl89_pins>;
+	status = "okay";
+};
+
 &r_rsb {
 	status = "okay";
 
@@ -183,14 +191,6 @@ 
 	};
 };
 
-/* The ANX6345 eDP-bridge is on r_i2c */
-&r_i2c {
-	clock-frequency = <100000>;
-	pinctrl-names = "default";
-	pinctrl-0 = <&r_i2c_pl89_pins>;
-	status = "okay";
-};
-
 #include "axp803.dtsi"
 
 &ac_power_supply {