Explorar el Código

ARM: dts: omap3-beagle: Enable audio support

Add the needed sections to enable audio support on BeagleBoard when booted
with DT blob.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Peter Ujfalusi hace 13 años
padre
commit
2c195f9ceb
Se han modificado 1 ficheros con 14 adiciones y 0 borrados
  1. 14 0
      arch/arm/boot/dts/omap3-beagle.dts

+ 14 - 0
arch/arm/boot/dts/omap3-beagle.dts

@@ -37,6 +37,14 @@
 			linux,default-trigger = "mmc0";
 		};
 	};
+
+	sound {
+		compatible = "ti,omap-twl4030";
+		ti,model = "omap3beagle";
+
+		ti,mcbsp = <&mcbsp2>;
+		ti,codec = <&twl_audio>;
+	};
 };
 
 &i2c1 {
@@ -52,6 +60,12 @@
 			regulator-min-microvolt = <1800000>;
 			regulator-max-microvolt = <3000000>;
 		};
+
+		twl_audio: audio {
+			compatible = "ti,twl4030-audio";
+			codec {
+			};
+		};
 	};
 };