summaryrefslogtreecommitdiff
path: root/arch/mips/generic
diff options
context:
space:
mode:
authorNathan Sullivan <nathan.sullivan@ni.com>2017-07-18 13:29:09 -0500
committerRalf Baechle <ralf@linux-mips.org>2017-08-29 15:21:51 +0200
commit7aacf86b75bc5523d20fd9127104384fce51ce9c (patch)
tree3347dea4690c909faab09660e221e11a6b926caf /arch/mips/generic
parent0c4037b9dd8b021f6cac0c51edc8873bf10d6567 (diff)
downloadlwn-7aacf86b75bc5523d20fd9127104384fce51ce9c.tar.gz
lwn-7aacf86b75bc5523d20fd9127104384fce51ce9c.zip
MIPS: NI 169445 board support
Support the National Instruments 169445 board. Signed-off-by: Nathan Sullivan <nathan.sullivan@ni.com> Acked-by: Rob Herring <robh@kernel.org> Cc: devicetree@vger.kernel.org Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/16782/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/generic')
-rw-r--r--arch/mips/generic/Kconfig6
-rw-r--r--arch/mips/generic/vmlinux.its.S25
2 files changed, 31 insertions, 0 deletions
diff --git a/arch/mips/generic/Kconfig b/arch/mips/generic/Kconfig
index 51ffbbaddee2..e0436aaf7f38 100644
--- a/arch/mips/generic/Kconfig
+++ b/arch/mips/generic/Kconfig
@@ -36,4 +36,10 @@ config FIT_IMAGE_FDT_BOSTON
enable this if you wish to boot on a MIPS Boston board, as it is
expected by the bootloader.
+config FIT_IMAGE_FDT_NI169445
+ bool "Include FDT for NI 169445"
+ help
+ Enable this to include the FDT for the 169445 platform from
+ National Instruments in the FIT kernel image.
+
endif
diff --git a/arch/mips/generic/vmlinux.its.S b/arch/mips/generic/vmlinux.its.S
index 3390e2f80b80..0083e1af9a91 100644
--- a/arch/mips/generic/vmlinux.its.S
+++ b/arch/mips/generic/vmlinux.its.S
@@ -54,3 +54,28 @@
};
};
#endif /* CONFIG_FIT_IMAGE_FDT_BOSTON */
+
+#ifdef CONFIG_FIT_IMAGE_FDT_NI169445
+/ {
+ images {
+ fdt@ni169445 {
+ description = "NI 169445 device tree";
+ data = /incbin/("boot/dts/ni/169445.dtb");
+ type = "flat_dt";
+ arch = "mips";
+ compression = "none";
+ hash@0 {
+ algo = "sha1";
+ };
+ };
+ };
+
+ configurations {
+ conf@ni169445 {
+ description = "NI 169445 Linux Kernel";
+ kernel = "kernel@0";
+ fdt = "fdt@ni169445";
+ };
+ };
+};
+#endif /* CONFIG_FIT_IMAGE_FDT_NI169445 */