[PATCH] ARM: dts: Add basic devicetree for D-Link DNS-313

Linus Walleij linus.walleij at linaro.org
Wed Nov 29 14:42:59 PST 2017


On Wed, Nov 29, 2017 at 5:10 PM, Andrew Lunn <andrew at lunn.ch> wrote:
>> +     mdio0: ethernet-phy {
>> +             compatible = "virtual,mdio-gpio";
>> +             /* Uses MDC and MDIO */
>> +             gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>, /* MDC */
>> +                     <&gpio0 21 GPIO_ACTIVE_HIGH>; /* MDIO */
>> +             #address-cells = <1>;
>> +             #size-cells = <0>;
>> +
>> +             /* This is a Realtek RTL8211B Gigabit ethernet transceiver */
>> +             phy0: ethernet-phy at 0 {
>
> Hi Linus
>
> ethernet-phy at 1

Thanks for pointing out all these.

Actually it reflects the most stupid bug I was fighting for
several days. After almost giving up I realized reg = <1> for
these PHYs, not reg = 0 ...

The error was still in the unit name.

Fixed this and the other DTS files.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list