kernel: bump 4.14 to 4.14.169
[oweals/openwrt.git] / target / linux / pistachio / patches-4.14 / 902-MIPS-DTS-img-marduk-add-nand-device-support.patch
1 From c13cfb3a49cf1578bb85f19a7066f262503a39ba Mon Sep 17 00:00:00 2001
2 From: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
3 Date: Thu, 24 Nov 2016 19:26:46 +0530
4 Subject: MIPS: DTS: img: marduk: add nand device support
5
6 Signed-off-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
7 ---
8  arch/mips/boot/dts/img/pistachio_marduk.dts | 11 +++++++++++
9  1 file changed, 11 insertions(+)
10
11 --- a/arch/mips/boot/dts/img/pistachio_marduk.dts
12 +++ b/arch/mips/boot/dts/img/pistachio_marduk.dts
13 @@ -92,6 +92,17 @@
14                 spi-max-frequency = <50000000>;
15                 linux,mtd-name = "spi-nor";
16         };
17 +       flash@1 {
18 +               compatible = "gigadevice,gd5f";
19 +               reg = <1>;
20 +               spi-max-frequency = <50000000>;
21 +               nand-on-flash-bbt;
22 +               spi-rx-bus-width = <2>;
23 +               spi-tx-bus-width = <4>;
24 +               #address-cells = <1>;
25 +               #size-cells = <1>;
26 +               linux,mtd-name = "spi-nand";
27 +       };
28  };
29  
30  &uart0 {