2015-06-24 04:43:19 +00:00
|
|
|
From 4ce602d47cfe84584d3254cc5d9210dcde51abdc Mon Sep 17 00:00:00 2001
|
2014-06-12 00:49:17 +00:00
|
|
|
From: Robert Nelson <robertcnelson@gmail.com>
|
|
|
|
Date: Mon, 12 Aug 2013 11:27:22 -0500
|
2015-06-24 04:43:19 +00:00
|
|
|
Subject: [PATCH 2/6] ARM: dts: imx23-olinuxino: enable mxs-builtin-audio
|
2014-06-12 00:49:17 +00:00
|
|
|
|
|
|
|
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
|
|
|
|
---
|
2015-05-19 00:49:24 +00:00
|
|
|
arch/arm/boot/dts/imx23-olinuxino.dts | 25 +++++++++++++++++++++++++
|
2014-06-12 00:49:17 +00:00
|
|
|
1 file changed, 25 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/arch/arm/boot/dts/imx23-olinuxino.dts b/arch/arm/boot/dts/imx23-olinuxino.dts
|
2015-05-19 00:49:24 +00:00
|
|
|
index 8204539..db0fd3f 100644
|
2014-06-12 00:49:17 +00:00
|
|
|
--- a/arch/arm/boot/dts/imx23-olinuxino.dts
|
|
|
|
+++ b/arch/arm/boot/dts/imx23-olinuxino.dts
|
2015-05-19 00:49:24 +00:00
|
|
|
@@ -89,6 +89,25 @@
|
2014-06-12 00:49:17 +00:00
|
|
|
usbphy0: usbphy@8007c000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+ codec: mxs-builtin-codec {
|
|
|
|
+ compatible = "fsl,mxs-builtin-codec";
|
|
|
|
+ reg = <0x80048000 0x2000>, <0x8004c000 0x2000>,
|
|
|
|
+ <0x8005c000 0x2000>;
|
|
|
|
+ reg-names = "audioout", "audioin", "rtc";
|
|
|
|
+ clocks = <&clks 31>;
|
|
|
|
+ clock-names = "filt";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ platform_dai: mxs-builtin-cpu-dai {
|
|
|
|
+ compatible = "fsl,mxs-builtin-cpu-dai";
|
|
|
|
+ reg = <0x80048000 0x2000>, <0x8004c000 0x2000>,
|
|
|
|
+ <0x8005c000 0x2000>;
|
|
|
|
+ reg-names = "audioout", "audioin", "rtc";
|
|
|
|
+ interrupts = <8 6 4>;
|
|
|
|
+ dmas = <&dma_apbx 0>, <&dma_apbx 1>;
|
|
|
|
+ dma-names = "rx", "tx";
|
|
|
|
+ };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-05-19 00:49:24 +00:00
|
|
|
@@ -127,4 +146,10 @@
|
|
|
|
gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
|
2014-06-12 00:49:17 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
+
|
|
|
|
+ mxs-builtin-audio {
|
|
|
|
+ compatible = "fsl,mxs-builtin-audio";
|
|
|
|
+ audio-codec = <&codec>;
|
|
|
|
+ cpu-dai = <&platform_dai>;
|
|
|
|
+ };
|
|
|
|
};
|
|
|
|
--
|
2015-06-24 04:43:19 +00:00
|
|
|
2.4.3
|
2014-06-12 00:49:17 +00:00
|
|
|
|