summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2014-05-06 22:47:59 +0200
committerSimon Horman <horms+renesas@verge.net.au>2014-05-11 02:44:48 +0200
commit667366bff7c4d38c6efa60f2e32d13c26a58d7d4 (patch)
tree32e007372b49739185390fc9c292dde6b64ce96f
parentARM: shmobile: henninger: add QSPI DT support (diff)
downloadlinux-667366bff7c4d38c6efa60f2e32d13c26a58d7d4.tar.xz
linux-667366bff7c4d38c6efa60f2e32d13c26a58d7d4.zip
ARM: shmobile: henninger: add MSIOF0 DT support
Define the Henninger board dependent part of the MSIOF0 device node. Add device node for Renesas R2A11302FT PMIC for which no bindings exist yet. Based on the Koelsch MSIOF device tree patch by Geert Uytterhoeven. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/boot/dts/r8a7791-henninger.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7791-henninger.dts b/arch/arm/boot/dts/r8a7791-henninger.dts
index 1d715a3a6bb5..cc6d992e8db2 100644
--- a/arch/arm/boot/dts/r8a7791-henninger.dts
+++ b/arch/arm/boot/dts/r8a7791-henninger.dts
@@ -114,6 +114,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";
+ };
};
&scif0 {
@@ -196,3 +202,18 @@
};
};
};
+
+&msiof0 {
+ pinctrl-0 = <&msiof0_pins>;
+ pinctrl-names = "default";
+
+ status = "okay";
+
+ pmic@0 {
+ compatible = "renesas,r2a11302ft";
+ reg = <0>;
+ spi-max-frequency = <6000000>;
+ spi-cpol;
+ spi-cpha;
+ };
+};