ARCv2: [dts]: Introduce HS38 specific include DTS ...
authorVineet Gupta <vgupta@synopsys.com>
Tue, 19 Jan 2016 10:30:42 +0000 (16:00 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 9 May 2016 04:02:29 +0000 (09:32 +0530)
... and add them to plat-sim DTS.

This allows for future change to introduce timers in DT in single place

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/boot/dts/axc001.dtsi
arch/arc/boot/dts/axc003.dtsi
arch/arc/boot/dts/axc003_idu.dtsi
arch/arc/boot/dts/nsim_hs.dts
arch/arc/boot/dts/nsim_hs_idu.dts
arch/arc/boot/dts/nsimosci_hs.dts
arch/arc/boot/dts/nsimosci_hs_idu.dts
arch/arc/boot/dts/skeleton_hs.dtsi [new file with mode: 0644]
arch/arc/boot/dts/skeleton_hs_idu.dtsi [new file with mode: 0644]
arch/arc/boot/dts/vdk_axc003.dtsi
arch/arc/boot/dts/vdk_axc003_idu.dtsi

index 420dcfde289fe8fe3e99193df1876d399b0dce04..c7f23c76170f4b6e48816af57d66feddbbe4ee34 100644 (file)
@@ -11,6 +11,8 @@
  * Note that this file only supports the 770D CPU
  */
 
+/include/ "skeleton.dtsi"
+
 / {
        compatible = "snps,arc";
        clock-frequency = <750000000>;  /* 750 MHZ */
index f90fadf7f94e5e51f551d9e914aaad728aa5bc84..4b85b70a708f22da37cc27175b93c6dc8597dec5 100644 (file)
@@ -10,6 +10,8 @@
  * Device tree for AXC003 CPU card: HS38x UP configuration
  */
 
+/include/ "skeleton_hs.dtsi"
+
 / {
        compatible = "snps,arc";
        clock-frequency = <90000000>;
index 06a9f294a2e600a4aa7f8f7b18316ceb60d87ef0..db4032a6983a2aba9edbfe6aa2c9a2af2ddaea68 100644 (file)
@@ -10,6 +10,8 @@
  * Device tree for AXC003 CPU card: HS38x2 (Dual Core) with IDU intc
  */
 
+/include/ "skeleton_hs_idu.dtsi"
+
 / {
        compatible = "snps,arc";
        clock-frequency = <90000000>;
index f46633eeb06b86453868862b989fd36623a05c11..d2f60f826bd2fe38806e07885f02bf4a6d1ac0ae 100644 (file)
@@ -7,7 +7,7 @@
  */
 /dts-v1/;
 
-/include/ "skeleton.dtsi"
+/include/ "skeleton_hs.dtsi"
 
 / {
        compatible = "snps,nsim_hs";
index 46ab31975612a9d8811f1174bdcd2575c052dc7b..cc82781727a1ef17e68dc8342b18d348c061aaec 100644 (file)
@@ -7,7 +7,7 @@
  */
 /dts-v1/;
 
-/include/ "skeleton.dtsi"
+/include/ "skeleton_hs_idu.dtsi"
 
 / {
        compatible = "snps,nsim_hs";
index 034a3139c1e23bfab51cbabf5c2f5d4d343982e7..983f6915d4aee49fe763b09a0ed541e895e4dd69 100644 (file)
@@ -7,7 +7,7 @@
  */
 /dts-v1/;
 
-/include/ "skeleton.dtsi"
+/include/ "skeleton_hs.dtsi"
 
 / {
        compatible = "snps,nsimosci_hs";
index 8a1297e0254050fb16579bad03b764f0c92316ab..fd675303f79236bfb348c1761e6764160dddabdc 100644 (file)
@@ -7,7 +7,7 @@
  */
 /dts-v1/;
 
-/include/ "skeleton.dtsi"
+/include/ "skeleton_hs_idu.dtsi"
 
 / {
        compatible = "snps,nsimosci_hs";
diff --git a/arch/arc/boot/dts/skeleton_hs.dtsi b/arch/arc/boot/dts/skeleton_hs.dtsi
new file mode 100644 (file)
index 0000000..a538766
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2016 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.
+ */
+
+/ {
+       compatible = "snps,arc";
+       clock-frequency = <80000000>;   /* 80 MHZ */
+       #address-cells = <1>;
+       #size-cells = <1>;
+       chosen { };
+       aliases { };
+
+       cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               cpu@0 {
+                       device_type = "cpu";
+                       compatible = "snps,archs38";
+                       reg = <0>;
+               };
+       };
+
+       memory {
+               device_type = "memory";
+               reg = <0x80000000 0x10000000>;  /* 256M */
+       };
+};
diff --git a/arch/arc/boot/dts/skeleton_hs_idu.dtsi b/arch/arc/boot/dts/skeleton_hs_idu.dtsi
new file mode 100644 (file)
index 0000000..74898d0
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2016 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.
+ */
+
+/ {
+       compatible = "snps,arc";
+       clock-frequency = <80000000>;   /* 80 MHZ */
+       #address-cells = <1>;
+       #size-cells = <1>;
+       chosen { };
+       aliases { };
+
+       cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               cpu@0 {
+                       device_type = "cpu";
+                       compatible = "snps,archs38xN";
+                       reg = <0>;
+               };
+       };
+
+       memory {
+               device_type = "memory";
+               reg = <0x80000000 0x10000000>;  /* 256M */
+       };
+};
index 84226bd48baf070a2ab5bea8cc0741ebee1251e9..4d9621ee7fcd5c35d1611bbcc85e945e635bb0c4 100644 (file)
@@ -10,6 +10,8 @@
  * Device tree for AXC003 CPU card: HS38x UP configuration (VDK version)
  */
 
+/include/ "skeleton_hs.dtsi"
+
 / {
        compatible = "snps,arc";
        clock-frequency = <50000000>;
index 31f0fb5fc91dec885a598a1769f7e167cbd8a780..3253486a4eec513cd6ec61d810ac4845f86722d8 100644 (file)
@@ -11,6 +11,8 @@
  * HS38x2 (Dual Core) with IDU intc (VDK version)
  */
 
+/include/ "skeleton_hs_idu.dtsi"
+
 / {
        compatible = "snps,arc";
        clock-frequency = <50000000>;