Commit 469352ad authored by Simon Horman's avatar Simon Horman

ARM: shmobile: r8a7793: Add QSPI device to DT

Instantiate the QSPI controller in the r8a7793 device tree.

Based on similar work for the r8a7794 by Hisashi Nakamura and
Sergei Shtylyov.
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 38eb6a3a
......@@ -18,6 +18,10 @@ / {
#address-cells = <2>;
#size-cells = <2>;
aliases {
spi0 = &qspi;
};
cpus {
#address-cells = <1>;
#size-cells = <0>;
......@@ -222,6 +226,20 @@ ether: ethernet@ee700000 {
status = "disabled";
};
qspi: spi@e6b10000 {
compatible = "renesas,qspi-r8a7793", "renesas,qspi";
reg = <0 0xe6b10000 0 0x2c>;
interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp9_clks R8A7793_CLK_QSPI_MOD>;
dmas = <&dmac0 0x17>, <&dmac0 0x18>;
dma-names = "tx", "rx";
power-domains = <&cpg_clocks>;
num-cs = <1>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
clocks {
#address-cells = <2>;
#size-cells = <2>;
......@@ -463,6 +481,14 @@ R8A7793_CLK_SATA0
"ipmmu_sgx", "vin2", "vin1", "vin0", "ether",
"sata1", "sata0";
};
mstp9_clks: mstp9_clks@e6150994 {
compatible = "renesas,r8a7793-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
clocks = <&cpg_clocks R8A7793_CLK_QSPI>;
#clock-cells = <1>;
clock-indices = <R8A7793_CLK_QSPI_MOD>;
clock-output-names = "qspi_mod";
};
};
ipmmu_sy0: mmu@e6280000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment