| From 1b974bebd5e3cf804d012c798e464e14c668ebaf Mon Sep 17 00:00:00 2001 |
| From: Geert Uytterhoeven <geert+renesas@linux-m68k.org> |
| Date: Tue, 25 Feb 2014 11:30:18 +0100 |
| Subject: ARM: shmobile: koelsch dts: Add MSIOF nodes |
| |
| Add pinctrl and SPI device for MSIOF on Koelsch. |
| On this board, only MSIOF0 is in use. Its bus contains a single device |
| (a Renesas R2A11302FT PMIC), for which no bindings are defined yet. |
| |
| 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> |
| (cherry picked from commit b16f05ab75571ec360f5b7298888fd6cdf06f586) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/boot/dts/r8a7791-koelsch.dts | 21 +++++++++++++++++++++ |
| 1 file changed, 21 insertions(+) |
| |
| diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts |
| index 5558cc19c1b0..ff66416ec40e 100644 |
| --- a/arch/arm/boot/dts/r8a7791-koelsch.dts |
| +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts |
| @@ -248,6 +248,12 @@ |
| renesas,groups = "qspi_ctrl", "qspi_data4"; |
| renesas,function = "qspi"; |
| }; |
| + |
| + msiof0_pins: spi1 { |
| + renesas,groups = "msiof0_clk", "msiof0_sync", "msiof0_rx", |
| + "msiof0_tx"; |
| + renesas,function = "msiof0"; |
| + }; |
| }; |
| |
| ðer { |
| @@ -331,3 +337,18 @@ |
| }; |
| }; |
| }; |
| + |
| +&msiof0 { |
| + pinctrl-0 = <&msiof0_pins>; |
| + pinctrl-names = "default"; |
| + |
| + status = "okay"; |
| + |
| + pmic: pmic@0 { |
| + compatible = "renesas,r2a11302ft"; |
| + reg = <0>; |
| + spi-max-frequency = <6000000>; |
| + spi-cpol; |
| + spi-cpha; |
| + }; |
| +}; |
| -- |
| 2.1.2 |
| |