aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/patches-4.1/126-4-dt-sun4i-add-nfc-to-a10.patch
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2015-08-09 12:25:18 +0000
committerZoltan Herpai <wigyori@uid0.hu>2015-08-09 12:25:18 +0000
commit50018a752771efce3ae222457d4d231d1f80a1a5 (patch)
treeced2b9c1e216ce0e3d0bb204e359a7a9d6d2a3ef /target/linux/sunxi/patches-4.1/126-4-dt-sun4i-add-nfc-to-a10.patch
parent0b8643af4fa7eebd55b63d6d547f85da1409f83d (diff)
downloadupstream-50018a752771efce3ae222457d4d231d1f80a1a5.tar.gz
upstream-50018a752771efce3ae222457d4d231d1f80a1a5.tar.bz2
upstream-50018a752771efce3ae222457d4d231d1f80a1a5.zip
sunxi: add support for 4.1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46571
Diffstat (limited to 'target/linux/sunxi/patches-4.1/126-4-dt-sun4i-add-nfc-to-a10.patch')
-rw-r--r--target/linux/sunxi/patches-4.1/126-4-dt-sun4i-add-nfc-to-a10.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-4.1/126-4-dt-sun4i-add-nfc-to-a10.patch b/target/linux/sunxi/patches-4.1/126-4-dt-sun4i-add-nfc-to-a10.patch
new file mode 100644
index 0000000000..b1a9b07402
--- /dev/null
+++ b/target/linux/sunxi/patches-4.1/126-4-dt-sun4i-add-nfc-to-a10.patch
@@ -0,0 +1,35 @@
+From 9cc66234a20c6ba1611233a122f04f3b175ad2d3 Mon Sep 17 00:00:00 2001
+From: Boris BREZILLON <boris.brezillon@free-electrons.com>
+Date: Mon, 28 Jul 2014 14:01:22 +0200
+Subject: [PATCH] ARM: dts: sun7i: Add NFC node to Allwinner A20 SoC
+
+Add NAND Flash controller node definition to the A20 SoC.
+
+Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+---
+ arch/arm/boot/dts/sun7i-a20.dtsi | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
+index 6ec86c9..092adc6 100644
+--- a/arch/arm/boot/dts/sun7i-a20.dtsi
++++ b/arch/arm/boot/dts/sun7i-a20.dtsi
+@@ -641,6 +641,17 @@
+ #dma-cells = <2>;
+ };
+
++ nfc: nand@01c03000 {
++ compatible = "allwinner,sun4i-a10-nand";
++ reg = <0x01c03000 0x1000>;
++ interrupts = <0 37 4>;
++ clocks = <&ahb_gates 13>, <&nand_clk>;
++ clock-names = "ahb", "mod";
++ #address-cells = <1>;
++ #size-cells = <0>;
++ status = "disabled";
++ };
++
+ spi0: spi@01c05000 {
+ compatible = "allwinner,sun4i-a10-spi";
+ reg = <0x01c05000 0x1000>;