RE: [PATCH v2 2/2] arm64: dts: renesas: rzv2m evk: Enable ethernet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Geert,

Thanks for your review!

On 19 May 2022 11:20 Geert Uytterhoeven wrote:
> On Tue, May 17, 2022 at 10:17 AM Phil Edworthy <phil.edworthy@xxxxxxxxxxx>
> wrote:
> > Enable Ethernet interface on RZ/V2M EVK.
> >
> > Signed-off-by: Phil Edworthy <phil.edworthy@xxxxxxxxxxx>
> > Reviewed-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> > ---
> > v2:
> >  - No change
> 
> Thanks for your patch!
> 
> > --- a/arch/arm64/boot/dts/renesas/r9a09g011-v2mevk2.dts
> > +++ b/arch/arm64/boot/dts/renesas/r9a09g011-v2mevk2.dts
> > @@ -42,3 +43,16 @@ &extal_clk {
> >  &uart0 {
> >         status = "okay";
> >  };
> > +
> > +&avb {
> > +       renesas,no-ether-link;
> > +       phy-handle = <&phy0>;
> > +       phy-mode = "gmii";
> > +       status = "okay";
> > +
> > +       phy0: ethernet-phy@0 {
> > +               compatible = "ethernet-phy-id0022.1622",
> 
> My schematics says RTL8211FG-CG, not Micrel KSZ9031?
> I.e. "ethernet-phy-id001c.c916"?
Yes, you are correct, I have since dumped the id in get_phy_c22_id().
Sorry, I should have checked that the BSP was correct.

> As there is no PHY reset to deassert, you can remove the compatible
> property, and check what's read back from the PHY ID registers.
> 
> I'd say you can just drop the compatible value completely, but you would
> have to readd it anyway when the PHY reset is documented.
> 
> > +                            "ethernet-phy-ieee802.3-c22";
> > +               reg = <0>;
> 
> Once you have GPIO/IRQ support, you can add the interrupts and resets
> properties, pointing to P16_12 resp. P17_00.
Will do!

Thanks
Phil




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux