Skip to content

Commit

Permalink
ARM: shmobile: armadillo800eva dts: Add pinctrl and gpio-hog for lcdc0
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Simon Horman committed Jul 6, 2015
1 parent f25d6b9 commit ffd2f9a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions arch/arm/boot/dts/r8a7740-armadillo800eva.dts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@
};

&pfc {
pinctrl-0 = <&lcd0_pins>;
pinctrl-names = "default";

ether_pins: ether {
renesas,groups = "gether_mii", "gether_int";
renesas,function = "gether";
Expand Down Expand Up @@ -259,6 +262,16 @@
"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 {
Expand Down

0 comments on commit ffd2f9a

Please sign in to comment.