12924cd18SRuud Derwig/* 22924cd18SRuud Derwig * Copyright (C) 2014, 2015 Synopsys, Inc. (www.synopsys.com) 32924cd18SRuud Derwig * 42924cd18SRuud Derwig * This program is free software; you can redistribute it and/or modify 52924cd18SRuud Derwig * it under the terms of the GNU General Public License version 2 as 62924cd18SRuud Derwig * published by the Free Software Foundation. 72924cd18SRuud Derwig */ 82924cd18SRuud Derwig 92924cd18SRuud Derwig/* 102924cd18SRuud Derwig * Device tree for AXC003 CPU card: 112924cd18SRuud Derwig * HS38x2 (Dual Core) with IDU intc (VDK version) 122924cd18SRuud Derwig */ 132924cd18SRuud Derwig 142e8cd938SVineet Gupta/include/ "skeleton_hs_idu.dtsi" 152e8cd938SVineet Gupta 162924cd18SRuud Derwig/ { 172924cd18SRuud Derwig compatible = "snps,arc"; 182924cd18SRuud Derwig clock-frequency = <50000000>; 192924cd18SRuud Derwig #address-cells = <1>; 202924cd18SRuud Derwig #size-cells = <1>; 212924cd18SRuud Derwig 222924cd18SRuud Derwig cpu_card { 232924cd18SRuud Derwig compatible = "simple-bus"; 242924cd18SRuud Derwig #address-cells = <1>; 252924cd18SRuud Derwig #size-cells = <1>; 262924cd18SRuud Derwig 272924cd18SRuud Derwig ranges = <0x00000000 0xf0000000 0x10000000>; 282924cd18SRuud Derwig 29*9ba7648cSVineet Gupta core_intc: archs-intc@cpu { 302924cd18SRuud Derwig compatible = "snps,archs-intc"; 312924cd18SRuud Derwig interrupt-controller; 322924cd18SRuud Derwig #interrupt-cells = <1>; 332924cd18SRuud Derwig }; 342924cd18SRuud Derwig 352924cd18SRuud Derwig idu_intc: idu-interrupt-controller { 362924cd18SRuud Derwig compatible = "snps,archs-idu-intc"; 372924cd18SRuud Derwig interrupt-controller; 38*9ba7648cSVineet Gupta interrupt-parent = <&core_intc>; 392924cd18SRuud Derwig 402924cd18SRuud Derwig /* 412924cd18SRuud Derwig * <hwirq distribution> 422924cd18SRuud Derwig * distribution: 0=RR; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3 432924cd18SRuud Derwig */ 442924cd18SRuud Derwig #interrupt-cells = <2>; 452924cd18SRuud Derwig 462924cd18SRuud Derwig interrupts = <24 25 26 27>; 472924cd18SRuud Derwig }; 482924cd18SRuud Derwig 492924cd18SRuud Derwig debug_uart: dw-apb-uart@0x5000 { 502924cd18SRuud Derwig compatible = "snps,dw-apb-uart"; 512924cd18SRuud Derwig reg = <0x5000 0x100>; 522924cd18SRuud Derwig clock-frequency = <2403200>; 532924cd18SRuud Derwig interrupt-parent = <&idu_intc>; 542924cd18SRuud Derwig interrupts = <2 0>; 552924cd18SRuud Derwig baud = <115200>; 562924cd18SRuud Derwig reg-shift = <2>; 572924cd18SRuud Derwig reg-io-width = <4>; 582924cd18SRuud Derwig }; 592924cd18SRuud Derwig 602924cd18SRuud Derwig }; 612924cd18SRuud Derwig 622924cd18SRuud Derwig mb_intc: dw-apb-ictl@0xe0012000 { 632924cd18SRuud Derwig #interrupt-cells = <1>; 642924cd18SRuud Derwig compatible = "snps,dw-apb-ictl"; 652924cd18SRuud Derwig reg = < 0xe0012000 0x200 >; 662924cd18SRuud Derwig interrupt-controller; 672924cd18SRuud Derwig interrupt-parent = <&idu_intc>; 682924cd18SRuud Derwig interrupts = < 0 0 >; 692924cd18SRuud Derwig }; 702924cd18SRuud Derwig 712924cd18SRuud Derwig memory { 722924cd18SRuud Derwig #address-cells = <1>; 732924cd18SRuud Derwig #size-cells = <1>; 742924cd18SRuud Derwig ranges = <0x00000000 0x80000000 0x40000000>; 752924cd18SRuud Derwig device_type = "memory"; 76f759ee57SVineet Gupta reg = <0x80000000 0x20000000>; /* 512MiB */ 772924cd18SRuud Derwig }; 782924cd18SRuud Derwig}; 79