[OpenWrt-Devel] [PATCH] ARM: dts: Add basic devicetree for D-Link DNS-313
Linus Walleij
linus.walleij at linaro.org
Wed Nov 29 17:42:59 EST 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
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list