John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 1 | /* |
Soren Brinkmann | f7b1e9b | 2014-05-05 10:16:08 -0700 | [diff] [blame^] | 2 | * Copyright (C) 2011 - 2014 Xilinx |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 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 | |
Soren Brinkmann | 41e4cdb | 2013-11-26 17:04:49 -0800 | [diff] [blame] | 18 | cpus { |
| 19 | #address-cells = <1>; |
| 20 | #size-cells = <0>; |
| 21 | |
| 22 | cpu@0 { |
| 23 | compatible = "arm,cortex-a9"; |
| 24 | device_type = "cpu"; |
| 25 | reg = <0>; |
| 26 | clocks = <&clkc 3>; |
Soren Brinkmann | b2bf5d4 | 2014-04-04 16:14:12 -0700 | [diff] [blame] | 27 | clock-latency = <1000>; |
Soren Brinkmann | cd32529 | 2014-02-19 15:14:44 -0800 | [diff] [blame] | 28 | operating-points = < |
| 29 | /* kHz uV */ |
| 30 | 666667 1000000 |
| 31 | 333334 1000000 |
| 32 | 222223 1000000 |
| 33 | >; |
Soren Brinkmann | 41e4cdb | 2013-11-26 17:04:49 -0800 | [diff] [blame] | 34 | }; |
| 35 | |
| 36 | cpu@1 { |
| 37 | compatible = "arm,cortex-a9"; |
| 38 | device_type = "cpu"; |
| 39 | reg = <1>; |
| 40 | clocks = <&clkc 3>; |
| 41 | }; |
| 42 | }; |
| 43 | |
Michal Simek | 268a820 | 2013-03-20 13:37:01 +0100 | [diff] [blame] | 44 | pmu { |
| 45 | compatible = "arm,cortex-a9-pmu"; |
| 46 | interrupts = <0 5 4>, <0 6 4>; |
| 47 | interrupt-parent = <&intc>; |
| 48 | reg = < 0xf8891000 0x1000 0xf8893000 0x1000 >; |
| 49 | }; |
| 50 | |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 51 | amba { |
| 52 | compatible = "simple-bus"; |
| 53 | #address-cells = <1>; |
| 54 | #size-cells = <1>; |
Josh Cartwright | e06f1a9 | 2012-10-31 12:24:48 -0600 | [diff] [blame] | 55 | interrupt-parent = <&intc>; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 56 | ranges; |
| 57 | |
Soren Brinkmann | f7b1e9b | 2014-05-05 10:16:08 -0700 | [diff] [blame^] | 58 | i2c0: i2c@e0004000 { |
Soren Brinkmann | 0f6faa3 | 2014-04-04 14:27:56 -0700 | [diff] [blame] | 59 | compatible = "cdns,i2c-r1p10"; |
| 60 | status = "disabled"; |
| 61 | clocks = <&clkc 38>; |
| 62 | interrupt-parent = <&intc>; |
| 63 | interrupts = <0 25 4>; |
| 64 | reg = <0xe0004000 0x1000>; |
| 65 | #address-cells = <1>; |
| 66 | #size-cells = <0>; |
| 67 | }; |
| 68 | |
Soren Brinkmann | f7b1e9b | 2014-05-05 10:16:08 -0700 | [diff] [blame^] | 69 | i2c1: i2c@e0005000 { |
Soren Brinkmann | 0f6faa3 | 2014-04-04 14:27:56 -0700 | [diff] [blame] | 70 | compatible = "cdns,i2c-r1p10"; |
| 71 | status = "disabled"; |
| 72 | clocks = <&clkc 39>; |
| 73 | interrupt-parent = <&intc>; |
| 74 | interrupts = <0 48 4>; |
| 75 | reg = <0xe0005000 0x1000>; |
| 76 | #address-cells = <1>; |
| 77 | #size-cells = <0>; |
| 78 | }; |
| 79 | |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 80 | intc: interrupt-controller@f8f01000 { |
Josh Cartwright | f447ed2 | 2012-10-17 19:46:49 -0500 | [diff] [blame] | 81 | compatible = "arm,cortex-a9-gic"; |
| 82 | #interrupt-cells = <3>; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 83 | interrupt-controller; |
Josh Cartwright | f447ed2 | 2012-10-17 19:46:49 -0500 | [diff] [blame] | 84 | reg = <0xF8F01000 0x1000>, |
| 85 | <0xF8F00100 0x100>; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 86 | }; |
| 87 | |
Josh Cartwright | 0fcfdbc | 2012-10-23 17:34:22 -0500 | [diff] [blame] | 88 | L2: cache-controller { |
| 89 | compatible = "arm,pl310-cache"; |
| 90 | reg = <0xF8F02000 0x1000>; |
Soren Brinkmann | 39c41df9 | 2013-07-31 16:24:59 -0700 | [diff] [blame] | 91 | arm,data-latency = <3 2 2>; |
| 92 | arm,tag-latency = <2 2 2>; |
Josh Cartwright | 0fcfdbc | 2012-10-23 17:34:22 -0500 | [diff] [blame] | 93 | cache-unified; |
| 94 | cache-level = <2>; |
| 95 | }; |
| 96 | |
Soren Brinkmann | f7b1e9b | 2014-05-05 10:16:08 -0700 | [diff] [blame^] | 97 | uart0: serial@e0000000 { |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 98 | compatible = "xlnx,xuartps"; |
Soren Brinkmann | ec11ebc | 2013-06-13 09:37:16 -0700 | [diff] [blame] | 99 | status = "disabled"; |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 100 | clocks = <&clkc 23>, <&clkc 40>; |
| 101 | clock-names = "ref_clk", "aper_clk"; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 102 | reg = <0xE0000000 0x1000>; |
Josh Cartwright | f447ed2 | 2012-10-17 19:46:49 -0500 | [diff] [blame] | 103 | interrupts = <0 27 4>; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 104 | }; |
Josh Cartwright | 78d6785 | 2012-10-31 13:45:17 -0600 | [diff] [blame] | 105 | |
Soren Brinkmann | f7b1e9b | 2014-05-05 10:16:08 -0700 | [diff] [blame^] | 106 | uart1: serial@e0001000 { |
Josh Cartwright | 78d6785 | 2012-10-31 13:45:17 -0600 | [diff] [blame] | 107 | compatible = "xlnx,xuartps"; |
Soren Brinkmann | ec11ebc | 2013-06-13 09:37:16 -0700 | [diff] [blame] | 108 | status = "disabled"; |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 109 | clocks = <&clkc 24>, <&clkc 41>; |
| 110 | clock-names = "ref_clk", "aper_clk"; |
Josh Cartwright | 78d6785 | 2012-10-31 13:45:17 -0600 | [diff] [blame] | 111 | reg = <0xE0001000 0x1000>; |
| 112 | interrupts = <0 50 4>; |
Josh Cartwright | 78d6785 | 2012-10-31 13:45:17 -0600 | [diff] [blame] | 113 | }; |
Josh Cartwright | 0f586fb | 2012-11-08 12:04:26 -0600 | [diff] [blame] | 114 | |
Steffen Trumtrar | 982264c | 2013-12-11 09:29:49 -0800 | [diff] [blame] | 115 | gem0: ethernet@e000b000 { |
| 116 | compatible = "cdns,gem"; |
| 117 | reg = <0xe000b000 0x4000>; |
| 118 | status = "disabled"; |
| 119 | interrupts = <0 22 4>; |
| 120 | clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>; |
| 121 | clock-names = "pclk", "hclk", "tx_clk"; |
| 122 | }; |
| 123 | |
| 124 | gem1: ethernet@e000c000 { |
| 125 | compatible = "cdns,gem"; |
| 126 | reg = <0xe000c000 0x4000>; |
| 127 | status = "disabled"; |
| 128 | interrupts = <0 45 4>; |
| 129 | clocks = <&clkc 31>, <&clkc 31>, <&clkc 14>; |
| 130 | clock-names = "pclk", "hclk", "tx_clk"; |
| 131 | }; |
| 132 | |
Soren Brinkmann | f7b1e9b | 2014-05-05 10:16:08 -0700 | [diff] [blame^] | 133 | sdhci0: sdhci@e0100000 { |
Soren Brinkmann | 3f7c730 | 2013-12-02 10:02:37 -0800 | [diff] [blame] | 134 | compatible = "arasan,sdhci-8.9a"; |
| 135 | status = "disabled"; |
| 136 | clock-names = "clk_xin", "clk_ahb"; |
| 137 | clocks = <&clkc 21>, <&clkc 32>; |
| 138 | interrupt-parent = <&intc>; |
| 139 | interrupts = <0 24 4>; |
| 140 | reg = <0xe0100000 0x1000>; |
| 141 | } ; |
| 142 | |
Soren Brinkmann | f7b1e9b | 2014-05-05 10:16:08 -0700 | [diff] [blame^] | 143 | sdhci1: sdhci@e0101000 { |
Soren Brinkmann | 3f7c730 | 2013-12-02 10:02:37 -0800 | [diff] [blame] | 144 | compatible = "arasan,sdhci-8.9a"; |
| 145 | status = "disabled"; |
| 146 | clock-names = "clk_xin", "clk_ahb"; |
| 147 | clocks = <&clkc 22>, <&clkc 33>; |
| 148 | interrupt-parent = <&intc>; |
| 149 | interrupts = <0 47 4>; |
| 150 | reg = <0xe0101000 0x1000>; |
| 151 | } ; |
| 152 | |
Josh Cartwright | 0f586fb | 2012-11-08 12:04:26 -0600 | [diff] [blame] | 153 | slcr: slcr@f8000000 { |
Michal Simek | b0504e3 | 2013-11-18 16:48:19 +0100 | [diff] [blame] | 154 | #address-cells = <1>; |
| 155 | #size-cells = <1>; |
Michal Simek | 016f4dc | 2013-11-26 15:41:31 +0100 | [diff] [blame] | 156 | compatible = "xlnx,zynq-slcr", "syscon"; |
Josh Cartwright | 0f586fb | 2012-11-08 12:04:26 -0600 | [diff] [blame] | 157 | reg = <0xF8000000 0x1000>; |
Michal Simek | b0504e3 | 2013-11-18 16:48:19 +0100 | [diff] [blame] | 158 | ranges; |
| 159 | clkc: clkc@100 { |
| 160 | #clock-cells = <1>; |
| 161 | compatible = "xlnx,ps7-clkc"; |
| 162 | ps-clk-frequency = <33333333>; |
| 163 | fclk-enable = <0>; |
| 164 | clock-output-names = "armpll", "ddrpll", "iopll", "cpu_6or4x", |
| 165 | "cpu_3or2x", "cpu_2x", "cpu_1x", "ddr2x", "ddr3x", |
| 166 | "dci", "lqspi", "smc", "pcap", "gem0", "gem1", |
| 167 | "fclk0", "fclk1", "fclk2", "fclk3", "can0", "can1", |
| 168 | "sdio0", "sdio1", "uart0", "uart1", "spi0", "spi1", |
| 169 | "dma", "usb0_aper", "usb1_aper", "gem0_aper", |
| 170 | "gem1_aper", "sdio0_aper", "sdio1_aper", |
| 171 | "spi0_aper", "spi1_aper", "can0_aper", "can1_aper", |
| 172 | "i2c0_aper", "i2c1_aper", "uart0_aper", "uart1_aper", |
| 173 | "gpio_aper", "lqspi_aper", "smc_aper", "swdt", |
| 174 | "dbg_trc", "dbg_apb"; |
| 175 | reg = <0x100 0x100>; |
Josh Cartwright | 0f586fb | 2012-11-08 12:04:26 -0600 | [diff] [blame] | 176 | }; |
| 177 | }; |
Josh Cartwright | 91dc985 | 2012-10-31 13:56:14 -0600 | [diff] [blame] | 178 | |
Soren Brinkmann | fa94bd5 | 2013-09-18 11:48:38 -0700 | [diff] [blame] | 179 | global_timer: timer@f8f00200 { |
| 180 | compatible = "arm,cortex-a9-global-timer"; |
| 181 | reg = <0xf8f00200 0x20>; |
| 182 | interrupts = <1 11 0x301>; |
| 183 | interrupt-parent = <&intc>; |
| 184 | clocks = <&clkc 4>; |
| 185 | }; |
| 186 | |
Soren Brinkmann | f7b1e9b | 2014-05-05 10:16:08 -0700 | [diff] [blame^] | 187 | ttc0: timer@f8001000 { |
Michal Simek | e932900 | 2013-03-20 10:15:28 +0100 | [diff] [blame] | 188 | interrupt-parent = <&intc>; |
Soren Brinkmann | f7b1e9b | 2014-05-05 10:16:08 -0700 | [diff] [blame^] | 189 | interrupts = <0 10 4>, <0 11 4>, <0 12 4>; |
Michal Simek | e932900 | 2013-03-20 10:15:28 +0100 | [diff] [blame] | 190 | compatible = "cdns,ttc"; |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 191 | clocks = <&clkc 6>; |
Josh Cartwright | 91dc985 | 2012-10-31 13:56:14 -0600 | [diff] [blame] | 192 | reg = <0xF8001000 0x1000>; |
Josh Cartwright | 91dc985 | 2012-10-31 13:56:14 -0600 | [diff] [blame] | 193 | }; |
| 194 | |
Soren Brinkmann | f7b1e9b | 2014-05-05 10:16:08 -0700 | [diff] [blame^] | 195 | ttc1: timer@f8002000 { |
Michal Simek | e932900 | 2013-03-20 10:15:28 +0100 | [diff] [blame] | 196 | interrupt-parent = <&intc>; |
Soren Brinkmann | f7b1e9b | 2014-05-05 10:16:08 -0700 | [diff] [blame^] | 197 | interrupts = <0 37 4>, <0 38 4>, <0 39 4>; |
Michal Simek | e932900 | 2013-03-20 10:15:28 +0100 | [diff] [blame] | 198 | compatible = "cdns,ttc"; |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 199 | clocks = <&clkc 6>; |
Josh Cartwright | 91dc985 | 2012-10-31 13:56:14 -0600 | [diff] [blame] | 200 | reg = <0xF8002000 0x1000>; |
Josh Cartwright | 91dc985 | 2012-10-31 13:56:14 -0600 | [diff] [blame] | 201 | }; |
Soren Brinkmann | f7b1e9b | 2014-05-05 10:16:08 -0700 | [diff] [blame^] | 202 | |
| 203 | scutimer: timer@f8f00600 { |
Michal Simek | 2f34e0a | 2013-03-27 13:36:39 +0100 | [diff] [blame] | 204 | interrupt-parent = <&intc>; |
Soren Brinkmann | f7b1e9b | 2014-05-05 10:16:08 -0700 | [diff] [blame^] | 205 | interrupts = <1 13 0x301>; |
Michal Simek | 2f34e0a | 2013-03-27 13:36:39 +0100 | [diff] [blame] | 206 | compatible = "arm,cortex-a9-twd-timer"; |
Soren Brinkmann | f7b1e9b | 2014-05-05 10:16:08 -0700 | [diff] [blame^] | 207 | reg = <0xf8f00600 0x20>; |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 208 | clocks = <&clkc 4>; |
Michal Simek | 2f34e0a | 2013-03-27 13:36:39 +0100 | [diff] [blame] | 209 | } ; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 210 | }; |
| 211 | }; |