| Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0-only | 
| Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 2 | /* | 
 | 3 |  * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) | 
| Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 4 |  */ | 
 | 5 | /dts-v1/; | 
 | 6 |  | 
| Vineet Gupta | 2e8cd93 | 2016-01-19 16:00:42 +0530 | [diff] [blame] | 7 | /include/ "skeleton_hs.dtsi" | 
| Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 8 |  | 
 | 9 | / { | 
| Alexey Brodkin | 618a9cd | 2016-08-16 07:26:31 +0300 | [diff] [blame] | 10 | 	model = "snps,nsimosci_hs"; | 
| Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 11 | 	compatible = "snps,nsimosci_hs"; | 
| Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 12 | 	#address-cells = <1>; | 
 | 13 | 	#size-cells = <1>; | 
 | 14 | 	interrupt-parent = <&core_intc>; | 
 | 15 |  | 
 | 16 | 	chosen { | 
 | 17 | 		/* this is for console on PGU */ | 
 | 18 | 		/* bootargs = "console=tty0 consoleblank=0"; */ | 
 | 19 | 		/* this is for console on serial */ | 
| Alexey Brodkin | 8ff3afc | 2018-01-18 16:48:47 +0300 | [diff] [blame] | 20 | 		bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug video=640x480-24 print-fatal-signals=1"; | 
| Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 21 | 	}; | 
 | 22 |  | 
 | 23 | 	aliases { | 
 | 24 | 		serial0 = &uart0; | 
 | 25 | 	}; | 
 | 26 |  | 
 | 27 | 	fpga { | 
 | 28 | 		compatible = "simple-bus"; | 
 | 29 | 		#address-cells = <1>; | 
 | 30 | 		#size-cells = <1>; | 
 | 31 |  | 
 | 32 | 		/* child and parent address space 1:1 mapped */ | 
 | 33 | 		ranges; | 
 | 34 |  | 
| Vineet Gupta | b3d6aba | 2016-01-01 18:48:40 +0530 | [diff] [blame] | 35 | 		core_clk: core_clk { | 
 | 36 | 			#clock-cells = <0>; | 
 | 37 | 			compatible = "fixed-clock"; | 
 | 38 | 			clock-frequency = <20000000>; | 
 | 39 | 		}; | 
 | 40 |  | 
| Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 41 | 		core_intc: core-interrupt-controller { | 
 | 42 | 			compatible = "snps,archs-intc"; | 
 | 43 | 			interrupt-controller; | 
 | 44 | 			#interrupt-cells = <1>; | 
 | 45 | 		}; | 
 | 46 |  | 
 | 47 | 		uart0: serial@f0000000 { | 
 | 48 | 			compatible = "ns8250"; | 
 | 49 | 			reg = <0xf0000000 0x2000>; | 
 | 50 | 			interrupts = <24>; | 
 | 51 | 			clock-frequency = <3686400>; | 
 | 52 | 			baud = <115200>; | 
 | 53 | 			reg-shift = <2>; | 
 | 54 | 			reg-io-width = <4>; | 
 | 55 | 			no-loopback-test = <1>; | 
 | 56 | 		}; | 
 | 57 |  | 
| Alexey Brodkin | 830c657 | 2016-06-06 10:56:53 +0300 | [diff] [blame] | 58 | 		pguclk: pguclk { | 
 | 59 | 			#clock-cells = <0>; | 
 | 60 | 			compatible = "fixed-clock"; | 
 | 61 | 			clock-frequency = <25175000>; | 
 | 62 | 		}; | 
 | 63 |  | 
 | 64 | 		pgu@f9000000 { | 
 | 65 | 			compatible = "snps,arcpgu"; | 
| Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 66 | 			reg = <0xf9000000 0x400>; | 
| Alexey Brodkin | 830c657 | 2016-06-06 10:56:53 +0300 | [diff] [blame] | 67 | 			clocks = <&pguclk>; | 
 | 68 | 			clock-names = "pxlclk"; | 
| Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 69 | 		}; | 
 | 70 |  | 
 | 71 | 		ps2: ps2@f9001000 { | 
 | 72 | 			compatible = "snps,arc_ps2"; | 
 | 73 | 			reg = <0xf9000400 0x14>; | 
 | 74 | 			interrupts = <27>; | 
 | 75 | 			interrupt-names = "arc_ps2_irq"; | 
 | 76 | 		}; | 
 | 77 |  | 
 | 78 | 		eth0: ethernet@f0003000 { | 
| Lada Trimasova | df420fd | 2016-03-14 17:11:57 +0300 | [diff] [blame] | 79 | 			compatible = "ezchip,nps-mgt-enet"; | 
| Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 80 | 			reg = <0xf0003000 0x44>; | 
| Lada Trimasova | df420fd | 2016-03-14 17:11:57 +0300 | [diff] [blame] | 81 | 			interrupts = <25>; | 
| Vineet Gupta | a12ebe1 | 2015-03-09 14:30:19 +0530 | [diff] [blame] | 82 | 		}; | 
 | 83 |  | 
 | 84 | 		arcpct0: pct { | 
 | 85 | 			compatible = "snps,archs-pct"; | 
 | 86 | 			#interrupt-cells = <1>; | 
 | 87 | 			interrupts = <20>; | 
 | 88 | 		}; | 
 | 89 | 	}; | 
 | 90 | }; |