On Mon, Mar 12, 2018 at 11:21 AM, 'Ondřej Jirman' via linux-sunxi <linux-sunxi@googlegroups.com> wrote: > Hi, > > mainline kernel contains: > > &emac { > phy-handle = <&int_mii_phy>; > phy-mode = "mii"; > allwinner,leds-active-low; > status = "okay"; > }; > > And it works fine. > > Seems like you're just missing status = "okay" for some reason. > > Perhaps it is some merge issue in sunxi-next? I've been having merge issues > where status = "okay" was remove for orange pi one recently, too.
Looks like a merge issue indeed. The file looks correct in the topic branches, but not in sunxi/for-next or sunxi-next. However nothing really stands out. ChenYu > > regards, > o. > > On Sun, Mar 11, 2018 at 07:52:37PM -0700, Charles Lohr wrote: >> I have never contributed to a list and I could just grossly misunderstand >> how this works. The link on the mailing list page outlining how to send >> patches is a moved link. >> >> I'm currently on sunxi-next, and my OrangePi One does not have ethernet at >> bootup unless I add the following. Can someone check it? I'm also having a >> problem of no HDMI, so, I will be looking into that, too. >> >> If I make the following changes, Ethernet seems to work just fine. I'm not >> sure if they're "right" but it definitely moves it from not working to >> working. >> >> diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts >> b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts >> index 3328fe583..028954bf4 100644 >> --- a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts >> +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts >> @@ -115,8 +115,15 @@ >> >> &emac { >> phy-handle = <&int_mii_phy>; >> + phy = <&phy1>; >> phy-mode = "mii"; >> + allwinner,use-internal-phy; >> allwinner,leds-active-low; >> + status = "okay"; >> + phy1: ethernet-phy@1 { >> + reg = <1>; >> + }; >> + >> }; >> >> &hdmi { >> >> -- >> You received this message because you are subscribed to the Google Groups >> "linux-sunxi" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to linux-sunxi+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to linux-sunxi+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.