Re: [PATCH 3/4] net: dsa: LAN9303: add I2C managed mode support
From: Florian Fainelli
Date: Thu Apr 06 2017 - 09:52:27 EST
On 04/06/2017 06:46 AM, Juergen Borleis wrote:
>>> + phy-reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
>>> + phy-reset-duration = <200>;
>>> +
>>> + dsa,member = <0 0>;
>>> +
>>> + ports {
>>> + #address-cells = <1>;
>>> + #size-cells = <0>;
>>> +
>>> + port@0 { /* RMII fixed link to master */
>>> + reg = <0>;
>>> + label = "cpu";
>>> + ethernet = <&master>;
>>> + max-speed = <100>;
>>
>> max-speed does not do anything i think, since there is no adjust_link
>> function.
Since port 0 is the CPU port, we expect to find a fixed PHY for it, so
yes, this won't do much because fixed-link already appropriately limits
the speed.
--
Florian