Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com)
0004  */
0005 
0006 / {
0007         compatible = "snps,arc";
0008         #address-cells = <1>;
0009         #size-cells = <1>;
0010         chosen { };
0011         aliases { };
0012 
0013         cpus {
0014                 #address-cells = <1>;
0015                 #size-cells = <0>;
0016 
0017                 cpu@0 {
0018                         device_type = "cpu";
0019                         compatible = "snps,archs38";
0020                         reg = <0>;
0021                         clocks = <&core_clk>;
0022                 };
0023         };
0024 
0025         /* TIMER0 with interrupt for clockevent */
0026         timer0 {
0027                 compatible = "snps,arc-timer";
0028                 interrupts = <16>;
0029                 interrupt-parent = <&core_intc>;
0030                 clocks = <&core_clk>;
0031         };
0032 
0033         /* 64-bit Local RTC: preferred clocksource for UP */
0034         rtc {
0035                 compatible = "snps,archs-timer-rtc";
0036                 clocks = <&core_clk>;
0037         };
0038 
0039         /* TIMER1 for free running clocksource: Fallback if rtc not found */
0040         timer1 {
0041                 compatible = "snps,arc-timer";
0042                 clocks = <&core_clk>;
0043         };
0044 
0045         memory {
0046                 device_type = "memory";
0047                 reg = <0x80000000 0x10000000>;  /* 256M */
0048         };
0049 };