lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 1 May 2020 20:13:51 +0200
From:   Roelof Berg <>
To:     Andrew Lunn <>
Cc:     "David S. Miller" <>,
        Bryan Whitehead <>,
        Microchip Linux Driver Support <>,
        Russell King <>,
        Thomas Gleixner <>,
        Greg Kroah-Hartman <>,,
Subject: Re: [PATCH] lan743x: Added fixed_phy support / Question regarding
 proper devicetree

Working status: I added fixed_phy support to the Microchip lan743x ethernet driver and for upstream contribution I need to make it runtime configurable via the device tree.


There are, amongst other, the following devices on my target (i.mx6): 

Where would I put my additional lan743x ethernet device in the device tree ?

a) /ethernet@0
    (Just a new root node.

b) /pci@...thernet@0
    (I would „invent“ pci@0 to reflect that the lan7431 is sitting on the first pci slot.

c) /soc/pcie@...c000/ethernet@0
    (That doesn’t feel right to me, it’s not a soc property. Or is it ?


        pci0 {
                ethernet@0 {
                        compatible = "rmtl-meu-hl“;
                        status = "okay“;
                        phy-connection-type = "rgmii“;
                        fixed-link {
                                speed = <100>;

Thanks a lot,

>> […] device tree is the way to go. […]
>> 	  Andrew

Powered by blists - more mailing lists