brcm2708-gpu-fw: update to latest version
[lede.git] / target / linux / brcm2708 / patches-4.4 / 0189-BCM270X_DT-Build-and-document-the-wittypi-overlay.patch
1 From 3259cf06132d0987314a37f39b0b18750b127eba Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Tue, 15 Mar 2016 16:41:37 +0000
4 Subject: [PATCH 189/232] BCM270X_DT: Build and document the wittypi overlay
5
6 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
7 ---
8  arch/arm/boot/dts/overlays/Makefile            | 1 +
9  arch/arm/boot/dts/overlays/README              | 8 ++++++++
10  arch/arm/boot/dts/overlays/wittypi-overlay.dts | 2 +-
11  3 files changed, 10 insertions(+), 1 deletion(-)
12
13 --- a/arch/arm/boot/dts/overlays/Makefile
14 +++ b/arch/arm/boot/dts/overlays/Makefile
15 @@ -74,6 +74,7 @@ dtbo-$(RPI_DT_OVERLAYS) += vc4-kms-v3d.d
16  dtbo-$(RPI_DT_OVERLAYS) += vga666.dtbo
17  dtbo-$(RPI_DT_OVERLAYS) += w1-gpio.dtbo
18  dtbo-$(RPI_DT_OVERLAYS) += w1-gpio-pullup.dtbo
19 +dtbo-$(RPI_DT_OVERLAYS) += wittypi.dtbo
20  
21  targets += dtbs dtbs_install
22  targets += $(dtbo-y)
23 --- a/arch/arm/boot/dts/overlays/README
24 +++ b/arch/arm/boot/dts/overlays/README
25 @@ -920,6 +920,14 @@ Params: gpiopin                 GPIO for
26          extpullup               GPIO for external pullup (default "5")
27  
28  
29 +Name:   wittypi
30 +Info:   Configures the wittypi RTC module.
31 +Load:   dtoverlay=wittypi,<param>=<val>
32 +Params: led_gpio                GPIO for LED (default "17")
33 +        led_trigger             Choose which activity the LED tracks (default
34 +                                "default-on")
35 +
36 +
37  Troubleshooting
38  ===============
39  
40 --- a/arch/arm/boot/dts/overlays/wittypi-overlay.dts
41 +++ b/arch/arm/boot/dts/overlays/wittypi-overlay.dts
42 @@ -37,7 +37,7 @@
43         };
44  
45         __overrides__ {
46 -               led_gpio =              <&wittypi_led>,"gpios:4";
47 +               led_gpio =      <&wittypi_led>,"gpios:4";
48                 led_trigger =   <&wittypi_led>,"linux,default-trigger";
49         };
50