summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2015-05-21 13:25:32 +0200
committerNoralf Trønnes <noralf@tronnes.org>2015-05-21 13:25:32 +0200
commit04bd164afa67d7fe4f2540cffea6591181fc197e (patch)
tree57e34a0bccabb5a16c2dcb68192c82562657eb96
parente21bb15f8f84d25c411f5b9d6f723fd7da1f344f (diff)
downloadlinux-04bd164afa67d7fe4f2540cffea6591181fc197e.tar.gz
bcm2835: Add bcm2835-audio to Device Tree
Add onboard sound device to Device Tree. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-rw-r--r--arch/arm/boot/dts/bcm2835-rpi.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi
index f2ce8031a2a5..f23835e33d9c 100644
--- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
@@ -14,6 +14,12 @@
linux,default-trigger = "heartbeat";
};
};
+
+ /* Onboard audio */
+ audio: audio {
+ compatible = "brcm,bcm2835-audio";
+ brcm,pwm-channels = <8>;
+ };
};
&gpio {