ARM: shmobile: r8a7791/koelsch dts: Rename label spi to qspi, add spi0 alias

Prepare for the advent of MSIOF SPI, which will be spi1 to spi3.

Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
Geert Uytterhoeven 2014-02-25 11:30:14 +01:00 committed by Simon Horman
parent fad6d45cdf
commit 6f3e4ee340
2 changed files with 4 additions and 3 deletions

View File

@ -244,7 +244,7 @@ sdhi2_pins: sd2 {
renesas,function = "sdhi2";
};
qspi_pins: spi {
qspi_pins: spi0 {
renesas,groups = "qspi_ctrl", "qspi_data4";
renesas,function = "qspi";
};
@ -301,7 +301,7 @@ &sdhi2 {
status = "okay";
};
&spi {
&qspi {
pinctrl-0 = <&qspi_pins>;
pinctrl-names = "default";

View File

@ -27,6 +27,7 @@ aliases {
i2c3 = &i2c3;
i2c4 = &i2c4;
i2c5 = &i2c5;
spi0 = &qspi;
};
cpus {
@ -789,7 +790,7 @@ R8A7791_CLK_SCIFA3 R8A7791_CLK_SCIFA4 R8A7791_CLK_SCIFA5
};
};
spi: spi@e6b10000 {
qspi: spi@e6b10000 {
compatible = "renesas,qspi-r8a7791", "renesas,qspi";
reg = <0 0xe6b10000 0 0x2c>;
interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;