1
0

005-rockchip-rk3328-add-compatible-to-NanoPi-R2S-etherne.patch 900 B

12345678910111213141516171819202122232425
  1. From bc6c96d850419e71dbc9b0094ccc9b668ba9be43 Mon Sep 17 00:00:00 2001
  2. From: David Bauer <mail@david-bauer.net>
  3. Date: Mon, 28 Sep 2020 22:54:52 +0200
  4. Subject: [PATCH] rockchip: rk3328: add compatible to NanoPi R2S ethernet PHY
  5. This adds the compatible property to the NanoPi R2S ethernet PHY node.
  6. Otherwise, the PHY might not be probed, as the PHY ID reads all 0xff
  7. when it is still in reset.
  8. Signed-off-by: David Bauer <mail@david-bauer.net>
  9. ---
  10. arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts | 2 ++
  11. 1 file changed, 2 insertions(+)
  12. --- a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
  13. +++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
  14. @@ -134,6 +134,8 @@
  15. #size-cells = <0>;
  16. rtl8211e: ethernet-phy@1 {
  17. + compatible = "ethernet-phy-id001c.c915",
  18. + "ethernet-phy-ieee802.3-c22";
  19. reg = <1>;
  20. pinctrl-0 = <&eth_phy_reset_pin>;
  21. pinctrl-names = "default";