Message ID | 20171024083045.31135-2-xiaowei.bao@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Bjorn Helgaas |
Headers | show |
Acked-by: Minghuan Lian <minghuan.Lian@nxp.com> > -----Original Message----- > From: Bao Xiaowei [mailto:xiaowei.bao@nxp.com] > Sent: Tuesday, October 24, 2017 4:31 PM > To: robh+dt@kernel.org; mark.rutland@arm.com; catalin.marinas@arm.com; > will.deacon@arm.com; bhelgaas@google.com; shawnguo@kernel.org; > Madalin-cristian Bucur <madalin.bucur@nxp.com>; Sumit Garg > <sumit.garg@nxp.com>; Y.b. Lu <yangbo.lu@nxp.com>; hongtao.jia@nxp.com; > Andy Tang <andy.tang@nxp.com>; Leo Li <leoyang.li@nxp.com>; > kishon@ti.com; jingoohan1@gmail.com; pbrobinson@gmail.com; > songxiaowei@hisilicon.com; devicetree@vger.kernel.org; linux-arm- > kernel@lists.infradead.org; linux-kernel@vger.kernel.org; linux- > pci@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Z.q. Hou > <zhiqiang.hou@nxp.com>; Mingkai Hu <mingkai.hu@nxp.com>; M.h. Lian > <minghuan.lian@nxp.com> > Cc: Xiaowei Bao <xiaowei.bao@nxp.com> > Subject: [PATCH 1/3] ARMv8: dts: ls1046a: add the property of IB and OB > > Add the property of inbind and outbind windows number for ep driver. > > add the inband or outband window entry for pcie controller ep driver used in dts. > > Signed-off-by: Bao Xiaowei <xiaowei.bao@nxp.com> > --- > arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi > b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi > index 06b5e12d04d8..f8332669663c 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi > @@ -674,6 +674,8 @@ > device_type = "pci"; > dma-coherent; > num-lanes = <4>; > + num-ib-windows = <6>; > + num-ob-windows = <6>; > bus-range = <0x0 0xff>; > ranges = <0x81000000 0x0 0x00000000 0x40 > 0x00010000 0x0 0x00010000 /* downstream I/O */ > 0x82000000 0x0 0x40000000 0x40 > 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ @@ -699,6 > +701,8 @@ > device_type = "pci"; > dma-coherent; > num-lanes = <2>; > + num-ib-windows = <6>; > + num-ob-windows = <6>; > bus-range = <0x0 0xff>; > ranges = <0x81000000 0x0 0x00000000 0x48 > 0x00010000 0x0 0x00010000 /* downstream I/O */ > 0x82000000 0x0 0x40000000 0x48 > 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ @@ -724,6 > +728,8 @@ > device_type = "pci"; > dma-coherent; > num-lanes = <2>; > + num-ib-windows = <6>; > + num-ob-windows = <6>; > bus-range = <0x0 0xff>; > ranges = <0x81000000 0x0 0x00000000 0x50 > 0x00010000 0x0 0x00010000 /* downstream I/O */ > 0x82000000 0x0 0x40000000 0x50 > 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ > -- > 2.14.1
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 06b5e12d04d8..f8332669663c 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -674,6 +674,8 @@ device_type = "pci"; dma-coherent; num-lanes = <4>; + num-ib-windows = <6>; + num-ob-windows = <6>; bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */ 0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ @@ -699,6 +701,8 @@ device_type = "pci"; dma-coherent; num-lanes = <2>; + num-ib-windows = <6>; + num-ob-windows = <6>; bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */ 0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ @@ -724,6 +728,8 @@ device_type = "pci"; dma-coherent; num-lanes = <2>; + num-ib-windows = <6>; + num-ob-windows = <6>; bus-range = <0x0 0xff>; ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */ 0x82000000 0x0 0x40000000 0x50 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
Add the property of inbind and outbind windows number for ep driver. add the inband or outband window entry for pcie controller ep driver used in dts. Signed-off-by: Bao Xiaowei <xiaowei.bao@nxp.com> --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)