summaryrefslogtreecommitdiff
path: root/target/linux/imx23/patches/106-add-dcp-dts.patch
diff options
context:
space:
mode:
authorwigyori <wigyori@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-08-03 10:35:18 +0000
committerwigyori <wigyori@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-08-03 10:35:18 +0000
commit52ae89721ecbdcf318426b4c53c4fa10298383ad (patch)
treefc69311e40d06677353c4cd654f1aeddb095467b /target/linux/imx23/patches/106-add-dcp-dts.patch
parent4ccefbc9702faacdf071b8b76ee721e7890e0e17 (diff)
imx23: add hw crypto (dcp) support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37662 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/imx23/patches/106-add-dcp-dts.patch')
-rw-r--r--target/linux/imx23/patches/106-add-dcp-dts.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/imx23/patches/106-add-dcp-dts.patch b/target/linux/imx23/patches/106-add-dcp-dts.patch
new file mode 100644
index 0000000000..6d50df6005
--- /dev/null
+++ b/target/linux/imx23/patches/106-add-dcp-dts.patch
@@ -0,0 +1,27 @@
+diff -ruN linux-3.10/arch/arm/boot/dts/imx23.dtsi linux-3.10.dcp/arch/arm/boot/dts/imx23.dtsi
+--- linux-3.10/arch/arm/boot/dts/imx23.dtsi 2013-07-01 00:13:29.000000000 +0200
++++ linux-3.10.dcp/arch/arm/boot/dts/imx23.dtsi 2013-08-03 11:15:59.000000000 +0200
+@@ -333,6 +333,7 @@
+
+ dcp@80028000 {
+ reg = <0x80028000 0x2000>;
++ interrupts = <52 53 54>;
+ status = "disabled";
+ };
+
+diff -ruN linux-3.10/arch/arm/boot/dts/imx23-olinuxino.dts linux-3.10.dcp/arch/arm/boot/dts/imx23-olinuxino.dts
+--- linux-3.10/arch/arm/boot/dts/imx23-olinuxino.dts 2013-07-01 00:13:29.000000000 +0200
++++ linux-3.10.dcp/arch/arm/boot/dts/imx23-olinuxino.dts 2013-08-02 12:30:07.000000000 +0200
+@@ -66,6 +66,12 @@
+ pinctrl-0 = <&spi2_pins_a>;
+ status = "okay";
+ };
++
++ dcp@80028000 {
++ status = "okay";
++ compatible = "fsl-dcp";
++ };
++
+ };
+
+ apbx@80040000 {