Message ID | 839d833133318feeb2755c4431204b0ef4788cce.1628244299.git.michal.simek@xilinx.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: zynqmp: Enable gpio and qspi for zc1275-revA | expand |
pá 6. 8. 2021 v 12:05 odesílatel Michal Simek <michal.simek@xilinx.com> napsal: > > Add missing gpio and qspio for zc1275-revA board. > > Signed-off-by: Michal Simek <michal.simek@xilinx.com> > --- > > .../boot/dts/xilinx/zynqmp-zc1275-revA.dts | 18 +++++++++++++++++- > 1 file changed, 17 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts > index 66a90483b004..e971ba8c1418 100644 > --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts > +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts > @@ -2,7 +2,7 @@ > /* > * dts file for Xilinx ZynqMP ZC1275 > * > - * (C) Copyright 2017 - 2019, Xilinx, Inc. > + * (C) Copyright 2017 - 2021, Xilinx, Inc. > * > * Michal Simek <michal.simek@xilinx.com> > * Siva Durga Prasad Paladugu <sivadur@xilinx.com> > @@ -20,6 +20,7 @@ / { > aliases { > serial0 = &uart0; > serial1 = &dcc; > + spi0 = &qspi; > }; > > chosen { > @@ -37,6 +38,21 @@ &dcc { > status = "okay"; > }; > > +&gpio { > + status = "okay"; > +}; > + > +&qspi { > + status = "okay"; > + flash@0 { > + compatible = "m25p80", "jedec,spi-nor"; > + reg = <0x0>; > + spi-tx-bus-width = <1>; > + spi-rx-bus-width = <4>; > + spi-max-frequency = <108000000>; > + }; > +}; > + > &uart0 { > status = "okay"; > }; > -- > 2.32.0 > Applied. M
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts index 66a90483b004..e971ba8c1418 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts @@ -2,7 +2,7 @@ /* * dts file for Xilinx ZynqMP ZC1275 * - * (C) Copyright 2017 - 2019, Xilinx, Inc. + * (C) Copyright 2017 - 2021, Xilinx, Inc. * * Michal Simek <michal.simek@xilinx.com> * Siva Durga Prasad Paladugu <sivadur@xilinx.com> @@ -20,6 +20,7 @@ / { aliases { serial0 = &uart0; serial1 = &dcc; + spi0 = &qspi; }; chosen { @@ -37,6 +38,21 @@ &dcc { status = "okay"; }; +&gpio { + status = "okay"; +}; + +&qspi { + status = "okay"; + flash@0 { + compatible = "m25p80", "jedec,spi-nor"; + reg = <0x0>; + spi-tx-bus-width = <1>; + spi-rx-bus-width = <4>; + spi-max-frequency = <108000000>; + }; +}; + &uart0 { status = "okay"; };
Add missing gpio and qspio for zc1275-revA board. Signed-off-by: Michal Simek <michal.simek@xilinx.com> --- .../boot/dts/xilinx/zynqmp-zc1275-revA.dts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)