14988cc56SVineet Gupta/* 24988cc56SVineet Gupta * Copyright (C) 2016-2014 Synopsys, Inc. (www.synopsys.com) 34988cc56SVineet Gupta * 44988cc56SVineet Gupta * This program is free software; you can redistribute it and/or modify 54988cc56SVineet Gupta * it under the terms of the GNU General Public License version 2 as 64988cc56SVineet Gupta * published by the Free Software Foundation. 74988cc56SVineet Gupta */ 84988cc56SVineet Gupta/dts-v1/; 94988cc56SVineet Gupta 104988cc56SVineet Gupta/include/ "skeleton_hs_idu.dtsi" 114988cc56SVineet Gupta 124988cc56SVineet Gupta/ { 134988cc56SVineet Gupta model = "snps,zebu_hs-smp"; 144988cc56SVineet Gupta compatible = "snps,zebu_hs"; 154988cc56SVineet Gupta #address-cells = <1>; 164988cc56SVineet Gupta #size-cells = <1>; 174988cc56SVineet Gupta interrupt-parent = <&core_intc>; 184988cc56SVineet Gupta 194988cc56SVineet Gupta memory { 204988cc56SVineet Gupta device_type = "memory"; 214988cc56SVineet Gupta reg = <0x80000000 0x20000000>; /* 512 */ 224988cc56SVineet Gupta }; 234988cc56SVineet Gupta 244988cc56SVineet Gupta chosen { 254988cc56SVineet Gupta bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=ttyS0,115200n8 debug"; 264988cc56SVineet Gupta }; 274988cc56SVineet Gupta 284988cc56SVineet Gupta aliases { 294988cc56SVineet Gupta serial0 = &uart0; 304988cc56SVineet Gupta }; 314988cc56SVineet Gupta 324988cc56SVineet Gupta fpga { 334988cc56SVineet Gupta compatible = "simple-bus"; 344988cc56SVineet Gupta #address-cells = <1>; 354988cc56SVineet Gupta #size-cells = <1>; 364988cc56SVineet Gupta 374988cc56SVineet Gupta /* child and parent address space 1:1 mapped */ 384988cc56SVineet Gupta ranges; 394988cc56SVineet Gupta 404988cc56SVineet Gupta core_clk: core_clk { 414988cc56SVineet Gupta #clock-cells = <0>; 424988cc56SVineet Gupta compatible = "fixed-clock"; 434988cc56SVineet Gupta clock-frequency = <50000000>; /* 50 MHZ */ 444988cc56SVineet Gupta }; 454988cc56SVineet Gupta 464988cc56SVineet Gupta core_intc: interrupt-controller { 474988cc56SVineet Gupta compatible = "snps,archs-intc"; 484988cc56SVineet Gupta interrupt-controller; 494988cc56SVineet Gupta #interrupt-cells = <1>; 504988cc56SVineet Gupta/* interrupts = <16 17 18 19 20 21 22 23 24 25>; */ 514988cc56SVineet Gupta }; 524988cc56SVineet Gupta 534988cc56SVineet Gupta idu_intc: idu-interrupt-controller { 544988cc56SVineet Gupta compatible = "snps,archs-idu-intc"; 554988cc56SVineet Gupta interrupt-controller; 564988cc56SVineet Gupta interrupt-parent = <&core_intc>; 574988cc56SVineet Gupta /* <hwirq distribution> 584988cc56SVineet Gupta distribution: 0=RR; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3 */ 594988cc56SVineet Gupta #interrupt-cells = <2>; 604988cc56SVineet Gupta interrupts = <24 25 26 27 28 29 30 31>; 614988cc56SVineet Gupta 624988cc56SVineet Gupta }; 634988cc56SVineet Gupta 644988cc56SVineet Gupta uart0: serial@f0000000 { 654988cc56SVineet Gupta /* compatible = "ns8250"; Doesn't use FIFOs */ 664988cc56SVineet Gupta compatible = "ns16550a"; 674988cc56SVineet Gupta reg = <0xf0000000 0x2000>; 684988cc56SVineet Gupta interrupt-parent = <&idu_intc>; 694988cc56SVineet Gupta /* interrupts = <0 1>; DEST=1*/ 704988cc56SVineet Gupta /* interrupts = <0 2>; DEST=2*/ 714988cc56SVineet Gupta interrupts = <0 0>; /* RR*/ 724988cc56SVineet Gupta clock-frequency = <50000000>; 734988cc56SVineet Gupta baud = <115200>; 744988cc56SVineet Gupta reg-shift = <2>; 754988cc56SVineet Gupta reg-io-width = <4>; 764988cc56SVineet Gupta no-loopback-test = <1>; 774988cc56SVineet Gupta }; 784988cc56SVineet Gupta 794988cc56SVineet Gupta arcpct0: pct { 804988cc56SVineet Gupta compatible = "snps,archs-pct"; 814988cc56SVineet Gupta #interrupt-cells = <1>; 824988cc56SVineet Gupta interrupts = <20>; 834988cc56SVineet Gupta }; 844988cc56SVineet Gupta }; 854988cc56SVineet Gupta}; 86