ARM: dts: qcom: pm8226: sort includes alphabetically and nodes by address
authorRayyan Ansari <rayyan@ansari.sh>
Fri, 23 Dec 2022 19:34:01 +0000 (19:34 +0000)
committerBjorn Andersson <andersson@kernel.org>
Thu, 29 Dec 2022 03:32:42 +0000 (21:32 -0600)
Sort the includes and nodes for consistency.

Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>
Reviewed-by: Luca Weiss <luca@z3ntu.xyz>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221223193403.781355-2-rayyan@ansari.sh
arch/arm/boot/dts/qcom-pm8226.dtsi

index eb36d36..a209256 100644 (file)
@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: BSD-3-Clause
+#include <dt-bindings/iio/qcom,spmi-vadc.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/spmi/spmi.h>
-#include <dt-bindings/iio/qcom,spmi-vadc.h>
 
 &spmi_bus {
        pm8226_0: pm8226@0 {
                        chg_otg: otg-vbus { };
                };
 
-               rtc@6000 {
-                       compatible = "qcom,pm8941-rtc";
-                       reg = <0x6000>, <0x6100>;
-                       reg-names = "rtc", "alarm";
-                       interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
-               };
-
                pm8226_vadc: adc@3100 {
                        compatible = "qcom,spmi-vadc";
                        reg = <0x3100>;
                        };
                };
 
+               rtc@6000 {
+                       compatible = "qcom,pm8941-rtc";
+                       reg = <0x6000>, <0x6100>;
+                       reg-names = "rtc", "alarm";
+                       interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
+               };
+
                pm8226_mpps: mpps@a000 {
                        compatible = "qcom,pm8226-mpp", "qcom,spmi-mpp";
                        reg = <0xa000>;