RE: [PATCH] arm64: dts: socfpga: agilex5: fix gpio0 address
From: Rabara, Niravkumar L
Date: Wed Feb 12 2025 - 11:06:33 EST
> -----Original Message-----
> From: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
> Sent: Wednesday, 12 February, 2025 11:32 PM
> To: Rabara, Niravkumar L <niravkumar.l.rabara@xxxxxxxxx>; Dinh Nguyen
> <dinguyen@xxxxxxxxxx>; Rob Herring <robh@xxxxxxxxxx>; Krzysztof Kozlowski
> <krzk+dt@xxxxxxxxxx>; Conor Dooley <conor+dt@xxxxxxxxxx>;
> nirav.rabara@xxxxxxxxxx; devicetree@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx
> Cc: stable@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH] arm64: dts: socfpga: agilex5: fix gpio0 address
>
> On 12/02/2025 11:01, niravkumar.l.rabara@xxxxxxxxx wrote:
> > From: Niravkumar L Rabara <niravkumar.l.rabara@xxxxxxxxx>
> >
> > Fix gpio0 controller address for Agilex5.
>
> How do you fix it exactly?
gpio0 address is incorrect here.
0xffc03200 address is for Agilex7 not for Agilex5.
0x10c03200 is correct address for Agilex5.
I will update the commit message.
"Fix incorrect gpio0 address for Agilex5".
>
> >
> > Fixes: 3f7c869e143a ("arm64: dts: socfpga: agilex5: Add gpio0 node and
> > spi dma handshake id")
> > Cc: stable@xxxxxxxxxxxxxxx
> > Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@xxxxxxxxx>
> > ---
> > arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> > b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> > index 51c6e19e40b8..9e4ef24c8318 100644
> > --- a/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> > +++ b/arch/arm64/boot/dts/intel/socfpga_agilex5.dtsi
> > @@ -222,7 +222,7 @@ i3c1: i3c@10da1000 {
> > status = "disabled";
> > };
> >
> > - gpio0: gpio@ffc03200 {
> > + gpio0: gpio@10c03200 {
>
> I see now warning. Are you sure you tested it according to maintainer-soc-
> clean-dts profile?
>
My bad, I have submitted incorrect patch.
It supposes to have these changes, I will update in v2.
- gpio0: gpio@ffc03200 {
+ gpio0: gpio@10c03200 {
compatible = "snps,dw-apb-gpio";
- reg = <0xffc03200 0x100>;
+ reg = <0x10c03200 0x100>;
Thanks,
Nirav