BCM270X_DT: Add reference to audio_pins to CM dtb
authorPhil Elwell <phil@raspberrypi.org>
Mon, 23 Jan 2017 17:36:50 +0000 (17:36 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 01:00:05 +0000 (01:00 +0000)
The CM1 dtb contains an empty audio_pins node, but no reference to it.
Adding the usual pinctrl reference from the audio node enables the
audremap overlay (and others) to easily turn on audio.

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
arch/arm/boot/dts/bcm2708-rpi-cm.dts

index eb8662f0d222b4c0a9a2bcb8bccb13e86a0006b3..10be69972bd1440f574e35d515f3d6a0505fd869 100644 (file)
        pinctrl-0 = <&i2s_pins>;
 };
 
+&audio {
+       pinctrl-names = "default";
+       pinctrl-0 = <&audio_pins>;
+};
+
 &hdmi {
        hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
 };