Commit fad6d45c authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Simon Horman

ARM: shmobile: r8a7790/lager dts: Rename label spi to qspi, add spi0 alias

Prepare for the advent of MSIOF SPI, which will be spi1 to spi4.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 896b79df
...@@ -155,7 +155,7 @@ mmc1_pins: mmc1 { ...@@ -155,7 +155,7 @@ mmc1_pins: mmc1 {
renesas,function = "mmc1"; renesas,function = "mmc1";
}; };
qspi_pins: spi { qspi_pins: spi0 {
renesas,groups = "qspi_ctrl", "qspi_data4"; renesas,groups = "qspi_ctrl", "qspi_data4";
renesas,function = "qspi"; renesas,function = "qspi";
}; };
...@@ -190,7 +190,7 @@ &sata1 { ...@@ -190,7 +190,7 @@ &sata1 {
status = "okay"; status = "okay";
}; };
&spi { &qspi {
pinctrl-0 = <&qspi_pins>; pinctrl-0 = <&qspi_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -24,6 +24,7 @@ aliases { ...@@ -24,6 +24,7 @@ aliases {
i2c1 = &i2c1; i2c1 = &i2c1;
i2c2 = &i2c2; i2c2 = &i2c2;
i2c3 = &i2c3; i2c3 = &i2c3;
spi0 = &qspi;
}; };
cpus { cpus {
...@@ -765,7 +766,7 @@ R8A7790_CLK_I2C0 ...@@ -765,7 +766,7 @@ R8A7790_CLK_I2C0
}; };
}; };
spi: spi@e6b10000 { qspi: spi@e6b10000 {
compatible = "renesas,qspi-r8a7790", "renesas,qspi"; compatible = "renesas,qspi-r8a7790", "renesas,qspi";
reg = <0 0xe6b10000 0 0x2c>; reg = <0 0xe6b10000 0 0x2c>;
interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>; interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
......
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