ARM: dts: add intel-ixp42x-welltech-epbx100
authorCorentin Labbe <clabbe@baylibre.com>
Tue, 4 May 2021 19:34:57 +0000 (19:34 +0000)
committerOlof Johansson <olof@lixom.net>
Sat, 12 Jun 2021 15:22:02 +0000 (08:22 -0700)
This patch adds devicetree for intel-ixp42x-welltech-epbx100.

Link: https://lore.kernel.org/r/20210504193457.4008384-6-clabbe@baylibre.com
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/intel-ixp42x-welltech-epbx100.dts [new file with mode: 0644]

index f8f09c5066e7509948d4b0cf351b953141ef435e..72338df6663a1abef3a4faf6daaf28b8aeb431dd 100644 (file)
@@ -240,6 +240,7 @@ dtb-$(CONFIG_ARCH_INTEGRATOR) += \
        integratorcp.dtb
 dtb-$(CONFIG_ARCH_IXP4XX) += \
        intel-ixp42x-linksys-nslu2.dtb \
+       intel-ixp42x-welltech-epbx100.dtb \
        intel-ixp43x-gateworks-gw2358.dtb
 dtb-$(CONFIG_ARCH_KEYSTONE) += \
        keystone-k2hk-evm.dtb \
diff --git a/arch/arm/boot/dts/intel-ixp42x-welltech-epbx100.dts b/arch/arm/boot/dts/intel-ixp42x-welltech-epbx100.dts
new file mode 100644 (file)
index 0000000..8415850
--- /dev/null
@@ -0,0 +1,76 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2021 Corentin Labbe <clabbe@baylibre.com>
+ */
+
+/dts-v1/;
+
+#include "intel-ixp42x.dtsi"
+
+/ {
+       model = "Welltech EPBX100";
+       compatible = "welltech,epbx100", "intel,ixp42x";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       memory@0 {
+               /* 64 MB SDRAM */
+               device_type = "memory";
+               reg = <0x00000000 0x4000000>;
+       };
+
+       chosen {
+               bootargs = "console=ttyS0,115200n8 root=/dev/ram0 initrd=0x00800000,9M";
+               stdout-path = "uart0:115200n8";
+       };
+
+       aliases {
+               serial0 = &uart0;
+       };
+
+       flash@50000000 {
+               compatible = "intel,ixp4xx-flash", "cfi-flash";
+               bank-width = <2>;
+               /*
+                * 16 MB of Flash
+                */
+               reg = <0x50000000 0x1000000>;
+
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       partition@0 {
+                               label = "RedBoot";
+                               reg = <0x00000000 0x00080000>;
+                               read-only;
+                       };
+                       partition@80000 {
+                               label = "zImage";
+                               reg = <0x00080000 0x00100000>;
+                               read-only;
+                       };
+                       partition@180000 {
+                               label = "ramdisk";
+                               reg = <0x00180000 0x00300000>;
+                               read-only;
+                       };
+                       partition@480000 {
+                               label = "User";
+                               reg = <0x00480000 0x00b60000>;
+                               read-only;
+                       };
+                       partition@fe0000 {
+                               label = "FIS directory";
+                               reg = <0x00fe0000 0x001f000>;
+                               read-only;
+                       };
+                       partition@fff000 {
+                               label = "RedBoot config";
+                               reg = <0x00fff000 0x0001000>;
+                               read-only;
+                       };
+               };
+       };
+};