summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap2420-n810.dts
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2018-04-27 10:17:10 +0200
committerTony Lindgren <tony@atomide.com>2018-05-01 17:36:00 +0200
commitc4ee57992fa2025c9ddd8c76d506f60c3211adb6 (patch)
tree442ec547e5835ab3dc4fbdc75580bb818249f84f /arch/arm/boot/dts/omap2420-n810.dts
parentARM: dts: am437x-sk-evm: Correct tps65218 irq type (diff)
downloadlinux-c4ee57992fa2025c9ddd8c76d506f60c3211adb6.tar.xz
linux-c4ee57992fa2025c9ddd8c76d506f60c3211adb6.zip
ARM: dts: omap2420-n810: Enable McBSP2 for audio
McBSP2 is used with the tlv320aic33 codec for audio. Pin mux change is needed to get the needed signals in/out from the SoC. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap2420-n810.dts')
-rw-r--r--arch/arm/boot/dts/omap2420-n810.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap2420-n810.dts b/arch/arm/boot/dts/omap2420-n810.dts
index 7c485fbfa535..4c412a480c3e 100644
--- a/arch/arm/boot/dts/omap2420-n810.dts
+++ b/arch/arm/boot/dts/omap2420-n810.dts
@@ -8,9 +8,26 @@
compatible = "nokia,n810", "nokia,n8x0", "ti,omap2420", "ti,omap2";
};
+&omap2420_pmx {
+ mcbsp2_pins: mcbsp2_pins {
+ pinctrl-single,pins = <
+ OMAP2420_CORE_IOPAD(0x0124, PIN_INPUT | MUX_MODE1) /* eac_ac_sclk.mcbsp2_clkx */
+ OMAP2420_CORE_IOPAD(0x0125, PIN_INPUT | MUX_MODE1) /* eac_ac_fs.mcbsp2_fsx */
+ OMAP2420_CORE_IOPAD(0x0126, PIN_INPUT | MUX_MODE1) /* eac_ac_din.mcbsp2_dr */
+ OMAP2420_CORE_IOPAD(0x0127, PIN_OUTPUT | MUX_MODE1) /* eac_ac_dout.mcbsp2_dx */
+ >;
+ };
+};
+
&i2c2 {
aic3x@18 {
compatible = "tlv320aic3x";
reg = <0x18>;
};
};
+&mcbsp2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mcbsp2_pins>;
+
+ status = "okay";
+};