[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <40BC9D9E-3E30-4779-9131-E101CDE993BC@public-files.de>
Date: Sat, 30 Apr 2022 16:17:35 +0200
From: Frank Wunderlich <frank-w@...lic-files.de>
To: linux-rockchip@...ts.infradead.org,
Heiko Stuebner <heiko@...ech.de>,
linux-mediatek@...ts.infradead.org,
Frank Wunderlich <linux@...web.de>
CC: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Sean Wang <sean.wang@...iatek.com>,
Landen Chao <Landen.Chao@...iatek.com>,
DENG Qingfang <dqfext@...il.com>, Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Matthias Brugger <matthias.bgg@...il.com>,
Peter Geis <pgwipeout@...il.com>, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [RFC v2 4/4] arm64: dts: rockchip: Add mt7531 dsa node to BPI-R2-Pro board
Am 30. April 2022 16:05:06 MESZ schrieb Heiko Stuebner <heiko@...ech.de>:
>Am Samstag, 30. April 2022, 15:03:47 CEST schrieb Frank Wunderlich:
>> --- a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
>> +++ b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts
>> @@ -437,6 +437,54 @@ &i2c5 {
>> status = "disabled";
>> };
>>
>> + port@5 {
>> + reg = <5>;
>> + label = "cpu";
>> + ethernet = <&gmac0>;
>> + phy-mode = "rgmii";
>- phy-mode: String, the following values are acceptable for port
>labeled
> "cpu":
> If compatible mediatek,mt7530 or mediatek,mt7621 is set,
> must be either "trgmii" or "rgmii"
> If compatible mediatek,mt7531 is set,
> must be either "sgmii", "1000base-x" or "2500base-x"
>
>So I guess the phy-mode needs to change?
This results from current (before my cpu-port patches) implementation in driver where cpu-port is fixed to port 6.
On Mt7530 port 6 supports rgmii and trgmii. On mt7531 port6 only supports sgmii (which is basicly 2500base-x). Afaik it does not support 1G. Port 5 on mt7531 supports rgmii or sgmii (dual sgmii mode) but seems not reflected yet in txt.
On thing more to change when converting txt to yaml.
regards Frank
Powered by blists - more mailing lists