1c70b95aaa6938b518a54bd3ad811a1bea18dbf4
[openwrt/staging/hauke.git] /
1 From c95312441f2c4e24bbb06da51006f3fe47cb61e5 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Thu, 2 Dec 2021 18:24:44 +0000
4 Subject: [PATCH] dt: bcm270x: Add GPIO defines for RGB565 DPI output
5 modes
6
7 Adds the pinctrl defines for the RGB565 DPI output modes.
8
9 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
10 ---
11 arch/arm/boot/dts/bcm270x.dtsi | 22 ++++++++++++++++++++++
12 1 file changed, 22 insertions(+)
13
14 --- a/arch/arm/boot/dts/bcm270x.dtsi
15 +++ b/arch/arm/boot/dts/bcm270x.dtsi
16 @@ -189,6 +189,28 @@
17 20 21>;
18 brcm,function = <BCM2835_FSEL_ALT2>;
19 };
20 + dpi_16bit_gpio0: dpi_16bit_gpio0 {
21 + brcm,pins = <0 1 2 3 4 5 6 7 8 9 10 11
22 + 12 13 14 15 16 17 18 19>;
23 + brcm,function = <BCM2835_FSEL_ALT2>;
24 + };
25 + dpi_16bit_gpio2: dpi_16bit_gpio2 {
26 + brcm,pins = <2 3 4 5 6 7 8 9 10 11
27 + 12 13 14 15 16 17 18 19>;
28 + brcm,function = <BCM2835_FSEL_ALT2>;
29 + };
30 + dpi_16bit_cpadhi_gpio0: dpi_16bit_cpadhi_gpio0 {
31 + brcm,pins = <0 1 2 3 4 5 6 7 8
32 + 12 13 14 15 16 17
33 + 20 21 22 23 24>;
34 + brcm,function = <BCM2835_FSEL_ALT2>;
35 + };
36 + dpi_16bit_cpadhi_gpio2: dpi_16bit_cpadhi_gpio2 {
37 + brcm,pins = <2 3 4 5 6 7 8
38 + 12 13 14 15 16 17
39 + 20 21 22 23 24>;
40 + brcm,function = <BCM2835_FSEL_ALT2>;
41 + };
42 };
43
44 &uart0 {