summaryrefslogtreecommitdiff
path: root/target/linux/pistachio/patches-4.14/902-MIPS-DTS-img-marduk-add-nand-device-support.patch
diff options
context:
space:
mode:
authorMatti Laakso <matti.laakso@outlook.com>2018-03-18 17:23:08 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-03-31 16:13:19 +0200
commitcae808946ae5f698d8c9e2c58b9b75e69c343c38 (patch)
treed5c642fcbc6705b4d53a0402f08ca6ff1038ce52 /target/linux/pistachio/patches-4.14/902-MIPS-DTS-img-marduk-add-nand-device-support.patch
parent2534141322b0541daa627a516280638c12a262fe (diff)
downloadmtk-20170518-cae808946ae5f698d8c9e2c58b9b75e69c343c38.zip
mtk-20170518-cae808946ae5f698d8c9e2c58b9b75e69c343c38.tar.gz
mtk-20170518-cae808946ae5f698d8c9e2c58b9b75e69c343c38.tar.bz2
pistachio: add kernel 4.14 support
Add patches and config for 4.14, refreshed from 4.9. Signed-off-by: Matti Laakso <matti.laakso@outlook.com>
Diffstat (limited to 'target/linux/pistachio/patches-4.14/902-MIPS-DTS-img-marduk-add-nand-device-support.patch')
-rw-r--r--target/linux/pistachio/patches-4.14/902-MIPS-DTS-img-marduk-add-nand-device-support.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/pistachio/patches-4.14/902-MIPS-DTS-img-marduk-add-nand-device-support.patch b/target/linux/pistachio/patches-4.14/902-MIPS-DTS-img-marduk-add-nand-device-support.patch
new file mode 100644
index 0000000..bd03f08
--- /dev/null
+++ b/target/linux/pistachio/patches-4.14/902-MIPS-DTS-img-marduk-add-nand-device-support.patch
@@ -0,0 +1,30 @@
+From c13cfb3a49cf1578bb85f19a7066f262503a39ba Mon Sep 17 00:00:00 2001
+From: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
+Date: Thu, 24 Nov 2016 19:26:46 +0530
+Subject: MIPS: DTS: img: marduk: add nand device support
+
+Signed-off-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
+---
+ arch/mips/boot/dts/img/pistachio_marduk.dts | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+--- a/arch/mips/boot/dts/img/pistachio_marduk.dts
++++ b/arch/mips/boot/dts/img/pistachio_marduk.dts
+@@ -92,6 +92,17 @@
+ spi-max-frequency = <50000000>;
+ linux,mtd-name = "spi-nor";
+ };
++ flash@1 {
++ compatible = "gigadevice,gd5f";
++ reg = <1>;
++ spi-max-frequency = <50000000>;
++ nand-on-flash-bbt;
++ spi-rx-bus-width = <2>;
++ spi-tx-bus-width = <4>;
++ #address-cells = <1>;
++ #size-cells = <1>;
++ linux,mtd-name = "spi-nand";
++ };
+ };
+
+ &uart0 {