1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*c66ec88fSEmmanuel Vadot/* 3*c66ec88fSEmmanuel Vadot * Copyright(c) 2015 EZchip Technologies. 4*c66ec88fSEmmanuel Vadot */ 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel Vadot/dts-v1/; 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel Vadot/ { 9*c66ec88fSEmmanuel Vadot compatible = "ezchip,arc-nps"; 10*c66ec88fSEmmanuel Vadot #address-cells = <1>; 11*c66ec88fSEmmanuel Vadot #size-cells = <1>; 12*c66ec88fSEmmanuel Vadot interrupt-parent = <&intc>; 13*c66ec88fSEmmanuel Vadot present-cpus = "0-1,16-17"; 14*c66ec88fSEmmanuel Vadot possible-cpus = "0-4095"; 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadot aliases { 17*c66ec88fSEmmanuel Vadot ethernet0 = &gmac0; 18*c66ec88fSEmmanuel Vadot }; 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot chosen { 21*c66ec88fSEmmanuel Vadot bootargs = "earlycon=uart8250,mmio32be,0xf7209000,115200n8 console=ttyS0,115200n8"; 22*c66ec88fSEmmanuel Vadot }; 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel Vadot memory { 25*c66ec88fSEmmanuel Vadot device_type = "memory"; 26*c66ec88fSEmmanuel Vadot reg = <0x80000000 0x20000000>; /* 512M */ 27*c66ec88fSEmmanuel Vadot }; 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel Vadot clocks { 30*c66ec88fSEmmanuel Vadot sysclk: sysclk { 31*c66ec88fSEmmanuel Vadot compatible = "fixed-clock"; 32*c66ec88fSEmmanuel Vadot #clock-cells = <0>; 33*c66ec88fSEmmanuel Vadot clock-frequency = <83333333>; 34*c66ec88fSEmmanuel Vadot }; 35*c66ec88fSEmmanuel Vadot }; 36*c66ec88fSEmmanuel Vadot 37*c66ec88fSEmmanuel Vadot soc { 38*c66ec88fSEmmanuel Vadot compatible = "simple-bus"; 39*c66ec88fSEmmanuel Vadot #address-cells = <1>; 40*c66ec88fSEmmanuel Vadot #size-cells = <1>; 41*c66ec88fSEmmanuel Vadot 42*c66ec88fSEmmanuel Vadot /* child and parent address space 1:1 mapped */ 43*c66ec88fSEmmanuel Vadot ranges; 44*c66ec88fSEmmanuel Vadot 45*c66ec88fSEmmanuel Vadot intc: interrupt-controller { 46*c66ec88fSEmmanuel Vadot compatible = "ezchip,nps400-ic"; 47*c66ec88fSEmmanuel Vadot interrupt-controller; 48*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 49*c66ec88fSEmmanuel Vadot }; 50*c66ec88fSEmmanuel Vadot 51*c66ec88fSEmmanuel Vadot timer0: timer_clkevt { 52*c66ec88fSEmmanuel Vadot compatible = "snps,arc-timer"; 53*c66ec88fSEmmanuel Vadot interrupts = <3>; 54*c66ec88fSEmmanuel Vadot clocks = <&sysclk>; 55*c66ec88fSEmmanuel Vadot }; 56*c66ec88fSEmmanuel Vadot 57*c66ec88fSEmmanuel Vadot timer1: timer_clksrc { 58*c66ec88fSEmmanuel Vadot compatible = "ezchip,nps400-timer"; 59*c66ec88fSEmmanuel Vadot clocks = <&sysclk>; 60*c66ec88fSEmmanuel Vadot clock-names="sysclk"; 61*c66ec88fSEmmanuel Vadot }; 62*c66ec88fSEmmanuel Vadot 63*c66ec88fSEmmanuel Vadot uart@f7209000 { 64*c66ec88fSEmmanuel Vadot compatible = "snps,dw-apb-uart"; 65*c66ec88fSEmmanuel Vadot device_type = "serial"; 66*c66ec88fSEmmanuel Vadot reg = <0xf7209000 0x100>; 67*c66ec88fSEmmanuel Vadot interrupts = <6>; 68*c66ec88fSEmmanuel Vadot clocks = <&sysclk>; 69*c66ec88fSEmmanuel Vadot clock-names="baudclk"; 70*c66ec88fSEmmanuel Vadot baud = <115200>; 71*c66ec88fSEmmanuel Vadot reg-shift = <2>; 72*c66ec88fSEmmanuel Vadot reg-io-width = <4>; 73*c66ec88fSEmmanuel Vadot native-endian; 74*c66ec88fSEmmanuel Vadot }; 75*c66ec88fSEmmanuel Vadot 76*c66ec88fSEmmanuel Vadot gmac0: ethernet@f7470000 { 77*c66ec88fSEmmanuel Vadot compatible = "ezchip,nps-mgt-enet"; 78*c66ec88fSEmmanuel Vadot reg = <0xf7470000 0x1940>; 79*c66ec88fSEmmanuel Vadot interrupts = <7>; 80*c66ec88fSEmmanuel Vadot /* Filled in by U-Boot */ 81*c66ec88fSEmmanuel Vadot mac-address = [ 00 C0 00 F0 04 03 ]; 82*c66ec88fSEmmanuel Vadot }; 83*c66ec88fSEmmanuel Vadot }; 84*c66ec88fSEmmanuel Vadot}; 85