blob: 0dbee2c239057dd627b5e79eea6c18dacaa84086 [file] [log] [blame]
John Linnb85a3ef2011-06-20 11:47:27 -06001/*
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 Cartwrighte06f1a92012-10-31 12:24:48 -060013/include/ "skeleton.dtsi"
John Linnb85a3ef2011-06-20 11:47:27 -060014
John Linnb85a3ef2011-06-20 11:47:27 -060015/ {
Josh Cartwrighte06f1a92012-10-31 12:24:48 -060016 compatible = "xlnx,zynq-7000";
John Linnb85a3ef2011-06-20 11:47:27 -060017
Michal Simek268a8202013-03-20 13:37:01 +010018 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 Linnb85a3ef2011-06-20 11:47:27 -060025 amba {
26 compatible = "simple-bus";
27 #address-cells = <1>;
28 #size-cells = <1>;
Josh Cartwrighte06f1a92012-10-31 12:24:48 -060029 interrupt-parent = <&intc>;
John Linnb85a3ef2011-06-20 11:47:27 -060030 ranges;
31
32 intc: interrupt-controller@f8f01000 {
Josh Cartwrightf447ed22012-10-17 19:46:49 -050033 compatible = "arm,cortex-a9-gic";
34 #interrupt-cells = <3>;
35 #address-cells = <1>;
John Linnb85a3ef2011-06-20 11:47:27 -060036 interrupt-controller;
Josh Cartwrightf447ed22012-10-17 19:46:49 -050037 reg = <0xF8F01000 0x1000>,
38 <0xF8F00100 0x100>;
John Linnb85a3ef2011-06-20 11:47:27 -060039 };
40
Josh Cartwright0fcfdbc2012-10-23 17:34:22 -050041 L2: cache-controller {
42 compatible = "arm,pl310-cache";
43 reg = <0xF8F02000 0x1000>;
44 arm,data-latency = <2 3 2>;
45 arm,tag-latency = <2 3 2>;
46 cache-unified;
47 cache-level = <2>;
48 };
49
John Linnb85a3ef2011-06-20 11:47:27 -060050 uart0: uart@e0000000 {
51 compatible = "xlnx,xuartps";
Soren Brinkmann30e1e282013-05-13 10:46:38 -070052 clocks = <&clkc 23>, <&clkc 40>;
53 clock-names = "ref_clk", "aper_clk";
John Linnb85a3ef2011-06-20 11:47:27 -060054 reg = <0xE0000000 0x1000>;
Josh Cartwrightf447ed22012-10-17 19:46:49 -050055 interrupts = <0 27 4>;
John Linnb85a3ef2011-06-20 11:47:27 -060056 };
Josh Cartwright78d67852012-10-31 13:45:17 -060057
58 uart1: uart@e0001000 {
59 compatible = "xlnx,xuartps";
Soren Brinkmann30e1e282013-05-13 10:46:38 -070060 clocks = <&clkc 24>, <&clkc 41>;
61 clock-names = "ref_clk", "aper_clk";
Josh Cartwright78d67852012-10-31 13:45:17 -060062 reg = <0xE0001000 0x1000>;
63 interrupts = <0 50 4>;
Josh Cartwright78d67852012-10-31 13:45:17 -060064 };
Josh Cartwright0f586fb2012-11-08 12:04:26 -060065
66 slcr: slcr@f8000000 {
67 compatible = "xlnx,zynq-slcr";
68 reg = <0xF8000000 0x1000>;
69
70 clocks {
71 #address-cells = <1>;
72 #size-cells = <0>;
73
Soren Brinkmann30e1e282013-05-13 10:46:38 -070074 clkc: clkc {
Josh Cartwright0f586fb2012-11-08 12:04:26 -060075 #clock-cells = <1>;
Soren Brinkmann30e1e282013-05-13 10:46:38 -070076 compatible = "xlnx,ps7-clkc";
77 ps-clk-frequency = <33333333>;
78 clock-output-names = "armpll", "ddrpll", "iopll", "cpu_6or4x",
79 "cpu_3or2x", "cpu_2x", "cpu_1x", "ddr2x", "ddr3x",
80 "dci", "lqspi", "smc", "pcap", "gem0", "gem1",
81 "fclk0", "fclk1", "fclk2", "fclk3", "can0", "can1",
82 "sdio0", "sdio1", "uart0", "uart1", "spi0", "spi1",
83 "dma", "usb0_aper", "usb1_aper", "gem0_aper",
84 "gem1_aper", "sdio0_aper", "sdio1_aper",
85 "spi0_aper", "spi1_aper", "can0_aper", "can1_aper",
86 "i2c0_aper", "i2c1_aper", "uart0_aper", "uart1_aper",
87 "gpio_aper", "lqspi_aper", "smc_aper", "swdt",
88 "dbg_trc", "dbg_apb";
Josh Cartwright0f586fb2012-11-08 12:04:26 -060089 };
90 };
91 };
Josh Cartwright91dc9852012-10-31 13:56:14 -060092
93 ttc0: ttc0@f8001000 {
Michal Simeke9329002013-03-20 10:15:28 +010094 interrupt-parent = <&intc>;
95 interrupts = < 0 10 4 0 11 4 0 12 4 >;
96 compatible = "cdns,ttc";
Soren Brinkmann30e1e282013-05-13 10:46:38 -070097 clocks = <&clkc 6>;
Josh Cartwright91dc9852012-10-31 13:56:14 -060098 reg = <0xF8001000 0x1000>;
Josh Cartwright91dc9852012-10-31 13:56:14 -060099 clock-ranges;
Josh Cartwright91dc9852012-10-31 13:56:14 -0600100 };
101
102 ttc1: ttc1@f8002000 {
Michal Simeke9329002013-03-20 10:15:28 +0100103 interrupt-parent = <&intc>;
104 interrupts = < 0 37 4 0 38 4 0 39 4 >;
105 compatible = "cdns,ttc";
Soren Brinkmann30e1e282013-05-13 10:46:38 -0700106 clocks = <&clkc 6>;
Josh Cartwright91dc9852012-10-31 13:56:14 -0600107 reg = <0xF8002000 0x1000>;
Josh Cartwright91dc9852012-10-31 13:56:14 -0600108 clock-ranges;
Josh Cartwright91dc9852012-10-31 13:56:14 -0600109 };
Michal Simek2f34e0a2013-03-27 13:36:39 +0100110 scutimer: scutimer@f8f00600 {
111 interrupt-parent = <&intc>;
112 interrupts = < 1 13 0x301 >;
113 compatible = "arm,cortex-a9-twd-timer";
114 reg = < 0xf8f00600 0x20 >;
Soren Brinkmann30e1e282013-05-13 10:46:38 -0700115 clocks = <&clkc 4>;
Michal Simek2f34e0a2013-03-27 13:36:39 +0100116 } ;
John Linnb85a3ef2011-06-20 11:47:27 -0600117 };
118};