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 | |
Michal Simek | 268a820 | 2013-03-20 13:37:01 +0100 | [diff] [blame] | 18 | pmu { |
| 19 | compatible = "arm,cortex-a9-pmu"; |
| 20 | interrupts = <0 5 4>, <0 6 4>; |
| 21 | interrupt-parent = <&intc>; |
| 22 | reg = < 0xf8891000 0x1000 0xf8893000 0x1000 >; |
| 23 | }; |
| 24 | |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 25 | amba { |
| 26 | compatible = "simple-bus"; |
| 27 | #address-cells = <1>; |
| 28 | #size-cells = <1>; |
Josh Cartwright | e06f1a9 | 2012-10-31 12:24:48 -0600 | [diff] [blame] | 29 | interrupt-parent = <&intc>; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 30 | ranges; |
| 31 | |
| 32 | intc: interrupt-controller@f8f01000 { |
Josh Cartwright | f447ed2 | 2012-10-17 19:46:49 -0500 | [diff] [blame] | 33 | compatible = "arm,cortex-a9-gic"; |
| 34 | #interrupt-cells = <3>; |
| 35 | #address-cells = <1>; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 36 | interrupt-controller; |
Josh Cartwright | f447ed2 | 2012-10-17 19:46:49 -0500 | [diff] [blame] | 37 | reg = <0xF8F01000 0x1000>, |
| 38 | <0xF8F00100 0x100>; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 39 | }; |
| 40 | |
Josh Cartwright | 0fcfdbc | 2012-10-23 17:34:22 -0500 | [diff] [blame] | 41 | L2: cache-controller { |
| 42 | compatible = "arm,pl310-cache"; |
| 43 | reg = <0xF8F02000 0x1000>; |
Soren Brinkmann | 39c41df9 | 2013-07-31 16:24:59 -0700 | [diff] [blame] | 44 | arm,data-latency = <3 2 2>; |
| 45 | arm,tag-latency = <2 2 2>; |
Josh Cartwright | 0fcfdbc | 2012-10-23 17:34:22 -0500 | [diff] [blame] | 46 | cache-unified; |
| 47 | cache-level = <2>; |
| 48 | }; |
| 49 | |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 50 | uart0: uart@e0000000 { |
| 51 | compatible = "xlnx,xuartps"; |
Soren Brinkmann | ec11ebc | 2013-06-13 09:37:16 -0700 | [diff] [blame] | 52 | status = "disabled"; |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 53 | clocks = <&clkc 23>, <&clkc 40>; |
| 54 | clock-names = "ref_clk", "aper_clk"; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 55 | reg = <0xE0000000 0x1000>; |
Josh Cartwright | f447ed2 | 2012-10-17 19:46:49 -0500 | [diff] [blame] | 56 | interrupts = <0 27 4>; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 57 | }; |
Josh Cartwright | 78d6785 | 2012-10-31 13:45:17 -0600 | [diff] [blame] | 58 | |
| 59 | uart1: uart@e0001000 { |
| 60 | compatible = "xlnx,xuartps"; |
Soren Brinkmann | ec11ebc | 2013-06-13 09:37:16 -0700 | [diff] [blame] | 61 | status = "disabled"; |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 62 | clocks = <&clkc 24>, <&clkc 41>; |
| 63 | clock-names = "ref_clk", "aper_clk"; |
Josh Cartwright | 78d6785 | 2012-10-31 13:45:17 -0600 | [diff] [blame] | 64 | reg = <0xE0001000 0x1000>; |
| 65 | interrupts = <0 50 4>; |
Josh Cartwright | 78d6785 | 2012-10-31 13:45:17 -0600 | [diff] [blame] | 66 | }; |
Josh Cartwright | 0f586fb | 2012-11-08 12:04:26 -0600 | [diff] [blame] | 67 | |
| 68 | slcr: slcr@f8000000 { |
| 69 | compatible = "xlnx,zynq-slcr"; |
| 70 | reg = <0xF8000000 0x1000>; |
| 71 | |
| 72 | clocks { |
| 73 | #address-cells = <1>; |
| 74 | #size-cells = <0>; |
| 75 | |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 76 | clkc: clkc { |
Josh Cartwright | 0f586fb | 2012-11-08 12:04:26 -0600 | [diff] [blame] | 77 | #clock-cells = <1>; |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 78 | compatible = "xlnx,ps7-clkc"; |
| 79 | ps-clk-frequency = <33333333>; |
| 80 | clock-output-names = "armpll", "ddrpll", "iopll", "cpu_6or4x", |
| 81 | "cpu_3or2x", "cpu_2x", "cpu_1x", "ddr2x", "ddr3x", |
| 82 | "dci", "lqspi", "smc", "pcap", "gem0", "gem1", |
| 83 | "fclk0", "fclk1", "fclk2", "fclk3", "can0", "can1", |
| 84 | "sdio0", "sdio1", "uart0", "uart1", "spi0", "spi1", |
| 85 | "dma", "usb0_aper", "usb1_aper", "gem0_aper", |
| 86 | "gem1_aper", "sdio0_aper", "sdio1_aper", |
| 87 | "spi0_aper", "spi1_aper", "can0_aper", "can1_aper", |
| 88 | "i2c0_aper", "i2c1_aper", "uart0_aper", "uart1_aper", |
| 89 | "gpio_aper", "lqspi_aper", "smc_aper", "swdt", |
| 90 | "dbg_trc", "dbg_apb"; |
Josh Cartwright | 0f586fb | 2012-11-08 12:04:26 -0600 | [diff] [blame] | 91 | }; |
| 92 | }; |
| 93 | }; |
Josh Cartwright | 91dc985 | 2012-10-31 13:56:14 -0600 | [diff] [blame] | 94 | |
| 95 | ttc0: ttc0@f8001000 { |
Michal Simek | e932900 | 2013-03-20 10:15:28 +0100 | [diff] [blame] | 96 | interrupt-parent = <&intc>; |
| 97 | interrupts = < 0 10 4 0 11 4 0 12 4 >; |
| 98 | compatible = "cdns,ttc"; |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 99 | clocks = <&clkc 6>; |
Josh Cartwright | 91dc985 | 2012-10-31 13:56:14 -0600 | [diff] [blame] | 100 | reg = <0xF8001000 0x1000>; |
Josh Cartwright | 91dc985 | 2012-10-31 13:56:14 -0600 | [diff] [blame] | 101 | clock-ranges; |
Josh Cartwright | 91dc985 | 2012-10-31 13:56:14 -0600 | [diff] [blame] | 102 | }; |
| 103 | |
| 104 | ttc1: ttc1@f8002000 { |
Michal Simek | e932900 | 2013-03-20 10:15:28 +0100 | [diff] [blame] | 105 | interrupt-parent = <&intc>; |
| 106 | interrupts = < 0 37 4 0 38 4 0 39 4 >; |
| 107 | compatible = "cdns,ttc"; |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 108 | clocks = <&clkc 6>; |
Josh Cartwright | 91dc985 | 2012-10-31 13:56:14 -0600 | [diff] [blame] | 109 | reg = <0xF8002000 0x1000>; |
Josh Cartwright | 91dc985 | 2012-10-31 13:56:14 -0600 | [diff] [blame] | 110 | clock-ranges; |
Josh Cartwright | 91dc985 | 2012-10-31 13:56:14 -0600 | [diff] [blame] | 111 | }; |
Michal Simek | 2f34e0a | 2013-03-27 13:36:39 +0100 | [diff] [blame] | 112 | scutimer: scutimer@f8f00600 { |
| 113 | interrupt-parent = <&intc>; |
| 114 | interrupts = < 1 13 0x301 >; |
| 115 | compatible = "arm,cortex-a9-twd-timer"; |
| 116 | reg = < 0xf8f00600 0x20 >; |
Soren Brinkmann | 30e1e28 | 2013-05-13 10:46:38 -0700 | [diff] [blame] | 117 | clocks = <&clkc 4>; |
Michal Simek | 2f34e0a | 2013-03-27 13:36:39 +0100 | [diff] [blame] | 118 | } ; |
John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 119 | }; |
| 120 | }; |