zynq-7000.dtsi 3.3 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
/*
 *  Copyright (C) 2011 Xilinx
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */
13
/include/ "skeleton.dtsi"
14 15

/ {
16
	compatible = "xlnx,zynq-7000";
17

M
Michal Simek 已提交
18 19 20 21 22 23 24
	pmu {
		compatible = "arm,cortex-a9-pmu";
		interrupts = <0 5 4>, <0 6 4>;
		interrupt-parent = <&intc>;
		reg = < 0xf8891000 0x1000 0xf8893000 0x1000 >;
	};

25 26 27 28
	amba {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <1>;
29
		interrupt-parent = <&intc>;
30 31 32
		ranges;

		intc: interrupt-controller@f8f01000 {
33 34 35
			compatible = "arm,cortex-a9-gic";
			#interrupt-cells = <3>;
			#address-cells = <1>;
36
			interrupt-controller;
37 38
			reg = <0xF8F01000 0x1000>,
			      <0xF8F00100 0x100>;
39 40
		};

41 42 43
		L2: cache-controller {
			compatible = "arm,pl310-cache";
			reg = <0xF8F02000 0x1000>;
44 45
			arm,data-latency = <3 2 2>;
			arm,tag-latency = <2 2 2>;
46 47 48 49
			cache-unified;
			cache-level = <2>;
		};

50 51
		uart0: uart@e0000000 {
			compatible = "xlnx,xuartps";
52
			status = "disabled";
53 54
			clocks = <&clkc 23>, <&clkc 40>;
			clock-names = "ref_clk", "aper_clk";
55
			reg = <0xE0000000 0x1000>;
56
			interrupts = <0 27 4>;
57
		};
58 59 60

		uart1: uart@e0001000 {
			compatible = "xlnx,xuartps";
61
			status = "disabled";
62 63
			clocks = <&clkc 24>, <&clkc 41>;
			clock-names = "ref_clk", "aper_clk";
64 65 66
			reg = <0xE0001000 0x1000>;
			interrupts = <0 50 4>;
		};
J
Josh Cartwright 已提交
67 68 69 70 71 72 73 74 75

		slcr: slcr@f8000000 {
			compatible = "xlnx,zynq-slcr";
			reg = <0xF8000000 0x1000>;

			clocks {
				#address-cells = <1>;
				#size-cells = <0>;

76
				clkc: clkc {
J
Josh Cartwright 已提交
77
					#clock-cells = <1>;
78 79 80 81 82 83 84 85 86 87 88 89 90
					compatible = "xlnx,ps7-clkc";
					ps-clk-frequency = <33333333>;
					clock-output-names = "armpll", "ddrpll", "iopll", "cpu_6or4x",
							"cpu_3or2x", "cpu_2x", "cpu_1x", "ddr2x", "ddr3x",
							"dci", "lqspi", "smc", "pcap", "gem0", "gem1",
							"fclk0", "fclk1", "fclk2", "fclk3", "can0", "can1",
							"sdio0", "sdio1", "uart0", "uart1", "spi0", "spi1",
							"dma", "usb0_aper", "usb1_aper", "gem0_aper",
							"gem1_aper", "sdio0_aper", "sdio1_aper",
							"spi0_aper", "spi1_aper", "can0_aper", "can1_aper",
							"i2c0_aper", "i2c1_aper", "uart0_aper", "uart1_aper",
							"gpio_aper", "lqspi_aper", "smc_aper", "swdt",
							"dbg_trc", "dbg_apb";
J
Josh Cartwright 已提交
91 92 93
				};
			};
		};
94

95 96 97 98 99 100 101 102
		global_timer: timer@f8f00200 {
			compatible = "arm,cortex-a9-global-timer";
			reg = <0xf8f00200 0x20>;
			interrupts = <1 11 0x301>;
			interrupt-parent = <&intc>;
			clocks = <&clkc 4>;
		};

103
		ttc0: ttc0@f8001000 {
104 105 106
			interrupt-parent = <&intc>;
			interrupts = < 0 10 4 0 11 4 0 12 4 >;
			compatible = "cdns,ttc";
107
			clocks = <&clkc 6>;
108 109 110 111 112
			reg = <0xF8001000 0x1000>;
			clock-ranges;
		};

		ttc1: ttc1@f8002000 {
113 114 115
			interrupt-parent = <&intc>;
			interrupts = < 0 37 4 0 38 4 0 39 4 >;
			compatible = "cdns,ttc";
116
			clocks = <&clkc 6>;
117 118 119
			reg = <0xF8002000 0x1000>;
			clock-ranges;
		};
M
Michal Simek 已提交
120 121 122 123 124
		scutimer: scutimer@f8f00600 {
			interrupt-parent = <&intc>;
			interrupts = < 1 13 0x301 >;
			compatible = "arm,cortex-a9-twd-timer";
			reg = < 0xf8f00600 0x20 >;
125
			clocks = <&clkc 4>;
M
Michal Simek 已提交
126
		} ;
127 128
	};
};