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