diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2015-03-26 22:18:47 +0000 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2015-03-26 22:18:47 +0000 |
commit | 8fa0e32396311aca0e0aa4a32de561f8e690e5ad (patch) | |
tree | 250deba6bdbb09cbac8f172a876e4b95068f11fc /target/linux/mxs/patches-3.18/101-soc-audio-dts.patch | |
parent | c21cf0bad8e0fb43e3dd9044db3b9b20cbd93ce6 (diff) | |
download | master-187ad058-8fa0e32396311aca0e0aa4a32de561f8e690e5ad.tar.gz master-187ad058-8fa0e32396311aca0e0aa4a32de561f8e690e5ad.tar.bz2 master-187ad058-8fa0e32396311aca0e0aa4a32de561f8e690e5ad.zip |
mxs: add 3.18 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45041 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mxs/patches-3.18/101-soc-audio-dts.patch')
-rw-r--r-- | target/linux/mxs/patches-3.18/101-soc-audio-dts.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/mxs/patches-3.18/101-soc-audio-dts.patch b/target/linux/mxs/patches-3.18/101-soc-audio-dts.patch new file mode 100644 index 0000000000..99bdf5f6fc --- /dev/null +++ b/target/linux/mxs/patches-3.18/101-soc-audio-dts.patch @@ -0,0 +1,39 @@ +--- a/arch/arm/boot/dts/imx23-olinuxino.dts ++++ b/arch/arm/boot/dts/imx23-olinuxino.dts +@@ -88,6 +88,25 @@ + 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"; ++ }; + }; + }; + +@@ -122,4 +141,10 @@ + gpios = <&gpio2 1 1>; + }; + }; ++ ++ mxs-builtin-audio { ++ compatible = "fsl,mxs-builtin-audio"; ++ audio-codec = <&codec>; ++ cpu-dai = <&platform_dai>; ++ }; + }; |