diff mbox series

[PATCHv1,2/6] arm: dts: meson: Add missing ethernet phy mdio compatible string

Message ID 20210325124225.2760-3-linux.amoon@gmail.com (mailing list archive)
State New
Headers show
Series Amlogic Soc - Add missing ethernet mdio compatible string | expand

Commit Message

Anand Moon March 25, 2021, 12:42 p.m. UTC
Add missing ethernet phy mdio comatible string to help
initiate the phy on Amlogic SoC SBC.

Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Anand Moon <linux.amoon@gmail.com>
---
 arch/arm/boot/dts/meson8b-ec100.dts       | 1 +
 arch/arm/boot/dts/meson8b-mxq.dts         | 1 +
 arch/arm/boot/dts/meson8b-odroidc1.dts    | 1 +
 arch/arm/boot/dts/meson8m2-mxiii-plus.dts | 1 +
 4 files changed, 4 insertions(+)

Comments

Andrew Lunn March 25, 2021, 12:59 p.m. UTC | #1
On Thu, Mar 25, 2021 at 12:42:21PM +0000, Anand Moon wrote:
> Add missing ethernet phy mdio comatible string to help
> initiate the phy on Amlogic SoC SBC.

"ethernet-phy-ieee802.3-c22" is the default. So this is not wrong, but
it should not be required.

   Andrew
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/meson8b-ec100.dts b/arch/arm/boot/dts/meson8b-ec100.dts
index 8e48ccc6b634..09ce822308de 100644
--- a/arch/arm/boot/dts/meson8b-ec100.dts
+++ b/arch/arm/boot/dts/meson8b-ec100.dts
@@ -262,6 +262,7 @@  mdio {
 
 		eth_phy0: ethernet-phy@0 {
 			/* IC Plus IP101A/G (0x02430c54) */
+			compatible = "ethernet-phy-ieee802.3-c22";
 			reg = <0>;
 
 			reset-assert-us = <10000>;
diff --git a/arch/arm/boot/dts/meson8b-mxq.dts b/arch/arm/boot/dts/meson8b-mxq.dts
index f3937d55472d..c1638f3c9edf 100644
--- a/arch/arm/boot/dts/meson8b-mxq.dts
+++ b/arch/arm/boot/dts/meson8b-mxq.dts
@@ -109,6 +109,7 @@  mdio {
 
 		eth_phy0: ethernet-phy@0 {
 			/* IC Plus IP101A/G (0x02430c54) */
+			compatible = "ethernet-phy-ieee802.3-c22";
 			reg = <0>;
 
 			reset-assert-us = <10000>;
diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts
index c440ef94e082..ca439302c74d 100644
--- a/arch/arm/boot/dts/meson8b-odroidc1.dts
+++ b/arch/arm/boot/dts/meson8b-odroidc1.dts
@@ -216,6 +216,7 @@  mdio {
 
 		/* Realtek RTL8211F (0x001cc916) */
 		eth_phy: ethernet-phy@0 {
+			compatible = "ethernet-phy-ieee802.3-c22";
 			reg = <0>;
 
 			reset-assert-us = <10000>;
diff --git a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts
index fa6d55f1cfb9..6c9b22605264 100644
--- a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts
+++ b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts
@@ -73,6 +73,7 @@  mdio {
 
 		eth_phy0: ethernet-phy@0 {
 			/* Realtek RTL8211F (0x001cc916) */
+			compatible = "ethernet-phy-ieee802.3-c22";
 			reg = <0>;
 
 			reset-assert-us = <10000>;