Skip to content

Commit

Permalink
arm64: dts: zynqmp: Wire zynqmp qspi controller
Browse files Browse the repository at this point in the history
Add missing ZynqMP qspi IP. It works in single mode only.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/5cebbc59a452f282c4ce0f0e1dffecadac8f126a.1611224800.git.michal.simek@xilinx.com
  • Loading branch information
Michal Simek committed Feb 1, 2021
1 parent 41b452a commit cbf8bed
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@
clocks = <&zynqmp_clk PCIE_REF>;
};

&qspi {
clocks = <&zynqmp_clk QSPI_REF>, <&zynqmp_clk LPD_LSBUS>;
};

&sata {
clocks = <&zynqmp_clk SATA_REF>;
};
Expand Down
14 changes: 14 additions & 0 deletions arch/arm64/boot/dts/xilinx/zynqmp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,20 @@
};
};

qspi: spi@ff0f0000 {
compatible = "xlnx,zynqmp-qspi-1.0";
status = "disabled";
clock-names = "ref_clk", "pclk";
interrupts = <0 15 4>;
interrupt-parent = <&gic>;
num-cs = <1>;
reg = <0x0 0xff0f0000 0x0 0x1000>,
<0x0 0xc0000000 0x0 0x8000000>;
#address-cells = <1>;
#size-cells = <0>;
power-domains = <&zynqmp_firmware PD_QSPI>;
};

psgtr: phy@fd400000 {
compatible = "xlnx,zynqmp-psgtr-v1.1";
status = "disabled";
Expand Down

0 comments on commit cbf8bed

Please sign in to comment.