ARCv2: [vdk] dts files and defconfig for HS38 VDK
authorRuud Derwig <rderwig@synopsys.com>
Wed, 3 Dec 2014 14:52:41 +0000 (15:52 +0100)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 25 Jun 2015 00:30:21 +0000 (06:00 +0530)
 - CONFIG_ARC_UBOOT_SUPPORT to handle arguments passed in r0, r1, r2
 - CONFIG_DEVTMPFS_MOUNT for mouting rootfs since it uses external cpio
   for rootfs

Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Ruud Derwig <rderwig@synopsys.com>
[vgupta: folded the Main baord DT files for smp/up into one]
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/boot/dts/vdk_axc003.dtsi [new file with mode: 0644]
arch/arc/boot/dts/vdk_axc003_idu.dtsi [new file with mode: 0644]
arch/arc/boot/dts/vdk_axs10x_mb.dtsi [new file with mode: 0644]
arch/arc/boot/dts/vdk_hs38.dts [new file with mode: 0644]
arch/arc/boot/dts/vdk_hs38_smp.dts [new file with mode: 0644]
arch/arc/configs/vdk_hs38_defconfig [new file with mode: 0644]
arch/arc/configs/vdk_hs38_smp_defconfig [new file with mode: 0644]
arch/arc/kernel/asm-offsets.c
arch/arc/mm/tlbex.S
arch/arc/plat-axs10x/axs10x.c

diff --git a/arch/arc/boot/dts/vdk_axc003.dtsi b/arch/arc/boot/dts/vdk_axc003.dtsi
new file mode 100644 (file)
index 0000000..9393fd9
--- /dev/null
@@ -0,0 +1,61 @@
+/*
+ * Copyright (C) 2013, 2014 Synopsys, Inc. (www.synopsys.com)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * Device tree for AXC003 CPU card: HS38x UP configuration (VDK version)
+ */
+
+/ {
+       compatible = "snps,arc";
+       clock-frequency = <50000000>;
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       cpu_card {
+               compatible = "simple-bus";
+               #address-cells = <1>;
+               #size-cells = <1>;
+
+               ranges = <0x00000000 0xf0000000 0x10000000>;
+
+               cpu_intc: archs-intc@cpu {
+                       compatible = "snps,archs-intc";
+                       interrupt-controller;
+                       #interrupt-cells = <1>;
+               };
+
+               debug_uart: dw-apb-uart@0x5000 {
+                       compatible = "snps,dw-apb-uart";
+                       reg = <0x5000 0x100>;
+                       clock-frequency = <2403200>;
+                       interrupt-parent = <&cpu_intc>;
+                       interrupts = <19>;
+                       baud = <115200>;
+                       reg-shift = <2>;
+                       reg-io-width = <4>;
+               };
+
+       };
+
+       mb_intc: dw-apb-ictl@0xe0012000 {
+               #interrupt-cells = <1>;
+               compatible = "snps,dw-apb-ictl";
+               reg = < 0xe0012000 0x200 >;
+               interrupt-controller;
+               interrupt-parent = <&cpu_intc>;
+               interrupts = < 18 >;
+       };
+
+       memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0x00000000 0x80000000 0x40000000>;
+               device_type = "memory";
+               reg = <0x00000000 0x20000000>;  /* 512MiB */
+       };
+};
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge