1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
7 * Device tree for AXC001 770D/EM6/AS221 CPU card
8 * Note that this file only supports the 770D CPU
11 /include/ "skeleton.dtsi"
14 compatible = "snps,arc";
19 compatible = "simple-bus";
23 ranges = <0x00000000 0x0 0xf0000000 0x10000000>;
27 compatible = "fixed-clock";
28 clock-frequency = <750000000>;
31 core_intc: arc700-intc@cpu {
32 compatible = "snps,arc700-intc";
34 #interrupt-cells = <1>;
38 * this GPIO block ORs all interrupts on CPU card (creg,..)
39 * to uplink only 1 IRQ to ARC core intc
42 compatible = "snps,dw-apb-gpio";
43 reg = < 0x2000 0x80 >;
47 ictl_intc: gpio-controller@0 {
48 compatible = "snps,dw-apb-gpio-port";
54 #interrupt-cells = <2>;
55 interrupt-parent = <&core_intc>;
60 debug_uart: dw-apb-uart@5000 {
61 compatible = "snps,dw-apb-uart";
63 clock-frequency = <33333000>;
64 interrupt-parent = <&ictl_intc>;
72 compatible = "snps,arc700-pct";
77 * This INTC is actually connected to DW APB GPIO
78 * which acts as a wire between MB INTC and CPU INTC.
79 * GPIO INTC is configured in platform init code
80 * and here we mimic direct connection from MB INTC to
81 * CPU INTC, thus we set "interrupts = <7>" instead of
84 * This intc actually resides on MB, but we move it here to
85 * avoid duplicating the MB dtsi file given that IRQ from
86 * this intc to cpu intc are different for axs101 and axs103
88 mb_intc: dw-apb-ictl@e0012000 {
89 #interrupt-cells = <1>;
90 compatible = "snps,dw-apb-ictl";
91 reg = < 0x0 0xe0012000 0x0 0x200 >;
93 interrupt-parent = <&core_intc>;
98 device_type = "memory";
99 /* CONFIG_LINUX_RAM_BASE needs to match low mem start */
100 reg = <0x0 0x80000000 0x0 0x1b000000>; /* (512 - 32) MiB */
104 #address-cells = <2>;
108 * We just move frame buffer area to the very end of
109 * available DDR. And even though in case of ARC770 there's
110 * no strict requirement for a frame-buffer to be in any
111 * particular location it allows us to use the same
112 * base board's DT node for ARC PGU as for ARc HS38.
114 frame_buffer: frame_buffer@9e000000 {
115 compatible = "shared-dma-pool";
116 reg = <0x0 0x9e000000 0x0 0x2000000>;