提交 6f3e4ee3 编写于 作者: G Geert Uytterhoeven 提交者: Simon Horman

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: NGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: NMagnus Damm <damm@opensource.se>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 fad6d45c
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
renesas,function = "sdhi2"; renesas,function = "sdhi2";
}; };
qspi_pins: spi { qspi_pins: spi0 {
renesas,groups = "qspi_ctrl", "qspi_data4"; renesas,groups = "qspi_ctrl", "qspi_data4";
renesas,function = "qspi"; renesas,function = "qspi";
}; };
...@@ -301,7 +301,7 @@ ...@@ -301,7 +301,7 @@
status = "okay"; status = "okay";
}; };
&spi { &qspi {
pinctrl-0 = <&qspi_pins>; pinctrl-0 = <&qspi_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
i2c3 = &i2c3; i2c3 = &i2c3;
i2c4 = &i2c4; i2c4 = &i2c4;
i2c5 = &i2c5; i2c5 = &i2c5;
spi0 = &qspi;
}; };
cpus { cpus {
...@@ -789,7 +790,7 @@ ...@@ -789,7 +790,7 @@
}; };
}; };
spi: spi@e6b10000 { qspi: spi@e6b10000 {
compatible = "renesas,qspi-r8a7791", "renesas,qspi"; compatible = "renesas,qspi-r8a7791", "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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册