arm64: dts: qcom: sa8775p-ride: index the first SGMII PHY
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 10 Aug 2023 08:09:05 +0000 (10:09 +0200)
committerBjorn Andersson <andersson@kernel.org>
Fri, 11 Aug 2023 17:34:05 +0000 (10:34 -0700)
We'll be adding a second SGMII PHY on the same MDIO bus, so let's index
the first one for better readability.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Tested-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/20230810080909.6259-6-brgl@bgdev.pl
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sa8775p-ride.dts

index 4571825..fa32190 100644 (file)
 
 &ethernet0 {
        phy-mode = "sgmii";
-       phy-handle = <&sgmii_phy>;
+       phy-handle = <&sgmii_phy0>;
 
        pinctrl-0 = <&ethernet0_default>;
        pinctrl-names = "default";
                #address-cells = <1>;
                #size-cells = <0>;
 
-               sgmii_phy: phy@8 {
+               sgmii_phy0: phy@8 {
                        compatible = "ethernet-phy-id0141.0dd4";
                        reg = <0x8>;
                        device_type = "ethernet-phy";