Loading...
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com)
4 */
5
6/ {
7 compatible = "snps,arc";
8 #address-cells = <1>;
9 #size-cells = <1>;
10 chosen { };
11 aliases { };
12
13 cpus {
14 #address-cells = <1>;
15 #size-cells = <0>;
16
17 cpu@0 {
18 device_type = "cpu";
19 compatible = "snps,archs38";
20 reg = <0>;
21 clocks = <&core_clk>;
22 };
23 };
24
25 /* TIMER0 with interrupt for clockevent */
26 timer0 {
27 compatible = "snps,arc-timer";
28 interrupts = <16>;
29 interrupt-parent = <&core_intc>;
30 clocks = <&core_clk>;
31 };
32
33 /* 64-bit Local RTC: preferred clocksource for UP */
34 rtc {
35 compatible = "snps,archs-timer-rtc";
36 clocks = <&core_clk>;
37 };
38
39 /* TIMER1 for free running clocksource: Fallback if rtc not found */
40 timer1 {
41 compatible = "snps,arc-timer";
42 clocks = <&core_clk>;
43 };
44
45 memory {
46 device_type = "memory";
47 reg = <0x80000000 0x10000000>; /* 256M */
48 };
49};
1/*
2 * Copyright (C) 2016 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 compatible = "snps,arc";
11 #address-cells = <1>;
12 #size-cells = <1>;
13 chosen { };
14 aliases { };
15
16 cpus {
17 #address-cells = <1>;
18 #size-cells = <0>;
19
20 cpu@0 {
21 device_type = "cpu";
22 compatible = "snps,archs38";
23 reg = <0>;
24 };
25 };
26
27 /* TIMER0 with interrupt for clockevent */
28 timer0 {
29 compatible = "snps,arc-timer";
30 interrupts = <16>;
31 interrupt-parent = <&core_intc>;
32 clocks = <&core_clk>;
33 };
34
35 /* 64-bit Local RTC: preferred clocksource for UP */
36 rtc {
37 compatible = "snps,archs-timer-rtc";
38 clocks = <&core_clk>;
39 };
40
41 /* TIMER1 for free running clocksource: Fallback if rtc not found */
42 timer1 {
43 compatible = "snps,arc-timer";
44 clocks = <&core_clk>;
45 };
46
47 memory {
48 device_type = "memory";
49 reg = <0x80000000 0x10000000>; /* 256M */
50 };
51};