Skip to content

Commit 1d8ebde

Browse files
committed
ARCv2: [vdk] No need to maintain 2 versions of MB DTS
Signed-off-by: Vineet Gupta <[email protected]>
1 parent 65fee17 commit 1d8ebde

File tree

5 files changed

+29
-269
lines changed

5 files changed

+29
-269
lines changed

arch/arc/boot/dts/axc003_smp_vdk.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,20 @@
5757

5858
};
5959

60+
/*
61+
* This intc actually resides on MB, but we move it here to
62+
* avoid duplicating the MB dtsi file given that IRQ from
63+
* this intc to cpu intc are different for UP and SMP configs
64+
*/
65+
mb_intc: dw-apb-ictl@0xe0012000 {
66+
#interrupt-cells = <1>;
67+
compatible = "snps,dw-apb-ictl";
68+
reg = < 0xe0012000 0x200 >;
69+
interrupt-controller;
70+
interrupt-parent = <&idu_intc>;
71+
interrupts = < 0 0 >;
72+
};
73+
6074
memory {
6175
#address-cells = <1>;
6276
#size-cells = <1>;

arch/arc/boot/dts/axc003_vdk.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,20 @@
4242

4343
};
4444

45+
/*
46+
* This intc actually resides on MB, but we move it here to
47+
* avoid duplicating the MB dtsi file given that IRQ from
48+
* this intc to cpu intc are different for UP and SMP configs
49+
*/
50+
mb_intc: dw-apb-ictl@0xe0012000 {
51+
#interrupt-cells = <1>;
52+
compatible = "snps,dw-apb-ictl";
53+
reg = < 0xe0012000 0x200 >;
54+
interrupt-controller;
55+
interrupt-parent = <&cpu_intc>;
56+
interrupts = < 18 >;
57+
};
58+
4559
memory {
4660
#address-cells = <1>;
4761
#size-cells = <1>;

arch/arc/boot/dts/axs10x_mb_vdk.dtsi

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,6 @@
2525

2626
};
2727

28-
mb_intc: dw-apb-ictl@0x12000 {
29-
#interrupt-cells = <1>;
30-
compatible = "snps,dw-apb-ictl";
31-
reg = < 0x12000 0x200 >;
32-
interrupt-controller;
33-
interrupt-parent = <&cpu_intc>;
34-
/* On VDK, mb int controller is directly hooked to cpu int controller */
35-
interrupts = < 18 >;
36-
};
37-
3828
/* Not supported in VDK
3929
nand@0x16000 {
4030
compatible = "snps,axs-nand";

arch/arc/boot/dts/axs10x_smp_mb_vdk.dtsi

Lines changed: 0 additions & 258 deletions
This file was deleted.

arch/arc/boot/dts/hs38_smp_vdk.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/dts-v1/;
1111

1212
/include/ "axc003_smp_vdk.dtsi"
13-
/include/ "axs10x_smp_mb_vdk.dtsi"
13+
/include/ "axs10x_mb_vdk.dtsi"
1414

1515
/ {
1616
compatible = "snps,axs103";

0 commit comments

Comments
 (0)