ARM: sun5i: a13: Add LCD pins
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 26 Feb 2016 01:15:30 +0000 (17:15 -0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 4 Jul 2016 19:17:48 +0000 (21:17 +0200)
The RGB bus can be used in several configurations, one of which being the
RGB666.

Add a pinctrl group for that case.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun5i-a13.dtsi

index 263d46dbc7e672d03f771cfbcc4ce2ac377e88da..79b5d513c142dc46082f3872d311d2bd90f028e1 100644 (file)
 &pio {
        compatible = "allwinner,sun5i-a13-pinctrl";
 
+       lcd_rgb666_pins: lcd_rgb666@0 {
+               allwinner,pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7",
+                                "PD10", "PD11", "PD12", "PD13", "PD14", "PD15",
+                                "PD18", "PD19", "PD20", "PD21", "PD22", "PD23",
+                                "PD24", "PD25", "PD26", "PD27";
+               allwinner,function = "lcd0";
+               allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+               allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+       };
+
        uart1_pins_a: uart1@0 {
                allwinner,pins = "PE10", "PE11";
                allwinner,function = "uart1";