Ruud Derwig | 2924cd1 | 2014-12-03 15:52:41 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014, 2015 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 | |
| 9 | /* |
| 10 | * Device tree for AXC003 CPU card: |
| 11 | * HS38x2 (Dual Core) with IDU intc (VDK version) |
| 12 | */ |
| 13 | |
Vineet Gupta | 2e8cd93 | 2016-01-19 16:00:42 +0530 | [diff] [blame] | 14 | /include/ "skeleton_hs_idu.dtsi" |
| 15 | |
Ruud Derwig | 2924cd1 | 2014-12-03 15:52:41 +0100 | [diff] [blame] | 16 | / { |
| 17 | compatible = "snps,arc"; |
Ruud Derwig | 2924cd1 | 2014-12-03 15:52:41 +0100 | [diff] [blame] | 18 | #address-cells = <1>; |
| 19 | #size-cells = <1>; |
| 20 | |
| 21 | cpu_card { |
| 22 | compatible = "simple-bus"; |
| 23 | #address-cells = <1>; |
| 24 | #size-cells = <1>; |
| 25 | |
| 26 | ranges = <0x00000000 0xf0000000 0x10000000>; |
| 27 | |
Vineet Gupta | b3d6aba | 2016-01-01 18:48:40 +0530 | [diff] [blame] | 28 | core_clk: core_clk { |
| 29 | #clock-cells = <0>; |
| 30 | compatible = "fixed-clock"; |
| 31 | clock-frequency = <50000000>; |
| 32 | }; |
| 33 | |
Vineet Gupta | 9ba7648 | 2016-01-28 09:57:12 +0530 | [diff] [blame] | 34 | core_intc: archs-intc@cpu { |
Ruud Derwig | 2924cd1 | 2014-12-03 15:52:41 +0100 | [diff] [blame] | 35 | compatible = "snps,archs-intc"; |
| 36 | interrupt-controller; |
| 37 | #interrupt-cells = <1>; |
| 38 | }; |
| 39 | |
| 40 | idu_intc: idu-interrupt-controller { |
| 41 | compatible = "snps,archs-idu-intc"; |
| 42 | interrupt-controller; |
Vineet Gupta | 9ba7648 | 2016-01-28 09:57:12 +0530 | [diff] [blame] | 43 | interrupt-parent = <&core_intc>; |
Yuriy Kolerov | ec69b26 | 2017-02-02 03:13:32 +0300 | [diff] [blame] | 44 | #interrupt-cells = <1>; |
Ruud Derwig | 2924cd1 | 2014-12-03 15:52:41 +0100 | [diff] [blame] | 45 | }; |
| 46 | |
| 47 | debug_uart: dw-apb-uart@0x5000 { |
| 48 | compatible = "snps,dw-apb-uart"; |
| 49 | reg = <0x5000 0x100>; |
| 50 | clock-frequency = <2403200>; |
| 51 | interrupt-parent = <&idu_intc>; |
Yuriy Kolerov | ec69b26 | 2017-02-02 03:13:32 +0300 | [diff] [blame] | 52 | interrupts = <2>; |
Ruud Derwig | 2924cd1 | 2014-12-03 15:52:41 +0100 | [diff] [blame] | 53 | baud = <115200>; |
| 54 | reg-shift = <2>; |
| 55 | reg-io-width = <4>; |
| 56 | }; |
| 57 | |
| 58 | }; |
| 59 | |
| 60 | mb_intc: dw-apb-ictl@0xe0012000 { |
| 61 | #interrupt-cells = <1>; |
| 62 | compatible = "snps,dw-apb-ictl"; |
| 63 | reg = < 0xe0012000 0x200 >; |
| 64 | interrupt-controller; |
| 65 | interrupt-parent = <&idu_intc>; |
Yuriy Kolerov | ec69b26 | 2017-02-02 03:13:32 +0300 | [diff] [blame] | 66 | interrupts = <0>; |
Ruud Derwig | 2924cd1 | 2014-12-03 15:52:41 +0100 | [diff] [blame] | 67 | }; |
| 68 | |
| 69 | memory { |
| 70 | #address-cells = <1>; |
| 71 | #size-cells = <1>; |
| 72 | ranges = <0x00000000 0x80000000 0x40000000>; |
| 73 | device_type = "memory"; |
Vineet Gupta | f759ee5 | 2015-01-23 18:10:26 +0530 | [diff] [blame] | 74 | reg = <0x80000000 0x20000000>; /* 512MiB */ |
Ruud Derwig | 2924cd1 | 2014-12-03 15:52:41 +0100 | [diff] [blame] | 75 | }; |
| 76 | }; |