openwrt/target/linux/bcm27xx/patches-5.15/950-0598-dt-bcm270x-Add-GPIO-defines-for-RGB565-DPI-output-mo.patch
Álvaro Fernández Rojas 20ea6adbf1 bcm27xx: add support for linux v5.15
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2708/RPiB+, bcm2709/RPi3B, bcm2710/RPi3B, bcm2711/RPi4B

Signed-off-by: Marty Jones <mj8263788@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-17 15:11:22 +02:00

45 lines
1.3 KiB
Diff

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