1 From 612d9be3d6aa73b018005a182bd55a551abfc271 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Fri, 19 Aug 2016 11:26:57 +0100
4 Subject: [PATCH] overlays: Add audremap overlay
6 The audremap overlay switches the PWM audio outputs to GPIO pins
9 arch/arm/boot/dts/overlays/Makefile | 1 +
10 arch/arm/boot/dts/overlays/README | 6 ++++++
11 arch/arm/boot/dts/overlays/audremap-overlay.dts | 14 ++++++++++++++
12 3 files changed, 21 insertions(+)
13 create mode 100644 arch/arm/boot/dts/overlays/audremap-overlay.dts
15 --- a/arch/arm/boot/dts/overlays/Makefile
16 +++ b/arch/arm/boot/dts/overlays/Makefile
17 @@ -18,6 +18,7 @@ dtbo-$(RPI_DT_OVERLAYS) += ads7846.dtbo
18 dtbo-$(RPI_DT_OVERLAYS) += akkordion-iqdacplus.dtbo
19 dtbo-$(RPI_DT_OVERLAYS) += at86rf233.dtbo
20 dtbo-$(RPI_DT_OVERLAYS) += audioinjector-wm8731-audio.dtbo
21 +dtbo-$(RPI_DT_OVERLAYS) += audremap.dtbo
22 dtbo-$(RPI_DT_OVERLAYS) += bmp085_i2c-sensor.dtbo
23 dtbo-$(RPI_DT_OVERLAYS) += dht11.dtbo
24 dtbo-$(RPI_DT_OVERLAYS) += dionaudio-loco.dtbo
25 --- a/arch/arm/boot/dts/overlays/README
26 +++ b/arch/arm/boot/dts/overlays/README
27 @@ -253,6 +253,12 @@ Load: dtoverlay=audioinjector-wm8731-a
32 +Info: Switches PWM sound output to pins 12 & 13
33 +Load: dtoverlay=audremap
37 Name: bmp085_i2c-sensor
38 Info: Configures the BMP085/BMP180 digital barometric pressure and temperature
39 sensors from Bosch Sensortec
41 +++ b/arch/arm/boot/dts/overlays/audremap-overlay.dts
47 + compatible = "brcm,bcm2708";
50 + target = <&audio_pins>;
52 + brcm,pins = < 12 13 >;
53 + brcm,function = < 4 >; /* alt0 alt0 */