2011-06-21 00:47:27 +07:00
|
|
|
/*
|
2014-05-06 00:16:08 +07:00
|
|
|
* Copyright (C) 2011 - 2014 Xilinx
|
2011-06-21 00:47:27 +07:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
2012-11-01 01:24:48 +07:00
|
|
|
/include/ "skeleton.dtsi"
|
2011-06-21 00:47:27 +07:00
|
|
|
|
|
|
|
/ {
|
2012-11-01 01:24:48 +07:00
|
|
|
compatible = "xlnx,zynq-7000";
|
2011-06-21 00:47:27 +07:00
|
|
|
|
2013-11-27 08:04:49 +07:00
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
compatible = "arm,cortex-a9";
|
|
|
|
device_type = "cpu";
|
|
|
|
reg = <0>;
|
|
|
|
clocks = <&clkc 3>;
|
2014-04-05 06:14:12 +07:00
|
|
|
clock-latency = <1000>;
|
2014-05-03 04:07:32 +07:00
|
|
|
cpu0-supply = <®ulator_vccpint>;
|
2014-02-20 06:14:44 +07:00
|
|
|
operating-points = <
|
|
|
|
/* kHz uV */
|
|
|
|
666667 1000000
|
|
|
|
333334 1000000
|
|
|
|
>;
|
2013-11-27 08:04:49 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
cpu@1 {
|
|
|
|
compatible = "arm,cortex-a9";
|
|
|
|
device_type = "cpu";
|
|
|
|
reg = <1>;
|
|
|
|
clocks = <&clkc 3>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-03-20 19:37:01 +07:00
|
|
|
pmu {
|
|
|
|
compatible = "arm,cortex-a9-pmu";
|
|
|
|
interrupts = <0 5 4>, <0 6 4>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
reg = < 0xf8891000 0x1000 0xf8893000 0x1000 >;
|
|
|
|
};
|
|
|
|
|
2014-05-03 04:07:32 +07:00
|
|
|
regulator_vccpint: fixedregulator@0 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "VCCPINT";
|
|
|
|
regulator-min-microvolt = <1000000>;
|
|
|
|
regulator-max-microvolt = <1000000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2011-06-21 00:47:27 +07:00
|
|
|
amba {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2012-11-01 01:24:48 +07:00
|
|
|
interrupt-parent = <&intc>;
|
2011-06-21 00:47:27 +07:00
|
|
|
ranges;
|
|
|
|
|
2014-09-24 20:28:59 +07:00
|
|
|
adc: adc@f8007100 {
|
2014-06-05 23:05:23 +07:00
|
|
|
compatible = "xlnx,zynq-xadc-1.00.a";
|
|
|
|
reg = <0xf8007100 0x20>;
|
|
|
|
interrupts = <0 7 4>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
clocks = <&clkc 12>;
|
2014-07-23 20:03:03 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
can0: can@e0008000 {
|
|
|
|
compatible = "xlnx,zynq-can-1.0";
|
|
|
|
status = "disabled";
|
|
|
|
clocks = <&clkc 19>, <&clkc 36>;
|
|
|
|
clock-names = "can_clk", "pclk";
|
|
|
|
reg = <0xe0008000 0x1000>;
|
|
|
|
interrupts = <0 28 4>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
tx-fifo-depth = <0x40>;
|
|
|
|
rx-fifo-depth = <0x40>;
|
|
|
|
};
|
|
|
|
|
|
|
|
can1: can@e0009000 {
|
|
|
|
compatible = "xlnx,zynq-can-1.0";
|
|
|
|
status = "disabled";
|
|
|
|
clocks = <&clkc 20>, <&clkc 37>;
|
|
|
|
clock-names = "can_clk", "pclk";
|
|
|
|
reg = <0xe0009000 0x1000>;
|
|
|
|
interrupts = <0 51 4>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
tx-fifo-depth = <0x40>;
|
|
|
|
rx-fifo-depth = <0x40>;
|
|
|
|
};
|
2014-07-11 01:53:38 +07:00
|
|
|
|
|
|
|
gpio0: gpio@e000a000 {
|
|
|
|
compatible = "xlnx,zynq-gpio-1.0";
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
clocks = <&clkc 42>;
|
|
|
|
gpio-controller;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
interrupts = <0 20 4>;
|
|
|
|
reg = <0xe000a000 0x1000>;
|
2014-06-05 23:05:23 +07:00
|
|
|
};
|
|
|
|
|
2014-05-06 00:16:08 +07:00
|
|
|
i2c0: i2c@e0004000 {
|
2014-04-05 04:27:56 +07:00
|
|
|
compatible = "cdns,i2c-r1p10";
|
|
|
|
status = "disabled";
|
|
|
|
clocks = <&clkc 38>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
interrupts = <0 25 4>;
|
|
|
|
reg = <0xe0004000 0x1000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
};
|
|
|
|
|
2014-05-06 00:16:08 +07:00
|
|
|
i2c1: i2c@e0005000 {
|
2014-04-05 04:27:56 +07:00
|
|
|
compatible = "cdns,i2c-r1p10";
|
|
|
|
status = "disabled";
|
|
|
|
clocks = <&clkc 39>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
interrupts = <0 48 4>;
|
|
|
|
reg = <0xe0005000 0x1000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
};
|
|
|
|
|
2011-06-21 00:47:27 +07:00
|
|
|
intc: interrupt-controller@f8f01000 {
|
2012-10-18 07:46:49 +07:00
|
|
|
compatible = "arm,cortex-a9-gic";
|
|
|
|
#interrupt-cells = <3>;
|
2011-06-21 00:47:27 +07:00
|
|
|
interrupt-controller;
|
2012-10-18 07:46:49 +07:00
|
|
|
reg = <0xF8F01000 0x1000>,
|
|
|
|
<0xF8F00100 0x100>;
|
2011-06-21 00:47:27 +07:00
|
|
|
};
|
|
|
|
|
2014-09-24 20:16:01 +07:00
|
|
|
L2: cache-controller@f8f02000 {
|
2012-10-24 05:34:22 +07:00
|
|
|
compatible = "arm,pl310-cache";
|
|
|
|
reg = <0xF8F02000 0x1000>;
|
2013-08-01 06:24:59 +07:00
|
|
|
arm,data-latency = <3 2 2>;
|
|
|
|
arm,tag-latency = <2 2 2>;
|
2012-10-24 05:34:22 +07:00
|
|
|
cache-unified;
|
|
|
|
cache-level = <2>;
|
|
|
|
};
|
|
|
|
|
2014-09-24 20:53:39 +07:00
|
|
|
mc: memory-controller@f8006000 {
|
2014-09-03 04:19:08 +07:00
|
|
|
compatible = "xlnx,zynq-ddrc-a05";
|
|
|
|
reg = <0xf8006000 0x1000>;
|
2014-10-20 20:15:47 +07:00
|
|
|
};
|
2014-09-03 04:19:08 +07:00
|
|
|
|
2014-05-06 00:16:08 +07:00
|
|
|
uart0: serial@e0000000 {
|
2014-04-05 07:23:45 +07:00
|
|
|
compatible = "xlnx,xuartps", "cdns,uart-r1p8";
|
2013-06-13 23:37:16 +07:00
|
|
|
status = "disabled";
|
2013-05-14 00:46:38 +07:00
|
|
|
clocks = <&clkc 23>, <&clkc 40>;
|
2014-04-05 07:23:45 +07:00
|
|
|
clock-names = "uart_clk", "pclk";
|
2011-06-21 00:47:27 +07:00
|
|
|
reg = <0xE0000000 0x1000>;
|
2012-10-18 07:46:49 +07:00
|
|
|
interrupts = <0 27 4>;
|
2011-06-21 00:47:27 +07:00
|
|
|
};
|
2012-11-01 02:45:17 +07:00
|
|
|
|
2014-05-06 00:16:08 +07:00
|
|
|
uart1: serial@e0001000 {
|
2014-04-05 07:23:45 +07:00
|
|
|
compatible = "xlnx,xuartps", "cdns,uart-r1p8";
|
2013-06-13 23:37:16 +07:00
|
|
|
status = "disabled";
|
2013-05-14 00:46:38 +07:00
|
|
|
clocks = <&clkc 24>, <&clkc 41>;
|
2014-04-05 07:23:45 +07:00
|
|
|
clock-names = "uart_clk", "pclk";
|
2012-11-01 02:45:17 +07:00
|
|
|
reg = <0xE0001000 0x1000>;
|
|
|
|
interrupts = <0 50 4>;
|
|
|
|
};
|
2012-11-09 01:04:26 +07:00
|
|
|
|
2014-07-25 18:12:31 +07:00
|
|
|
spi0: spi@e0006000 {
|
|
|
|
compatible = "xlnx,zynq-spi-r1p6";
|
|
|
|
reg = <0xe0006000 0x1000>;
|
|
|
|
status = "disabled";
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
interrupts = <0 26 4>;
|
|
|
|
clocks = <&clkc 25>, <&clkc 34>;
|
|
|
|
clock-names = "ref_clk", "pclk";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
spi1: spi@e0007000 {
|
|
|
|
compatible = "xlnx,zynq-spi-r1p6";
|
|
|
|
reg = <0xe0007000 0x1000>;
|
|
|
|
status = "disabled";
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
interrupts = <0 49 4>;
|
|
|
|
clocks = <&clkc 26>, <&clkc 35>;
|
|
|
|
clock-names = "ref_clk", "pclk";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
};
|
|
|
|
|
2013-12-12 00:29:49 +07:00
|
|
|
gem0: ethernet@e000b000 {
|
|
|
|
compatible = "cdns,gem";
|
2014-09-16 22:08:38 +07:00
|
|
|
reg = <0xe000b000 0x1000>;
|
2013-12-12 00:29:49 +07:00
|
|
|
status = "disabled";
|
|
|
|
interrupts = <0 22 4>;
|
|
|
|
clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>;
|
|
|
|
clock-names = "pclk", "hclk", "tx_clk";
|
2014-08-20 22:56:58 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-12-12 00:29:49 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
gem1: ethernet@e000c000 {
|
|
|
|
compatible = "cdns,gem";
|
2014-09-16 22:08:38 +07:00
|
|
|
reg = <0xe000c000 0x1000>;
|
2013-12-12 00:29:49 +07:00
|
|
|
status = "disabled";
|
|
|
|
interrupts = <0 45 4>;
|
|
|
|
clocks = <&clkc 31>, <&clkc 31>, <&clkc 14>;
|
|
|
|
clock-names = "pclk", "hclk", "tx_clk";
|
2014-08-20 22:56:58 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
2013-12-12 00:29:49 +07:00
|
|
|
};
|
|
|
|
|
2014-05-06 00:16:08 +07:00
|
|
|
sdhci0: sdhci@e0100000 {
|
2013-12-03 01:02:37 +07:00
|
|
|
compatible = "arasan,sdhci-8.9a";
|
|
|
|
status = "disabled";
|
|
|
|
clock-names = "clk_xin", "clk_ahb";
|
|
|
|
clocks = <&clkc 21>, <&clkc 32>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
interrupts = <0 24 4>;
|
|
|
|
reg = <0xe0100000 0x1000>;
|
2014-08-21 17:45:05 +07:00
|
|
|
};
|
2013-12-03 01:02:37 +07:00
|
|
|
|
2014-05-06 00:16:08 +07:00
|
|
|
sdhci1: sdhci@e0101000 {
|
2013-12-03 01:02:37 +07:00
|
|
|
compatible = "arasan,sdhci-8.9a";
|
|
|
|
status = "disabled";
|
|
|
|
clock-names = "clk_xin", "clk_ahb";
|
|
|
|
clocks = <&clkc 22>, <&clkc 33>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
interrupts = <0 47 4>;
|
|
|
|
reg = <0xe0101000 0x1000>;
|
2014-08-21 17:45:05 +07:00
|
|
|
};
|
2013-12-03 01:02:37 +07:00
|
|
|
|
2012-11-09 01:04:26 +07:00
|
|
|
slcr: slcr@f8000000 {
|
2013-11-18 22:48:19 +07:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2013-11-26 21:41:31 +07:00
|
|
|
compatible = "xlnx,zynq-slcr", "syscon";
|
2012-11-09 01:04:26 +07:00
|
|
|
reg = <0xF8000000 0x1000>;
|
2013-11-18 22:48:19 +07:00
|
|
|
ranges;
|
|
|
|
clkc: clkc@100 {
|
|
|
|
#clock-cells = <1>;
|
|
|
|
compatible = "xlnx,ps7-clkc";
|
|
|
|
fclk-enable = <0>;
|
|
|
|
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";
|
|
|
|
reg = <0x100 0x100>;
|
2012-11-09 01:04:26 +07:00
|
|
|
};
|
|
|
|
};
|
2012-11-01 02:56:14 +07:00
|
|
|
|
2014-07-25 06:00:15 +07:00
|
|
|
dmac_s: dmac@f8003000 {
|
|
|
|
compatible = "arm,pl330", "arm,primecell";
|
|
|
|
reg = <0xf8003000 0x1000>;
|
|
|
|
interrupt-parent = <&intc>;
|
2014-08-21 16:27:05 +07:00
|
|
|
interrupt-names = "abort", "dma0", "dma1", "dma2", "dma3",
|
|
|
|
"dma4", "dma5", "dma6", "dma7";
|
2014-07-25 06:00:15 +07:00
|
|
|
interrupts = <0 13 4>,
|
|
|
|
<0 14 4>, <0 15 4>,
|
|
|
|
<0 16 4>, <0 17 4>,
|
|
|
|
<0 40 4>, <0 41 4>,
|
|
|
|
<0 42 4>, <0 43 4>;
|
|
|
|
#dma-cells = <1>;
|
|
|
|
#dma-channels = <8>;
|
|
|
|
#dma-requests = <4>;
|
|
|
|
clocks = <&clkc 27>;
|
|
|
|
clock-names = "apb_pclk";
|
|
|
|
};
|
|
|
|
|
2013-07-31 14:19:59 +07:00
|
|
|
devcfg: devcfg@f8007000 {
|
|
|
|
compatible = "xlnx,zynq-devcfg-1.0";
|
|
|
|
reg = <0xf8007000 0x100>;
|
2014-08-21 17:45:05 +07:00
|
|
|
};
|
2013-07-31 14:19:59 +07:00
|
|
|
|
2013-09-19 01:48:38 +07:00
|
|
|
global_timer: timer@f8f00200 {
|
|
|
|
compatible = "arm,cortex-a9-global-timer";
|
|
|
|
reg = <0xf8f00200 0x20>;
|
|
|
|
interrupts = <1 11 0x301>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
clocks = <&clkc 4>;
|
|
|
|
};
|
|
|
|
|
2014-05-06 00:16:08 +07:00
|
|
|
ttc0: timer@f8001000 {
|
2013-03-20 16:15:28 +07:00
|
|
|
interrupt-parent = <&intc>;
|
2014-05-06 00:16:08 +07:00
|
|
|
interrupts = <0 10 4>, <0 11 4>, <0 12 4>;
|
2013-03-20 16:15:28 +07:00
|
|
|
compatible = "cdns,ttc";
|
2013-05-14 00:46:38 +07:00
|
|
|
clocks = <&clkc 6>;
|
2012-11-01 02:56:14 +07:00
|
|
|
reg = <0xF8001000 0x1000>;
|
|
|
|
};
|
|
|
|
|
2014-05-06 00:16:08 +07:00
|
|
|
ttc1: timer@f8002000 {
|
2013-03-20 16:15:28 +07:00
|
|
|
interrupt-parent = <&intc>;
|
2014-05-06 00:16:08 +07:00
|
|
|
interrupts = <0 37 4>, <0 38 4>, <0 39 4>;
|
2013-03-20 16:15:28 +07:00
|
|
|
compatible = "cdns,ttc";
|
2013-05-14 00:46:38 +07:00
|
|
|
clocks = <&clkc 6>;
|
2012-11-01 02:56:14 +07:00
|
|
|
reg = <0xF8002000 0x1000>;
|
|
|
|
};
|
2014-05-06 00:16:08 +07:00
|
|
|
|
|
|
|
scutimer: timer@f8f00600 {
|
2013-03-27 19:36:39 +07:00
|
|
|
interrupt-parent = <&intc>;
|
2014-05-06 00:16:08 +07:00
|
|
|
interrupts = <1 13 0x301>;
|
2013-03-27 19:36:39 +07:00
|
|
|
compatible = "arm,cortex-a9-twd-timer";
|
2014-05-06 00:16:08 +07:00
|
|
|
reg = <0xf8f00600 0x20>;
|
2013-05-14 00:46:38 +07:00
|
|
|
clocks = <&clkc 4>;
|
2014-08-21 17:45:05 +07:00
|
|
|
};
|
2014-10-02 20:09:15 +07:00
|
|
|
|
|
|
|
watchdog0: watchdog@f8005000 {
|
|
|
|
clocks = <&clkc 45>;
|
|
|
|
compatible = "xlnx,zynq-wdt-r1p2";
|
|
|
|
device_type = "watchdog";
|
|
|
|
interrupt-parent = <&intc>;
|
|
|
|
interrupts = <0 9 1>;
|
|
|
|
reg = <0xf8005000 0x1000>;
|
|
|
|
reset = <0>;
|
|
|
|
timeout-sec = <10>;
|
|
|
|
};
|
2011-06-21 00:47:27 +07:00
|
|
|
};
|
|
|
|
};
|