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
6 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
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(-)
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
21 targets += dtbs dtbs_install
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")
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
40 --- a/arch/arm/boot/dts/overlays/wittypi-overlay.dts
41 +++ b/arch/arm/boot/dts/overlays/wittypi-overlay.dts
46 - led_gpio = <&wittypi_led>,"gpios:4";
47 + led_gpio = <&wittypi_led>,"gpios:4";
48 led_trigger = <&wittypi_led>,"linux,default-trigger";