diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-01-24 10:40:07 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-01-28 09:32:58 -0500 |
commit | f3a2b29d932fbf92e133d814c4873fd15be51abc (patch) | |
tree | df6c2c960540b0f648d2ae3e3648111d500b97c0 /arch/powerpc/boot/dts/mpc8568mds.dts | |
parent | 59a0ea5091d309fa8338954b84cf5307dbd83ec9 (diff) |
[POWERPC] fsl_spi: stop using device_type = "spi"
Also:
- rename "fsl_spi" to "fsl,spi";
- add and use cell-index property, if found;
- split probing code out of fsl_spi_init, thus we can call
it for legacy device_type probing and new "compatible" probing.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc8568mds.dts')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8568mds.dts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/boot/dts/mpc8568mds.dts b/arch/powerpc/boot/dts/mpc8568mds.dts index 692d5bd81e70..c929fba7f399 100644 --- a/arch/powerpc/boot/dts/mpc8568mds.dts +++ b/arch/powerpc/boot/dts/mpc8568mds.dts | |||
@@ -302,8 +302,8 @@ | |||
302 | }; | 302 | }; |
303 | 303 | ||
304 | spi@4c0 { | 304 | spi@4c0 { |
305 | device_type = "spi"; | 305 | cell-index = <0>; |
306 | compatible = "fsl_spi"; | 306 | compatible = "fsl,spi"; |
307 | reg = <4c0 40>; | 307 | reg = <4c0 40>; |
308 | interrupts = <2>; | 308 | interrupts = <2>; |
309 | interrupt-parent = <&qeic>; | 309 | interrupt-parent = <&qeic>; |
@@ -311,8 +311,8 @@ | |||
311 | }; | 311 | }; |
312 | 312 | ||
313 | spi@500 { | 313 | spi@500 { |
314 | device_type = "spi"; | 314 | cell-index = <1>; |
315 | compatible = "fsl_spi"; | 315 | compatible = "fsl,spi"; |
316 | reg = <500 40>; | 316 | reg = <500 40>; |
317 | interrupts = <1>; | 317 | interrupts = <1>; |
318 | interrupt-parent = <&qeic>; | 318 | interrupt-parent = <&qeic>; |