ARM: shmobile: r8a7790/lager dts: Rename label spi to qspi, add spi0 alias
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Tue, 25 Feb 2014 10:30:13 +0000 (11:30 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 14 Apr 2014 02:31:12 +0000 (11:31 +0900)
Prepare for the advent of MSIOF SPI, which will be spi1 to spi4.

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>
arch/arm/boot/dts/r8a7790-lager.dts
arch/arm/boot/dts/r8a7790.dtsi

index 6e99eb2df076d7f1c7cdfdac46733c968256c0dd..86dbdc10fe9c05039d959cab094e3c7497ad7528 100644 (file)
                renesas,function = "mmc1";
        };
 
-       qspi_pins: spi {
+       qspi_pins: spi0 {
                renesas,groups = "qspi_ctrl", "qspi_data4";
                renesas,function = "qspi";
        };
        status = "okay";
 };
 
-&spi {
+&qspi {
        pinctrl-0 = <&qspi_pins>;
        pinctrl-names = "default";
 
index 618e5b537eaf9deb5efbe34ee7f917f8ea95990b..9383b8436111c158a3a66ea883edab6a789ca036 100644 (file)
@@ -24,6 +24,7 @@
                i2c1 = &i2c1;
                i2c2 = &i2c2;
                i2c3 = &i2c3;
+               spi0 = &qspi;
        };
 
        cpus {
                };
        };
 
-       spi: spi@e6b10000 {
+       qspi: spi@e6b10000 {
                compatible = "renesas,qspi-r8a7790", "renesas,qspi";
                reg = <0 0xe6b10000 0 0x2c>;
                interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;