arm64: dts: qcom: sa8155p-adp: Make compatible the first property
authorAndrew Halaney <ahalaney@redhat.com>
Mon, 1 May 2023 21:24:43 +0000 (16:24 -0500)
committerBjorn Andersson <andersson@kernel.org>
Thu, 25 May 2023 02:33:17 +0000 (19:33 -0700)
As stated at the below link in another review, compatible is always the
first property.

Follow suit here to avoid copying incorrectly in the future.

Link: https://lore.kernel.org/netdev/20230331215804.783439-1-ahalaney@redhat.com/T/#ma76b4116bbb9e49ee4bcf699e40935d80965b3f3
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230501212446.2570364-2-ahalaney@redhat.com
arch/arm64/boot/dts/qcom/sa8155p-adp.dts

index 339fea5..029b231 100644 (file)
        max-speed = <1000>;
 
        mdio {
+               compatible = "snps,dwmac-mdio";
                #address-cells = <0x1>;
                #size-cells = <0x0>;
 
-               compatible = "snps,dwmac-mdio";
-
                /* Micrel KSZ9031RNZ PHY */
                rgmii_phy: phy@7 {
+                       compatible = "ethernet-phy-ieee802.3-c22";
                        reg = <0x7>;
 
                        interrupt-parent = <&tlmm>;
                        interrupts-extended = <&tlmm 124 IRQ_TYPE_EDGE_FALLING>; /* phy intr */
                        device_type = "ethernet-phy";
-                       compatible = "ethernet-phy-ieee802.3-c22";
                };
        };
 };