[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <trinity-0edcdb4e-bcc9-47bb-b958-a018f5980128-1746984591926@trinity-msg-rest-gmx-gmx-live-74d694d854-ls6fz>
Date: Sun, 11 May 2025 17:29:52 +0000
From: Frank Wunderlich <frank-w@...lic-files.de>
To: andrew@...n.ch, linux@...web.de
Cc: olteanv@...il.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, matthias.bgg@...il.com,
angelogioacchino.delregno@...labora.com, arinc.unal@...nc9.com,
Landen.Chao@...iatek.com, dqfext@...il.com, sean.wang@...iatek.com,
daniel@...rotopia.org, lorenzo@...nel.org, nbd@....name,
netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org
Subject: Aw: Re: [PATCH v1 09/14] arm64: dts: mediatek: mt7988: add switch
node
> Gesendet: Sonntag, 11. Mai 2025 um 18:42
> Von: "Andrew Lunn" <andrew@...n.ch>
> Betreff: Re: [PATCH v1 09/14] arm64: dts: mediatek: mt7988: add switch node
>
> On Sun, May 11, 2025 at 04:19:25PM +0200, Frank Wunderlich wrote:
> > From: Frank Wunderlich <frank-w@...lic-files.de>
> >
> > Add mt7988 builtin mt753x switch nodes.
> >
> > Signed-off-by: Daniel Golle <daniel@...rotopia.org>
> > Signed-off-by: Frank Wunderlich <frank-w@...lic-files.de>
> > ---
> > arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 166 ++++++++++++++++++++++
> > 1 file changed, 166 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
> > index aa0947a555aa..ab7612916a13 100644
> > --- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
> > +++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
> > @@ -5,6 +5,7 @@
> > #include <dt-bindings/phy/phy.h>
> > #include <dt-bindings/pinctrl/mt65xx.h>
> > #include <dt-bindings/reset/mediatek,mt7988-resets.h>
> > +#include <dt-bindings/leds/common.h>
> >
> > / {
> > compatible = "mediatek,mt7988a";
> > @@ -742,6 +743,171 @@ ethsys: clock-controller@...00000 {
> > #reset-cells = <1>;
> > };
> >
> > + switch: switch@...20000 {
> > + compatible = "mediatek,mt7988-switch";
> > + reg = <0 0x15020000 0 0x8000>;
> > + interrupt-controller;
> > + #interrupt-cells = <1>;
> > + interrupt-parent = <&gic>;
> > + interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
> > + resets = <ðwarp MT7988_ETHWARP_RST_SWITCH>;
> > +
> > + ports {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + gsw_port0: port@0 {
> > + reg = <0>;
> > + label = "wan";
>
> I would expect the label to be in the board .dts file, since it is a
> board property, not a SoC property.
i will move that into the board dtsi file in v2 because "normal" bpi-r4 and 2g5 variant are same here.
regards Frank
Powered by blists - more mailing lists