File tree Expand file tree Collapse file tree 3 files changed +40
-0
lines changed
arch/arm/boot/dts/overlays Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ dtbo-$(RPI_DT_OVERLAYS) += audremap.dtbo
22
22
dtbo-$(RPI_DT_OVERLAYS) += bmp085_i2c-sensor.dtbo
23
23
dtbo-$(RPI_DT_OVERLAYS) += dht11.dtbo
24
24
dtbo-$(RPI_DT_OVERLAYS) += dionaudio-loco.dtbo
25
+ dtbo-$(RPI_DT_OVERLAYS) += dpi18.dtbo
25
26
dtbo-$(RPI_DT_OVERLAYS) += dpi24.dtbo
26
27
dtbo-$(RPI_DT_OVERLAYS) += dwc-otg.dtbo
27
28
dtbo-$(RPI_DT_OVERLAYS) += dwc2.dtbo
Original file line number Diff line number Diff line change @@ -283,6 +283,14 @@ Load: dtoverlay=dionaudio-loco
283
283
Params: <None>
284
284
285
285
286
+ Name: dpi18
287
+ Info: Overlay for a generic 18-bit DPI display
288
+ This uses GPIOs 0-21 (so no I2C, uart etc.), and activates the output
289
+ 2-3 seconds after the kernel has started.
290
+ Load: dtoverlay=dpi18
291
+ Params: <None>
292
+
293
+
286
294
Name: dpi24
287
295
Info: Overlay for a generic 24-bit DPI display
288
296
This uses GPIOs 0-27 (so no I2C, uart etc.), and activates the output
Original file line number Diff line number Diff line change
1
+ /dts-v1/;
2
+ /plugin/;
3
+
4
+ /{
5
+ compatible = "brcm,bcm2708";
6
+
7
+ // There is no DPI driver module, but we need a platform device
8
+ // node (that doesn't already use pinctrl) to hang the pinctrl
9
+ // reference on - leds will do
10
+
11
+ fragment@0 {
12
+ target = <&leds>;
13
+ __overlay__ {
14
+ pinctrl-names = "default";
15
+ pinctrl-0 = <&dpi18_pins>;
16
+ };
17
+ };
18
+
19
+ fragment@1 {
20
+ target = <&gpio>;
21
+ __overlay__ {
22
+ dpi18_pins: dpi18_pins {
23
+ brcm,pins = <0 1 2 3 4 5 6 7 8 9 10 11
24
+ 12 13 14 15 16 17 18 19 20
25
+ 21>;
26
+ brcm,function = <6>; /* alt2 */
27
+ brcm,pull = <0>; /* no pull */
28
+ };
29
+ };
30
+ };
31
+ };
You can’t perform that action at this time.
0 commit comments