1
0
Fork 0

ARM: shmobile: r8a7794: Add QSPI clock to device tree

Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>
[horms: omitted device node and alias; only add clock]
[horms: use clock-indicies instead of renesas,clock-indicies]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
hifive-unleashed-5.1
Hisashi Nakamura 2014-12-11 12:21:14 +09:00 committed by Simon Horman
parent cbf4116833
commit 3281480b70
2 changed files with 9 additions and 0 deletions

View File

@ -535,6 +535,14 @@
clock-output-names =
"vin1", "vin0", "ether";
};
mstp9_clks: mstp9_clks@e6150994 {
compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe6150994 0 4>, <0 0xe61509a4 0 4>;
clocks = <&cpg_clocks R8A7794_CLK_QSPI>;
#clock-cells = <1>;
clock-indices = <R8A7794_CLK_QSPI_MOD>;
clock-output-names = "qspi_mod";
};
mstp11_clks: mstp11_clks@e615099c {
compatible = "renesas,r8a7794-mstp-clocks", "renesas,cpg-mstp-clocks";
reg = <0 0xe615099c 0 4>, <0 0xe61509ac 0 4>;

View File

@ -86,6 +86,7 @@
#define R8A7794_CLK_GPIO2 10
#define R8A7794_CLK_GPIO1 11
#define R8A7794_CLK_GPIO0 12
#define R8A7794_CLK_QSPI_MOD 17
/* MSTP11 */
#define R8A7794_CLK_SCIFA3 6