On Sat, Jan 14, 2017 at 10:42 AM, André Przywara <andre.przyw...@arm.com> wrote:
> On 14/01/17 14:42, jonsm...@gmail.com wrote:
>
> Hi Jon,
>
> (dropping the U-Boot ML, since this is not all related to to OpiZero or
> to U-Boot. Next time please send a separate email (opening a new
> thread). And I recommend just the linux-sunxi list for those kind of
> questions or join the #linux-sunxi IRC channel on Freenode).
>
>> Can you simultaneously use both Ethernet interfaces on the A64? I've
>> received conflicting answers to this question.
>
> Which "both" interfaces? I only know about one interface on the A64.
> Are you talking about WiFi and Ethernet?

I always thought there was a single Ethernet controller on the A64 for
EMAC and GMAC and it is the PHY that is switchable. But several people
have told me that it is possible to run two simultaneous Ethernet net
connections on the A64 - one with the internal 100Mb PHY and one with
an external Gb PHY.  So are these people confused or am I wrong and
there is a way to get two simultaneous interfaces on the A64?

> Or about another SoC? The A20 and R40 have two separate, even different
> Ethernet MACs, which appear to be usable simultaneously (from looking at
> the documentation). But I don't know of any board doing that or anyone
> ever tried that.

I believe someone got simultaneous MACs going in the A20 about five
years ago. There was a blog talking about it, but the website is gone
now. It was a hobbyist trying to make a router based on the A20.

>
> Cheers,
> Andre.
>
>> On Fri, Jan 13, 2017 at 9:06 PM, Andre Przywara <andre.przyw...@arm.com> 
>> wrote:
>>> The OrangePi Zero can happily use the EMAC along with its integrated
>>> PHY to use Ethernet (for TFTP booting, for instance).
>>> Add the emac node to the board .dts by copying it from the OrangePi One
>>> DT.
>>>
>>> Signed-off-by: Andre Przywara <andre.przyw...@arm.com>
>>> ---
>>>  arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 11 +++++++++++
>>>  1 file changed, 11 insertions(+)
>>>
>>> diff --git a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts 
>>> b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
>>> index 0989434..20d489c 100644
>>> --- a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
>>> +++ b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
>>> @@ -99,6 +99,17 @@
>>>         status = "okay";
>>>  };
>>>
>>> +&emac {
>>> +       phy = <&phy1>;
>>> +       phy-mode = "mii";
>>> +       allwinner,use-internal-phy;
>>> +       allwinner,leds-active-low;
>>> +       status = "okay";
>>> +       phy1: ethernet-phy@1 {
>>> +               reg = <1>;
>>> +       };
>>> +};
>>> +
>>>  &mmc0 {
>>>         pinctrl-names = "default";
>>>         pinctrl-0 = <&mmc0_pins_a>;
>>> --
>>> 2.8.2
>>>
>>> --
>



-- 
Jon Smirl
jonsm...@gmail.com

-- 
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.

Reply via email to