Hi,
On Tue, Aug 1, 2017 at 3:55 AM, Chen-Yu Tsai [off-list ref] wrote:
On Tue, Aug 1, 2017 at 1:01 PM, Luis Araneda [off-list ref] wrote:
quoted
+&emac {
+ pinctrl-names = "default";
+ pinctrl-0 = <&emac_rgmii_pins>;
+ phy-supply = <®_gmac_3v3>;
+ phy-handle = <&ext_rgmii_phy>;
+ phy-mode = "rgmii";
+ allwinner,leds-active-low;
This property is for the internal PHY. You should not be using it
with an external PHY.
You're right. When reading the file "dwmac-sun8i.txt" I thought EPHY meant
External PHY, but it means Ethernet PHY (integrated).
I've tested the board without the property and the LEDs are working fine.
quoted
+ status = "okay";
+};
+
+&mdio {
+ ext_rgmii_phy: ethernet-phy at 1 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <0>;
Value in reg should match the address part of the node name.
Ok.
I'll be sending a v2 with the suggested changes.
Cheers,
Luis Araneda.