John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 Xilinx |
| 3 | * |
| 4 | * This software is licensed under the terms of the GNU General Public |
| 5 | * License version 2, as published by the Free Software Foundation, and |
| 6 | * may be copied, distributed, and modified under those terms. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | */ |
Josh Cartwright | e06f1a9 | 2012-10-31 12:24:48 -0600 | [diff] [blame] | 13 | /include/ "skeleton.dtsi" |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 14 | |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 15 | / { |
Josh Cartwright | e06f1a9 | 2012-10-31 12:24:48 -0600 | [diff] [blame] | 16 | compatible = "xlnx,zynq-7000"; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 17 | |
| 18 | amba { |
| 19 | compatible = "simple-bus"; |
| 20 | #address-cells = <1>; |
| 21 | #size-cells = <1>; |
Josh Cartwright | e06f1a9 | 2012-10-31 12:24:48 -0600 | [diff] [blame] | 22 | interrupt-parent = <&intc>; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 23 | ranges; |
| 24 | |
| 25 | intc: interrupt-controller@f8f01000 { |
Josh Cartwright | f447ed2 | 2012-10-17 19:46:49 -0500 | [diff] [blame] | 26 | compatible = "arm,cortex-a9-gic"; |
| 27 | #interrupt-cells = <3>; |
| 28 | #address-cells = <1>; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 29 | interrupt-controller; |
Josh Cartwright | f447ed2 | 2012-10-17 19:46:49 -0500 | [diff] [blame] | 30 | reg = <0xF8F01000 0x1000>, |
| 31 | <0xF8F00100 0x100>; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 32 | }; |
| 33 | |
Josh Cartwright | 0fcfdbc | 2012-10-23 17:34:22 -0500 | [diff] [blame] | 34 | L2: cache-controller { |
| 35 | compatible = "arm,pl310-cache"; |
| 36 | reg = <0xF8F02000 0x1000>; |
| 37 | arm,data-latency = <2 3 2>; |
| 38 | arm,tag-latency = <2 3 2>; |
| 39 | cache-unified; |
| 40 | cache-level = <2>; |
| 41 | }; |
| 42 | |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 43 | uart0: uart@e0000000 { |
| 44 | compatible = "xlnx,xuartps"; |
| 45 | reg = <0xE0000000 0x1000>; |
Josh Cartwright | f447ed2 | 2012-10-17 19:46:49 -0500 | [diff] [blame] | 46 | interrupts = <0 27 4>; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 47 | clock = <50000000>; |
| 48 | }; |
Josh Cartwright | 78d6785 | 2012-10-31 13:45:17 -0600 | [diff] [blame] | 49 | |
| 50 | uart1: uart@e0001000 { |
| 51 | compatible = "xlnx,xuartps"; |
| 52 | reg = <0xE0001000 0x1000>; |
| 53 | interrupts = <0 50 4>; |
| 54 | clock = <50000000>; |
| 55 | }; |
Josh Cartwright | 0f586fb | 2012-11-08 12:04:26 -0600 | [diff] [blame^] | 56 | |
| 57 | slcr: slcr@f8000000 { |
| 58 | compatible = "xlnx,zynq-slcr"; |
| 59 | reg = <0xF8000000 0x1000>; |
| 60 | |
| 61 | clocks { |
| 62 | #address-cells = <1>; |
| 63 | #size-cells = <0>; |
| 64 | |
| 65 | ps_clk: ps_clk { |
| 66 | #clock-cells = <0>; |
| 67 | compatible = "fixed-clock"; |
| 68 | /* clock-frequency set in board-specific file */ |
| 69 | clock-output-names = "ps_clk"; |
| 70 | }; |
| 71 | armpll: armpll { |
| 72 | #clock-cells = <0>; |
| 73 | compatible = "xlnx,zynq-pll"; |
| 74 | clocks = <&ps_clk>; |
| 75 | reg = <0x100 0x110>; |
| 76 | clock-output-names = "armpll"; |
| 77 | }; |
| 78 | ddrpll: ddrpll { |
| 79 | #clock-cells = <0>; |
| 80 | compatible = "xlnx,zynq-pll"; |
| 81 | clocks = <&ps_clk>; |
| 82 | reg = <0x104 0x114>; |
| 83 | clock-output-names = "ddrpll"; |
| 84 | }; |
| 85 | iopll: iopll { |
| 86 | #clock-cells = <0>; |
| 87 | compatible = "xlnx,zynq-pll"; |
| 88 | clocks = <&ps_clk>; |
| 89 | reg = <0x108 0x118>; |
| 90 | clock-output-names = "iopll"; |
| 91 | }; |
| 92 | uart_clk: uart_clk { |
| 93 | #clock-cells = <1>; |
| 94 | compatible = "xlnx,zynq-periph-clock"; |
| 95 | clocks = <&iopll &armpll &ddrpll>; |
| 96 | reg = <0x154>; |
| 97 | clock-output-names = "uart0_ref_clk", |
| 98 | "uart1_ref_clk"; |
| 99 | }; |
| 100 | cpu_clk: cpu_clk { |
| 101 | #clock-cells = <1>; |
| 102 | compatible = "xlnx,zynq-cpu-clock"; |
| 103 | clocks = <&iopll &armpll &ddrpll>; |
| 104 | reg = <0x120 0x1C4>; |
| 105 | clock-output-names = "cpu_6x4x", |
| 106 | "cpu_3x2x", |
| 107 | "cpu_2x", |
| 108 | "cpu_1x"; |
| 109 | }; |
| 110 | }; |
| 111 | }; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 112 | }; |
| 113 | }; |