diff mbox series

ARM: dts: zynq: add QSPI controller node

Message ID 20220811092036.3689983-1-s.trumtrar@pengutronix.de (mailing list archive)
State New, archived
Headers show
Series ARM: dts: zynq: add QSPI controller node | expand

Commit Message

Steffen Trumtrar Aug. 11, 2022, 9:20 a.m. UTC
The driver and binding for the Zynq QSPI is already present in the
kernel. The node is not added to the zynq-7000.dtsi, however.

Add it.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
 arch/arm/boot/dts/zynq-7000.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Michal Simek Aug. 25, 2022, 8:23 a.m. UTC | #1
On 8/11/22 11:20, Steffen Trumtrar wrote:
> CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.
> 
> 
> The driver and binding for the Zynq QSPI is already present in the
> kernel. The node is not added to the zynq-7000.dtsi, however.
> 
> Add it.

I have removed this line.

> 
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> ---
>   arch/arm/boot/dts/zynq-7000.dtsi | 13 +++++++++++++
>   1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi
> index c193264a86ff..dab6ffa89002 100644
> --- a/arch/arm/boot/dts/zynq-7000.dtsi
> +++ b/arch/arm/boot/dts/zynq-7000.dtsi
> @@ -252,6 +252,19 @@ gem1: ethernet@e000c000 {
>                          #size-cells = <0>;
>                  };
> 
> +               qspi: spi@e000d000 {
> +                       compatible = "xlnx,zynq-qspi-1.0";
> +                       reg = <0xe000d000 0x1000>;
> +                       interrupt-parent = <&intc>;
> +                       interrupts = <0 19 4>;
> +                       clocks = <&clkc 10>, <&clkc 43>;
> +                       clock-names = "ref_clk", "pclk";
> +                       status = "disabled";
> +

Also removed this line.

> +                       #address-cells = <1>;
> +                       #size-cells = <0>;
> +               };
> +
>                  smcc: memory-controller@e000e000 {
>                          compatible = "arm,pl353-smc-r2p1", "arm,primecell";
>                          reg = <0xe000e000 0x0001000>;
> --
> 2.30.2
> 

Applied but I placed it above gem nodes which is location which we are using for 
years.

Thanks,
Michal
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi
index c193264a86ff..dab6ffa89002 100644
--- a/arch/arm/boot/dts/zynq-7000.dtsi
+++ b/arch/arm/boot/dts/zynq-7000.dtsi
@@ -252,6 +252,19 @@  gem1: ethernet@e000c000 {
 			#size-cells = <0>;
 		};
 
+		qspi: spi@e000d000 {
+			compatible = "xlnx,zynq-qspi-1.0";
+			reg = <0xe000d000 0x1000>;
+			interrupt-parent = <&intc>;
+			interrupts = <0 19 4>;
+			clocks = <&clkc 10>, <&clkc 43>;
+			clock-names = "ref_clk", "pclk";
+			status = "disabled";
+
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
 		smcc: memory-controller@e000e000 {
 			compatible = "arm,pl353-smc-r2p1", "arm,primecell";
 			reg = <0xe000e000 0x0001000>;