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