ARM: dts: Add DT for Embedded Artists LPC4357 Developers Kit
authorJoachim Eastwood <manabian@gmail.com>
Mon, 11 May 2015 22:00:51 +0000 (00:00 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 15 May 2015 20:28:21 +0000 (22:28 +0200)
Adds basic support for Embedded Artists' LPC4357 Developer's Kit. Board
features a LPC4357 Soc, 32 MB SDRAM, 128 MB NAND Flash, 16 MB SPI
Flash, USB and Ethernet.

More information can be found on:
http://www.embeddedartists.com/products/kits/lpc4357_kit.php

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Documentation/devicetree/bindings/vendor-prefixes.txt
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/lpc4357-ea4357-devkit.dts [new file with mode: 0644]
arch/arm/boot/dts/lpc4357.dtsi [new file with mode: 0644]

index b6682aba2f4168fe26049d940851b391ff728481..7822acc76c5d07836814f566e73c35cf594d4bd1 100644 (file)
@@ -61,6 +61,7 @@ digilent      Diglent, Inc.
 dlg    Dialog Semiconductor
 dlink  D-Link Corporation
 dmo    Data Modul AG
+ea     Embedded Artists AB
 ebv    EBV Elektronik
 edt    Emerging Display Technologies
 elan   Elan Microelectronic Corp.
index 69bf811960cbb29920535f41c10882ebc7bd7796..9feb07a588675838d1bd4cc344d448db1482b8d6 100644 (file)
@@ -207,6 +207,8 @@ dtb-$(CONFIG_MACH_KIRKWOOD) += \
        kirkwood-ts219-6282.dtb \
        kirkwood-ts419-6281.dtb \
        kirkwood-ts419-6282.dtb
+dtb-$(CONFIG_ARCH_LPC18XX) += \
+       lpc4357-ea4357-devkit.dtb
 dtb-$(CONFIG_ARCH_LPC32XX) += \
        ea3250.dtb phy3250.dtb
 dtb-$(CONFIG_MACH_MESON6) += \
diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
new file mode 100644 (file)
index 0000000..08a6f75
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+ * Embedded Artist LPC4357 Developer's Kit
+ *
+ * Copyright 2015 Joachim Eastwood <manabian@gmail.com>
+ *
+ * This code is released using a dual license strategy: BSD/GPL
+ * You can choose the licence that better fits your requirements.
+ *
+ * Released under the terms of 3-clause BSD License
+ * Released under the terms of GNU General Public License Version 2.0
+ *
+ */
+/dts-v1/;
+
+#include "lpc18xx.dtsi"
+#include "lpc4357.dtsi"
+
+/ {
+       model = "Embedded Artists' LPC4357 Developer's Kit";
+       compatible = "ea,lpc4357-developers-kit", "nxp,lpc4357", "nxp,lpc4350";
+
+       aliases {
+               serial0 = &uart0;
+               serial1 = &uart1;
+               serial2 = &uart2;
+               serial3 = &uart3;
+       };
+
+       chosen {
+               stdout-path = &uart0;
+       };
+
+       memory {
+               device_type = "memory";
+               reg = <0x28000000 0x2000000>; /* 32 MB */
+       };
+};
+
+&uart0 {
+       status = "okay";
+};
diff --git a/arch/arm/boot/dts/lpc4357.dtsi b/arch/arm/boot/dts/lpc4357.dtsi
new file mode 100644 (file)
index 0000000..fb9ecc7
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * NXP LPC435x, LPC433x, LPC4327, LPC4325, LPC4317 and LPC4315 SoC
+ *
+ * Copyright 2015 Joachim Eastwood <manabian@gmail.com>
+ *
+ * This code is released using a dual license strategy: BSD/GPL
+ * You can choose the licence that better fits your requirements.
+ *
+ * Released under the terms of 3-clause BSD License
+ * Released under the terms of GNU General Public License Version 2.0
+ *
+ */
+
+/ {
+       compatible = "nxp,lpc4357";
+
+       cpus {
+               cpu@0 {
+                       compatible = "arm,cortex-m4";
+               };
+       };
+
+       soc {
+               sram0: sram@10000000 {
+                       compatible = "mmio-sram";
+                       reg = <0x10000000 0x8000>; /* 32 KiB local SRAM */
+               };
+
+               sram1: sram@10080000 {
+                       compatible = "mmio-sram";
+                       reg = <0x10080000 0xa000>; /* 32 + 8 KiB local SRAM */
+               };
+
+               sram2: sram@20000000 {
+                       compatible = "mmio-sram";
+                       reg = <0x20000000 0x10000>; /* 4 x 16 KiB AHB SRAM */
+               };
+       };
+};