pistachio: add 4.9 kernel support
[openwrt/staging/lynxis/omap.git] / target / linux / pistachio / patches-4.9 / 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 diff --git a/arch/mips/boot/dts/img/pistachio_marduk.dts b/arch/mips/boot/dts/img/pistachio_marduk.dts
12 index b18aa26..ed92462 100644
13 --- a/arch/mips/boot/dts/img/pistachio_marduk.dts
14 +++ b/arch/mips/boot/dts/img/pistachio_marduk.dts
15 @@ -92,6 +92,17 @@
16 spi-max-frequency = <50000000>;
17 linux,mtd-name = "spi-nor";
18 };
19 + flash@1 {
20 + compatible = "gigadevice,gd5f";
21 + reg = <1>;
22 + spi-max-frequency = <50000000>;
23 + nand-on-flash-bbt;
24 + spi-rx-bus-width = <2>;
25 + spi-tx-bus-width = <4>;
26 + #address-cells = <1>;
27 + #size-cells = <1>;
28 + linux,mtd-name = "spi-nand";
29 + };
30 };
31
32 &uart0 {
33 --
34 2.7.4
35