0575-BCM270X_DT-Add-reference-to-audio_pins-to-CM-dtb.patch 826 B

12345678910111213141516171819202122232425262728
  1. From 82f7e67564d89bba063b6b2e1cafee871aa22aaf Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <phil@raspberrypi.org>
  3. Date: Mon, 23 Jan 2017 17:36:50 +0000
  4. Subject: [PATCH] BCM270X_DT: Add reference to audio_pins to CM dtb
  5. The CM1 dtb contains an empty audio_pins node, but no reference to it.
  6. Adding the usual pinctrl reference from the audio node enables the
  7. audremap overlay (and others) to easily turn on audio.
  8. Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  9. ---
  10. arch/arm/boot/dts/bcm2708-rpi-cm.dtsi | 5 +++++
  11. 1 file changed, 5 insertions(+)
  12. --- a/arch/arm/boot/dts/bcm2708-rpi-cm.dtsi
  13. +++ b/arch/arm/boot/dts/bcm2708-rpi-cm.dtsi
  14. @@ -36,6 +36,11 @@
  15. status = "okay";
  16. };
  17. +&audio {
  18. + pinctrl-names = "default";
  19. + pinctrl-0 = <&audio_pins>;
  20. +};
  21. +
  22. / {
  23. __overrides__ {
  24. core_freq = <&clk_core>,"clock-frequency:0";