[U-Boot] [PATCH 3/4] sunxi: dts: added emac node for nanopi m1
Philipp Rossak
embed3d at gmail.com
Wed Aug 30 09:10:20 UTC 2017
Am 30.08.2017 um 08:47 schrieb Jagan Teki:
> On Wed, Aug 30, 2017 at 6:02 AM, Philipp Rossak <embed3d at gmail.com> wrote:
>> From: Philipp Rossak <embed3d at gmail.com>
>>
>> The sun8i emac hardware is present on the Nanopi M1.
>> It uses the internal PHY.
>>
>> Signed-off-by: Philipp Rossak <embed3d at gmail.com>
>> ---
>> arch/arm/dts/sun8i-h3-nanopi-m1.dts | 11 +++++++++++
>> 1 file changed, 11 insertions(+)
>>
>> diff --git a/arch/arm/dts/sun8i-h3-nanopi-m1.dts b/arch/arm/dts/sun8i-h3-nanopi-m1.dts
>> index ec63d10..9c1c380 100644
>> --- a/arch/arm/dts/sun8i-h3-nanopi-m1.dts
>> +++ b/arch/arm/dts/sun8i-h3-nanopi-m1.dts
>> @@ -55,6 +55,17 @@
>> status = "okay";
>> };
>>
>> +&emac {
>> + phy = <&phy1>;
>> + phy-mode = "mii";
>> + allwinner,use-internal-phy;
>> + allwinner,leds-active-low;
>> + status = "okay";
>> + phy1: ethernet-phy at 1 {
>> + reg = <1>;
>> + };
>> +};
>
> We usually sync Linux for dts changes and I've seen few patches on
> Linux, lets wait Linux to merge.
>
> thanks!
>
Ok thanks, I didn't know this.
Are there also some plans to snyc the sun8i-dwmac driver?
The dt-binings related to the emac are right now different compared to
linux mainline.
More information about the U-Boot
mailing list