Message ID | 20190510130207.14330-4-pramod.kumar_1@nxp.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | arm64: dts: nxp: add ls1046a frwy board support | expand |
On Fri, May 10, 2019 at 01:00:24PM +0000, Pramod Kumar wrote: > add micron nor flash support for ls1046a frwy board. > > Signed-off-by: Ashish Kumar <ashish.kumar@nxp.com> > Signed-off-by: Pramod Kumar <pramod.kumar_1@nxp.com> Prefix 'arm64: dts: frwy-ls1046a: ...' would be good enough. > --- > .../boot/dts/freescale/fsl-ls1046a-frwy.dts | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts > index de0d19c02944..890f07122dd0 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts > @@ -113,6 +113,23 @@ > > }; > > + Unnecessary newline. Shawn > +&qspi { > + num-cs = <1>; > + bus-num = <0>; > + status = "okay"; > + > + qflash0: flash@0 { > + compatible = "jedec,spi-nor"; > + #address-cells = <1>; > + #size-cells = <1>; > + spi-max-frequency = <50000000>; > + reg = <0>; > + spi-rx-bus-width = <4>; > + spi-tx-bus-width = <4>; > + }; > +}; > + > #include "fsl-ls1046-post.dtsi" > > &fman0 { > -- > 2.17.1 >
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts index de0d19c02944..890f07122dd0 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts @@ -113,6 +113,23 @@ }; + +&qspi { + num-cs = <1>; + bus-num = <0>; + status = "okay"; + + qflash0: flash@0 { + compatible = "jedec,spi-nor"; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <50000000>; + reg = <0>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; + }; +}; + #include "fsl-ls1046-post.dtsi" &fman0 {