[PATCH 4/4] dts: bcm283x.dtsi: Add analog audio/headphone jack for bcm2835

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add the DT nodes for the analog audio/headphone jack for the BCM2835

Signed-off-by: Michael Zoran <mzoran@xxxxxxxxxxxx>
---
 arch/arm/boot/dts/bcm283x.dtsi | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
index 9798bc9293d8..bf2cd463a6e6 100644
--- a/arch/arm/boot/dts/bcm283x.dtsi
+++ b/arch/arm/boot/dts/bcm283x.dtsi
@@ -338,7 +338,12 @@
 				brcm,pins = <42 43>;
 				brcm,function = <BCM2835_FSEL_ALT5>;
 			};
-		};
+
+                        analog_audio_pins: analog_audio_pins {
+                                brcm,pins = <40 45>;
+                                brcm,function = <4 4>; /* Alt0 */
+                        };
+                };
 
 		uart0: serial@7e201000 {
 			compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
@@ -464,6 +469,17 @@
 			status = "disabled";
 		};
 
+                analogaudio: analogaudio@7e20c000 {
+                        compatible = "brcm,bcm2835-analog-audio";
+                        reg = <0x7e20c000 0x28>;
+                        clocks = <&clocks BCM2835_CLOCK_PWM>;
+                        assigned-clocks = <&clocks BCM2835_CLOCK_PWM>;
+                        pinctrl-names = "default";
+                        pinctrl-0 = <&analog_audio_pins>;
+                        dmas = <&dma 5>;
+                        dma-names = "tx";
+                };
+
 		sdhci: sdhci@7e300000 {
 			compatible = "brcm,bcm2835-sdhci";
 			reg = <0x7e300000 0x100>;
-- 
2.11.0

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux