2 * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
10 * Device tree for AXC003 CPU card: HS38x UP configuration
13 /include/ "skeleton_hs.dtsi"
16 compatible = "snps,arc";
17 clock-frequency = <90000000>;
22 compatible = "simple-bus";
26 ranges = <0x00000000 0xf0000000 0x10000000>;
30 compatible = "fixed-clock";
31 clock-frequency = <90000000>;
34 core_intc: archs-intc@cpu {
35 compatible = "snps,archs-intc";
37 #interrupt-cells = <1>;
41 * this GPIO block ORs all interrupts on CPU card (creg,..)
42 * to uplink only 1 IRQ to ARC core intc
45 compatible = "snps,dw-apb-gpio";
46 reg = < 0x2000 0x80 >;
50 ictl_intc: gpio-controller@0 {
51 compatible = "snps,dw-apb-gpio-port";
57 #interrupt-cells = <2>;
58 interrupt-parent = <&core_intc>;
63 debug_uart: dw-apb-uart@0x5000 {
64 compatible = "snps,dw-apb-uart";
66 clock-frequency = <33333000>;
67 interrupt-parent = <&ictl_intc>;
75 compatible = "snps,archs-pct";
76 #interrupt-cells = <1>;
77 interrupt-parent = <&core_intc>;
83 * The DW APB ICTL intc on MB is connected to CPU intc via a
84 * DT "invisible" DW APB GPIO block, configured to simply pass thru
85 * interrupts - setup accordinly in platform init (plat-axs10x/ax10x.c)
87 * So here we mimic a direct connection betwen them, ignoring the
88 * ABPG GPIO. Thus set "interrupts = <24>" (DW APB GPIO to core)
89 * instead of "interrupts = <12>" (DW APB ICTL to DW APB GPIO)
91 * This intc actually resides on MB, but we move it here to
92 * avoid duplicating the MB dtsi file given that IRQ from
93 * this intc to cpu intc are different for axs101 and axs103
95 mb_intc: dw-apb-ictl@0xe0012000 {
96 #interrupt-cells = <1>;
97 compatible = "snps,dw-apb-ictl";
98 reg = < 0xe0012000 0x200 >;
100 interrupt-parent = <&core_intc>;
105 #address-cells = <1>;
107 ranges = <0x00000000 0x80000000 0x40000000>;
108 device_type = "memory";
109 reg = <0x80000000 0x20000000>; /* 512MiB */