diff mbox series

[v3,25/29] arm: dts: ls1028a: move the PCI I/O window to match

Message ID 20210902164558.1920849-26-michael@walle.cc
State Superseded
Delegated to: Priyanka Jain
Headers show
Series arm: dts: ls1028a: sync device tree with linux | expand

Commit Message

Michael Walle Sept. 2, 2021, 4:45 p.m. UTC
To make the synchronization of the u-boot device tree with the one from
linux easier, move the I/O window to the one which is specified in the
linux device tree. The actual value shouldn't matter as long as it
mapped to the corresponding memory window of the PCIe controller which
is a 32GiB window at 80_0000_0000h (first controller) or 88_0000_0000h
(second controller).

Signed-off-by: Michael Walle <michael@walle.cc>
---
 arch/arm/dts/fsl-ls1028a.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Vladimir Oltean Sept. 15, 2021, 12:13 a.m. UTC | #1
On Thu, Sep 02, 2021 at 06:45:54PM +0200, Michael Walle wrote:
> To make the synchronization of the u-boot device tree with the one from
> linux easier, move the I/O window to the one which is specified in the
> linux device tree. The actual value shouldn't matter as long as it
> mapped to the corresponding memory window of the PCIe controller which
> is a 32GiB window at 80_0000_0000h (first controller) or 88_0000_0000h
> (second controller).
> 
> Signed-off-by: Michael Walle <michael@walle.cc>
> ---
>  arch/arm/dts/fsl-ls1028a.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi
> index 3ef710bb3d..f11e75032b 100644
> --- a/arch/arm/dts/fsl-ls1028a.dtsi
> +++ b/arch/arm/dts/fsl-ls1028a.dtsi
> @@ -352,7 +352,7 @@
>  			#size-cells = <2>;
>  			device_type = "pci";
>  			bus-range = <0x0 0xff>;
> -			ranges = <0x81000000 0x0 0x00000000 0x80 0x00020000 0x0 0x00010000   /* downstream I/O */
> +			ranges = <0x81000000 0x0 0x00000000 0x80 0x00010000 0x0 0x00010000   /* downstream I/O */
>  				  0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
>  		};
>  
> @@ -365,7 +365,7 @@
>  			#size-cells = <2>;
>  			device_type = "pci";
>  			bus-range = <0x0 0xff>;
> -			ranges = <0x81000000 0x0 0x00000000 0x88 0x00020000 0x0 0x00010000   /* downstream I/O */
> +			ranges = <0x81000000 0x0 0x00000000 0x88 0x00010000 0x0 0x00010000   /* downstream I/O */
>  				  0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
>  		};
>  
> -- 
> 2.30.2
> 

Zhiqiang, can you please review this patch?
Z.Q. Hou Sept. 16, 2021, 4:03 a.m. UTC | #2
> -----Original Message-----
> From: Vladimir Oltean <vladimir.oltean@nxp.com>
> Sent: 2021年9月15日 8:13
> To: Michael Walle <michael@walle.cc>; Z.Q. Hou <zhiqiang.hou@nxp.com>
> Cc: u-boot@lists.denx.de; Jagan Teki <jagan@amarulasolutions.com>;
> Priyanka Jain <priyanka.jain@nxp.com>; Tom Rini <trini@konsulko.com>;
> Peter Griffin <peter.griffin@linaro.org>; Manivannan Sadhasivam
> <manivannan.sadhasivam@linaro.org>
> Subject: Re: [PATCH v3 25/29] arm: dts: ls1028a: move the PCI I/O window
> to match
> 
> On Thu, Sep 02, 2021 at 06:45:54PM +0200, Michael Walle wrote:
> > To make the synchronization of the u-boot device tree with the one
> > from linux easier, move the I/O window to the one which is specified
> > in the linux device tree. The actual value shouldn't matter as long as
> > it mapped to the corresponding memory window of the PCIe controller
> > which is a 32GiB window at 80_0000_0000h (first controller) or
> > 88_0000_0000h (second controller).
> >
> > Signed-off-by: Michael Walle <michael@walle.cc>
> > ---
> >  arch/arm/dts/fsl-ls1028a.dtsi | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/arch/arm/dts/fsl-ls1028a.dtsi
> > b/arch/arm/dts/fsl-ls1028a.dtsi index 3ef710bb3d..f11e75032b 100644
> > --- a/arch/arm/dts/fsl-ls1028a.dtsi
> > +++ b/arch/arm/dts/fsl-ls1028a.dtsi
> > @@ -352,7 +352,7 @@
> >  			#size-cells = <2>;
> >  			device_type = "pci";
> >  			bus-range = <0x0 0xff>;
> > -			ranges = <0x81000000 0x0 0x00000000 0x80 0x00020000 0x0
> 0x00010000   /* downstream I/O */
> > +			ranges = <0x81000000 0x0 0x00000000 0x80 0x00010000 0x0
> 0x00010000   /* downstream I/O */
> >  				  0x82000000 0x0 0x40000000 0x80 0x40000000 0x0
> 0x40000000>; /* non-prefetchable memory */
> >  		};
> >
> > @@ -365,7 +365,7 @@
> >  			#size-cells = <2>;
> >  			device_type = "pci";
> >  			bus-range = <0x0 0xff>;
> > -			ranges = <0x81000000 0x0 0x00000000 0x88 0x00020000 0x0
> 0x00010000   /* downstream I/O */
> > +			ranges = <0x81000000 0x0 0x00000000 0x88 0x00010000 0x0
> 0x00010000   /* downstream I/O */
> >  				  0x82000000 0x0 0x40000000 0x88 0x40000000 0x0
> 0x40000000>; /* non-prefetchable memory */
> >  		};
> >
> > --
> > 2.30.2
> >
> 
> Zhiqiang, can you please review this patch?

Reviewed-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
diff mbox series

Patch

diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi
index 3ef710bb3d..f11e75032b 100644
--- a/arch/arm/dts/fsl-ls1028a.dtsi
+++ b/arch/arm/dts/fsl-ls1028a.dtsi
@@ -352,7 +352,7 @@ 
 			#size-cells = <2>;
 			device_type = "pci";
 			bus-range = <0x0 0xff>;
-			ranges = <0x81000000 0x0 0x00000000 0x80 0x00020000 0x0 0x00010000   /* downstream I/O */
+			ranges = <0x81000000 0x0 0x00000000 0x80 0x00010000 0x0 0x00010000   /* downstream I/O */
 				  0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
 		};
 
@@ -365,7 +365,7 @@ 
 			#size-cells = <2>;
 			device_type = "pci";
 			bus-range = <0x0 0xff>;
-			ranges = <0x81000000 0x0 0x00000000 0x88 0x00020000 0x0 0x00010000   /* downstream I/O */
+			ranges = <0x81000000 0x0 0x00000000 0x88 0x00010000 0x0 0x00010000   /* downstream I/O */
 				  0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
 		};