imx8mp-dhcom-pdk3-overlay-rev100: Pass #address-cells/size-cells
Fabio Estevam
reviewerPATCH v4 1/1 imx8mp-dhcom-pdk3-overlay-rev100: Pass #address-cells/size-cells
From: Fabio Estevam <[email protected]>
Pass #address-cells/size-cells in the mdio node to avoid the following DTC warning:
DTCO arch/arm/dts/imx8mp-dhcom-pdk3-overlay-rev100.dtbo
Warning (reg_format): /fragment@0/__overlay__:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): /fragment@0/__overlay__: Relying on default #address-cells value
Warning (avoid_default_addr_size): /fragment@0/__overlay__: Relying on default #size-cells value
Also change the Ethernet PHY address to 5, as per Marek's feedback.
---
Changes since v3:
- Change the Ethernet PHY address to 5 for good :-). (Marek)
arch/arm/dts/imx8mp-dhcom-pdk3-overlay-rev100.dts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
arch/arm/dts/imx8mp-dhcom-pdk3-overlay-rev100.dts +9 -2
@@ -5,6 +5,13 @@ /dts-v1/; /plugin/; -ðphy0g { - reg = <7>; +&eqos { + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethernet-phy@5 { + reg = <5>; + }; + }; };
Signature · 1 line
2.34.1
Quoted 27 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Pass #address-cells/size-cells in the mdio node to avoid the following DTC warning:
DTCO
arch/arm/dts/imx8mp-dhcom-pdk3-overlay-rev100.dtbo
Warning (reg_format): /fragment@0/__overlay__:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): /fragment@0/__overlay__: Relying on default #address-cells value
Warning (avoid_default_addr_size): /fragment@0/__overlay__: Relying on default #size-cells valueAlso change the Ethernet PHY address to 5, as per Marek's feedback.
Signed-off-by Fabio Estevam <[email protected]>---
Changes since v3:
- Change the Ethernet PHY address to 5 for good :-). (Marek)arch/arm/dts/imx8mp-dhcom-pdk3-overlay-rev100.dts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)arch/arm/dts/imx8mp-dhcom-pdk3-overlay-rev100.dts +0
-0@@ -5,6 +5,13 @@ /dts-v1/; /plugin/;
arch/arm/dts/imx8mp-dhcom-pdk3-overlay-rev100.dts line 14
Quoted 10 lines
arch/arm/dts/imx8mp-dhcom-pdk3-overlay-rev100.dts +7
-2-ðphy0g { - reg = <7>; +&eqos { + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethernet-phy@5 { + reg = <5>;
The reg should be 'reg = <7>' ;-) It's just the node name which should be 'ethernet-phy@5'. (Yes, I know, it is not consistent, that's because the DTO cannot "rename" the node itself easily).