ARM: shmobile: armadillo800eva dts: Add pinctrl and gpio-hog for lcdc0
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 17 Jun 2015 08:38:56 +0000 (10:38 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 6 Jul 2015 00:33:34 +0000 (09:33 +0900)
Configure pinctrl and a GPIO-controller board mux for LCD use.
This allows the armadillo800eva board staging code to enable lcdc0.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7740-armadillo800eva.dts

index 2e31d8c01cbf6a74d2b46ef52d031a90372e6dec..105d9c95de4af6114c091027a50e393aac147b09 100644 (file)
 };
 
 &pfc {
+       pinctrl-0 = <&lcd0_pins>;
+       pinctrl-names = "default";
+
        ether_pins: ether {
                renesas,groups = "gether_mii", "gether_int";
                renesas,function = "gether";
                                 "fsia_data_in_1", "fsia_data_out_0";
                renesas,function = "fsia";
        };
+
+       lcd0_pins: lcd0 {
+               renesas,groups = "lcd0_data24_0", "lcd0_lclk_1", "lcd0_sync";
+               renesas,function = "lcd0";
+
+               /* DBGMD/LCDC0/FSIA MUX */
+               gpio-hog;
+               gpios = <176 0>;
+               output-high;
+       };
 };
 
 &tpu {