kernel: update 4.1 to 4.1.5
[openwrt.git] / target / linux / sunxi / patches-4.1 / 126-6-dt-sun5i-add-nfc-to-a13.patch
1 From 22ef77b0ba8fa347fe4b8c4c05d0bf0d08f4c141 Mon Sep 17 00:00:00 2001
2 From: Hans de Goede <hdegoede@redhat.com>
3 Date: Tue, 26 May 2015 18:01:50 +0200
4 Subject: [PATCH] ARM: dts: sun5i: Add NFC node to Allwinner A13/A10s SoC
5
6 Add NAND Flash controller node definition to the A13/a10s SoC.
7
8 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
9 ---
10  arch/arm/boot/dts/sun5i.dtsi | 11 +++++++++++
11  1 file changed, 11 insertions(+)
12
13 --- a/arch/arm/boot/dts/sun5i-a13.dtsi
14 +++ b/arch/arm/boot/dts/sun5i-a13.dtsi
15 @@ -365,6 +365,17 @@
16                         #dma-cells = <2>;
17                 };
18  
19 +               nfc: nand@01c03000 {
20 +                       compatible = "allwinner,sun4i-a10-nand";
21 +                       reg = <0x01c03000 0x1000>;
22 +                       interrupts = <37>;
23 +                       clocks = <&ahb_gates 13>, <&nand_clk>;
24 +                       clock-names = "ahb", "mod";
25 +                       #address-cells = <1>;
26 +                       #size-cells = <0>;
27 +                       status = "disabled";
28 +               };
29 +
30                 spi0: spi@01c05000 {
31                         compatible = "allwinner,sun4i-a10-spi";
32                         reg = <0x01c05000 0x1000>;