[PATCH] arm64: dts: marvell: 8040-mcbin: Enable 1GB Ethernet
Marc Zyngier
marc.zyngier at arm.com
Tue Jun 6 06:48:31 PDT 2017
On 06/06/17 14:34, Russell King - ARM Linux wrote:
> On Mon, Jun 05, 2017 at 09:01:07PM +0100, Marc Zyngier wrote:
>> Enable the 1GB Ethernet interface that lives on the slave CP110,
>> with its corresponding phy (that oddly lives on the master CP110).
>>
>> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>
>> ---
>> arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 16 ++++++++++++++++
>> 1 file changed, 16 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
>> index f7bb0cc03147..1eb3cd5332c1 100644
>> --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
>> +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
>> @@ -100,6 +100,12 @@
>> status = "okay";
>> };
>>
>> +&cpm_mdio {
>> + phy0: ethernet-phy at 0 {
>
> As the board has multiple phys, can we use a more descriptive label
> here, such as "ge_phy" (for gigabit ethernet phy) to distinugish it
> from the 10G PHYs?
>
>> +&cps_ethernet {
>> + status = "okay";
>> +};
>> +
>> +&cps_eth1 {
>
> Labelling up the connector as is done elsewhere in the file would be
> nice:
>
> /* CPS Lane 0 - J5 (Gigabit RJ45) */
>
>
>> + status = "okay";
>> + phy = <&phy0>;
>> + phy-mode = "sgmii";
>
Yup, agreed on both counts. I'll update the patch.
Thanks,
M.
--
Jazz is not dead. It just smells funny...
More information about the linux-arm-kernel
mailing list