]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: shmobile: henninger: add MSIOF0 DT support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 6 May 2014 20:47:59 +0000 (00:47 +0400)
committerSimon Horman <horms+renesas@verge.net.au>
Sun, 11 May 2014 00:44:48 +0000 (09:44 +0900)
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>
arch/arm/boot/dts/r8a7791-henninger.dts

index 1d715a3a6bb555e3da91316f8121346dcc6c3bdb..cc6d992e8db219e3502b2265f01d1d6a0620a608 100644 (file)
                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 {
                };
        };
 };
+
+&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;
+       };
+};