axc001.dtsi (858a0d7eb5300b5f620d98ab3c4b96c9d5f19131) axc001.dtsi (f862b31514bad66e48d9d4ff6036ee051cf36a6f)
1/*
2 * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
3 *
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.
7 */
8
9/*
10 * Device tree for AXC001 770D/EM6/AS221 CPU card
11 * Note that this file only supports the 770D CPU
12 */
13
14/include/ "skeleton.dtsi"
15
16/ {
17 compatible = "snps,arc";
1/*
2 * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
3 *
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.
7 */
8
9/*
10 * Device tree for AXC001 770D/EM6/AS221 CPU card
11 * Note that this file only supports the 770D CPU
12 */
13
14/include/ "skeleton.dtsi"
15
16/ {
17 compatible = "snps,arc";
18 #address-cells = <1>;
19 #size-cells = <1>;
18 #address-cells = <2>;
19 #size-cells = <2>;
20
21 cpu_card {
22 compatible = "simple-bus";
23 #address-cells = <1>;
24 #size-cells = <1>;
25
20
21 cpu_card {
22 compatible = "simple-bus";
23 #address-cells = <1>;
24 #size-cells = <1>;
25
26 ranges = <0x00000000 0xf0000000 0x10000000>;
26 ranges = <0x00000000 0x0 0xf0000000 0x10000000>;
27
28 core_clk: core_clk {
29 #clock-cells = <0>;
30 compatible = "fixed-clock";
31 clock-frequency = <750000000>;
32 };
33
34 core_intc: arc700-intc@cpu {

--- 51 unchanged lines hidden (view full) ---

86 *
87 * This intc actually resides on MB, but we move it here to
88 * avoid duplicating the MB dtsi file given that IRQ from
89 * this intc to cpu intc are different for axs101 and axs103
90 */
91 mb_intc: dw-apb-ictl@0xe0012000 {
92 #interrupt-cells = <1>;
93 compatible = "snps,dw-apb-ictl";
27
28 core_clk: core_clk {
29 #clock-cells = <0>;
30 compatible = "fixed-clock";
31 clock-frequency = <750000000>;
32 };
33
34 core_intc: arc700-intc@cpu {

--- 51 unchanged lines hidden (view full) ---

86 *
87 * This intc actually resides on MB, but we move it here to
88 * avoid duplicating the MB dtsi file given that IRQ from
89 * this intc to cpu intc are different for axs101 and axs103
90 */
91 mb_intc: dw-apb-ictl@0xe0012000 {
92 #interrupt-cells = <1>;
93 compatible = "snps,dw-apb-ictl";
94 reg = < 0xe0012000 0x200 >;
94 reg = < 0x0 0xe0012000 0x0 0x200 >;
95 interrupt-controller;
96 interrupt-parent = <&core_intc>;
97 interrupts = < 7 >;
98 };
99
100 memory {
95 interrupt-controller;
96 interrupt-parent = <&core_intc>;
97 interrupts = < 7 >;
98 };
99
100 memory {
101 #address-cells = <1>;
102 #size-cells = <1>;
103 ranges = <0x00000000 0x80000000 0x20000000>;
104 device_type = "memory";
101 device_type = "memory";
105 reg = <0x80000000 0x1b000000>; /* (512 - 32) MiB */
102 /* CONFIG_KERNEL_RAM_BASE_ADDRESS needs to match low mem start */
103 reg = <0x0 0x80000000 0x0 0x1b000000>; /* (512 - 32) MiB */
106 };
107
108 reserved-memory {
104 };
105
106 reserved-memory {
109 #address-cells = <1>;
110 #size-cells = <1>;
107 #address-cells = <2>;
108 #size-cells = <2>;
111 ranges;
112 /*
113 * We just move frame buffer area to the very end of
114 * available DDR. And even though in case of ARC770 there's
115 * no strict requirement for a frame-buffer to be in any
116 * particular location it allows us to use the same
117 * base board's DT node for ARC PGU as for ARc HS38.
118 */
119 frame_buffer: frame_buffer@9e000000 {
120 compatible = "shared-dma-pool";
109 ranges;
110 /*
111 * We just move frame buffer area to the very end of
112 * available DDR. And even though in case of ARC770 there's
113 * no strict requirement for a frame-buffer to be in any
114 * particular location it allows us to use the same
115 * base board's DT node for ARC PGU as for ARc HS38.
116 */
117 frame_buffer: frame_buffer@9e000000 {
118 compatible = "shared-dma-pool";
121 reg = <0x9e000000 0x2000000>;
119 reg = <0x0 0x9e000000 0x0 0x2000000>;
122 no-map;
123 };
124 };
125};
120 no-map;
121 };
122 };
123};