aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElvis Dowson <elvis.dowson@gmail.com>2013-04-20 21:57:22 +0400
committerElvis Dowson <elvis.dowson@gmail.com>2013-04-20 21:57:22 +0400
commit4f1a74f86c402e0810e84ab0588b5de2ca9ccfff (patch)
tree2fb97f3d2d40034f4a87accfca40fe44c72590c9
parent69b51f8d5908cd7b131a30cb6e5883ab3eedac57 (diff)
downloadmeta-xilinx-community-edowson/xilinx-zc702-gcc-4.7.tar.gz
meta-xilinx-community-edowson/xilinx-zc702-gcc-4.7.tar.bz2
meta-xilinx-community-edowson/xilinx-zc702-gcc-4.7.zip
linux-xilinx-3.6: Add zynq-7-zedboard.dts file.edowson/xilinx-zc702-gcc-4.7
Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
-rw-r--r--recipes-kernel/linux/linux-xilinx-3.6/zynq-7/zynq-7-zedboard.dts339
-rw-r--r--recipes-kernel/linux/linux-xilinx_3.6.bb2
2 files changed, 341 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-xilinx-3.6/zynq-7/zynq-7-zedboard.dts b/recipes-kernel/linux/linux-xilinx-3.6/zynq-7/zynq-7-zedboard.dts
new file mode 100644
index 0000000..cd0bc86
--- /dev/null
+++ b/recipes-kernel/linux/linux-xilinx-3.6/zynq-7/zynq-7-zedboard.dts
@@ -0,0 +1,339 @@
+/*
+ * Device Tree Generator version: 1.1
+ *
+ * (C) Copyright 2007-2012 Xilinx, Inc.
+ * (C) Copyright 2007-2012 Michal Simek
+ * (C) Copyright 2007-2012 PetaLogix Qld Pty Ltd
+ *
+ * Michal SIMEK <monstr@monstr.eu>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ * CAUTION: This file is automatically generated by libgen.
+ * Version: Xilinx EDK 14.4 EDK_P.49d
+ * Today is: Wednesday, the 06 of February, 2013; 10:43:23
+ *
+ * XPS project directory: device-tree_bsp_0
+ */
+
+/dts-v1/;
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "xlnx,zynq-zc770";
+ model = "Xilinx Zynq";
+ aliases {
+ ethernet0 = &ps7_ethernet_0;
+ serial0 = &ps7_uart_1;
+ } ;
+ chosen {
+ bootargs = "console=ttyPS0,115200 root=/dev/ram rw ip=:::::eth0:dhcp earlyprintk";
+ linux,stdout-path = "/axi@0/serial@e0001000";
+ } ;
+ cpus {
+ #address-cells = <1>;
+ #cpus = <0x2>;
+ #size-cells = <0>;
+ ps7_cortexa9_0: cpu@0 {
+ compatible = "xlnx,ps7-cortexa9-1.00.a";
+ d-cache-line-size = <0x20>;
+ d-cache-size = <0x8000>;
+ device_type = "cpu";
+ i-cache-line-size = <0x20>;
+ i-cache-size = <0x8000>;
+ model = "ps7_cortexa9,1.00.a";
+ reg = <0>;
+ xlnx,cpu-1x-clk-freq-hz = <0x69f6bcb>;
+ xlnx,cpu-clk-freq-hz = <0x27bc86bf>;
+ } ;
+ ps7_cortexa9_1: cpu@1 {
+ compatible = "xlnx,ps7-cortexa9-1.00.a";
+ d-cache-line-size = <0x20>;
+ d-cache-size = <0x8000>;
+ device_type = "cpu";
+ i-cache-line-size = <0x20>;
+ i-cache-size = <0x8000>;
+ model = "ps7_cortexa9,1.00.a";
+ reg = <1>;
+ xlnx,cpu-1x-clk-freq-hz = <0x69f6bcb>;
+ xlnx,cpu-clk-freq-hz = <0x27bc86bf>;
+ } ;
+ } ;
+ pmu {
+ compatible = "arm,cortex-a9-pmu";
+ interrupt-parent = <&ps7_scugic_0>;
+ interrupts = < 0 5 4 0 6 4 >;
+ reg = < 0xf8891000 0x1000 0xf8893000 0x1000 >;
+ } ;
+ ps7_ddr_0: memory@0 {
+ device_type = "memory";
+ reg = < 0x0 0x20000000 >;
+ } ;
+ ps7_axi_interconnect_0: amba@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "xlnx,ps7-axi-interconnect-1.00.a", "simple-bus";
+ ranges ;
+ ps7_afi_0: ps7-afi@f8008000 {
+ compatible = "xlnx,ps7-afi-1.00.a";
+ reg = < 0xf8008000 0x1000 >;
+ } ;
+ ps7_afi_1: ps7-afi@f8009000 {
+ compatible = "xlnx,ps7-afi-1.00.a";
+ reg = < 0xf8009000 0x1000 >;
+ } ;
+ ps7_afi_2: ps7-afi@f800a000 {
+ compatible = "xlnx,ps7-afi-1.00.a";
+ reg = < 0xf800a000 0x1000 >;
+ } ;
+ ps7_afi_3: ps7-afi@f800b000 {
+ compatible = "xlnx,ps7-afi-1.00.a";
+ reg = < 0xf800b000 0x1000 >;
+ } ;
+ ps7_ddrc_0: ps7-ddrc@f8006000 {
+ compatible = "xlnx,ps7-ddrc-1.00.a", "xlnx,ps7-ddrc";
+ reg = < 0xf8006000 0x1000 >;
+ xlnx,has-ecc = <0x0>;
+ } ;
+ ps7_dev_cfg_0: ps7-dev-cfg@f8007000 {
+ compatible = "xlnx,ps7-dev-cfg-1.00.a";
+ interrupt-parent = <&ps7_scugic_0>;
+ interrupts = < 0 8 4 >;
+ reg = < 0xf8007000 0x1000 >;
+ } ;
+ ps7_dma_s: ps7-dma@f8003000 {
+ #dma-cells = <1>;
+ #dma-channels = <8>;
+ #dma-requests = <4>;
+ arm,primecell-periphid = <0x41330>;
+ compatible = "xlnx,ps7-dma-1.00.a", "arm,primecell", "arm,pl330";
+ interrupt-parent = <&ps7_scugic_0>;
+ 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 >;
+ reg = < 0xf8003000 0x1000 >;
+ } ;
+ ps7_ethernet_0: ps7-ethernet@e000b000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "xlnx,ps7-ethernet-1.00.a";
+ interrupt-parent = <&ps7_scugic_0>;
+ interrupts = < 0 22 1 >;
+ local-mac-address = [ 00 0a 35 00 00 00 ];
+ phy-handle = <&phy0>;
+ phy-mode = "rgmii-id";
+ reg = < 0xe000b000 0x1000 >;
+ xlnx,enet-clk-freq-hz = <0x7735940>;
+ xlnx,enet-reset = <0xffffffff>;
+ xlnx,enet-slcr-1000mbps-div0 = <0x8>;
+ xlnx,enet-slcr-1000mbps-div1 = <0x1>;
+ xlnx,enet-slcr-100mbps-div0 = <0x8>;
+ xlnx,enet-slcr-100mbps-div1 = <0x5>;
+ xlnx,enet-slcr-10mbps-div0 = <0x8>;
+ xlnx,enet-slcr-10mbps-div1 = <0x32>;
+ xlnx,eth-mode = <0x1>;
+ xlnx,has-mdio = <0x1>;
+ xlnx,ptp-enet-clock = <111111115>;
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ phy0: phy@7 {
+ compatible = "marvell,88e1510";
+ device_type = "ethernet-phy";
+ reg = <7>;
+ } ;
+ } ;
+ } ;
+ ps7_gpio_0: ps7-gpio@e000a000 {
+ #gpio-cells = <2>;
+ compatible = "xlnx,ps7-gpio-1.00.a";
+ emio-gpio-width = <64>;
+ gpio-controller ;
+ gpio-mask-high = <0xc0000>;
+ gpio-mask-low = <0xfe81>;
+ interrupt-parent = <&ps7_scugic_0>;
+ interrupts = < 0 20 4 >;
+ reg = < 0xe000a000 0x1000 >;
+ } ;
+ ps7_iop_bus_config_0: ps7-iop-bus-config@e0200000 {
+ compatible = "xlnx,ps7-iop-bus-config-1.00.a";
+ reg = < 0xe0200000 0x1000 >;
+ } ;
+ ps7_pl310_0: ps7-pl310@f8f02000 {
+ arm,data-latency = < 3 2 2 >;
+ arm,tag-latency = < 2 2 2 >;
+ cache-level = < 2 >;
+ cache-unified ;
+ compatible = "xlnx,ps7-pl310-1.00.a", "arm,pl310-cache";
+ interrupt-parent = <&ps7_scugic_0>;
+ interrupts = < 0 2 4 >;
+ reg = < 0xf8f02000 0x1000 >;
+ } ;
+ ps7_qspi_0: ps7-qspi@e000d000 {
+ bus-num = <0>;
+ compatible = "xlnx,ps7-qspi-1.00.a";
+ interrupt-parent = <&ps7_scugic_0>;
+ interrupts = < 0 19 4 >;
+ is-dual = <0>;
+ num-chip-select = <1>;
+ reg = < 0xe000d000 0x1000 >;
+ speed-hz = <200000000>;
+ xlnx,fb-clk = <0x1>;
+ xlnx,qspi-clk-freq-hz = <0xbebc200>;
+ xlnx,qspi-mode = <0x0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ flash@0 {
+ compatible = "n25q128";
+ reg = <0x0>;
+ spi-max-frequency = <50000000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ partition@qspi-fsbl-uboot {
+ label = "qspi-fsbl-uboot";
+ reg = <0x0 0x100000>;
+ };
+ partition@qspi-linux {
+ label = "qspi-linux";
+ reg = <0x100000 0x500000>;
+ };
+ partition@qspi-device-tree {
+ label = "qspi-device-tree";
+ reg = <0x600000 0x20000>;
+ };
+ partition@qspi-rootfs {
+ label = "qspi-rootfs";
+ reg = <0x620000 0x5E0000>;
+ };
+ partition@qspi-bitstream {
+ label = "qspi-bitstream";
+ reg = <0xC00000 0x400000>;
+ };
+ };
+ } ;
+ ps7_qspi_linear_0: ps7-qspi-linear@fc000000 {
+ compatible = "xlnx,ps7-qspi-linear-1.00.a";
+ reg = < 0xfc000000 0x1000000 >;
+ xlnx,qspi-clk-freq-hz = <0xe4e1c0>;
+ } ;
+ ps7_ram_0: ps7-ram@0 {
+ compatible = "xlnx,ps7-ram-1.00.a", "xlnx,ps7-ocm";
+ reg = < 0xfffc0000 0x40000 >;
+ } ;
+ ps7_scugic_0: ps7-scugic@f8f01000 {
+ #address-cells = < 2 >;
+ #interrupt-cells = < 3 >;
+ #size-cells = < 1 >;
+ compatible = "xlnx,ps7-scugic-1.00.a", "arm,cortex-a9-gic", "arm,gic";
+ interrupt-controller ;
+ linux,phandle = < 0x1 >;
+ phandle = < 0x1 >;
+ reg = < 0xf8f01000 0x1000 0xf8f00100 0x100 >;
+ } ;
+ ps7_scutimer_0: ps7-scutimer@f8f00600 {
+ compatible = "xlnx,ps7-scutimer-1.00.a", "arm,cortex-a9-twd-timer";
+ interrupt-parent = <&ps7_scugic_0>;
+ interrupts = < 1 13 769 >;
+ reg = < 0xf8f00600 0x20 >;
+ } ;
+ ps7_scuwdt_0: ps7-scuwdt@f8f00620 {
+ compatible = "xlnx,ps7-scuwdt-1.00.a";
+ device_type = "watchdog";
+ interrupt-parent = <&ps7_scugic_0>;
+ interrupts = < 1 14 769 >;
+ reg = < 0xf8f00620 0xe0 >;
+ } ;
+ ps7_sd_0: ps7-sdio@e0100000 {
+ clock-frequency = <50000000>;
+ compatible = "xlnx,ps7-sdio-1.00.a", "generic-sdhci";
+ interrupt-parent = <&ps7_scugic_0>;
+ interrupts = < 0 24 4 >;
+ reg = < 0xe0100000 0x1000 >;
+ xlnx,has-cd = <0x1>;
+ xlnx,has-power = <0x0>;
+ xlnx,has-wp = <0x1>;
+ xlnx,sdio-clk-freq-hz = <0x2faf080>;
+ } ;
+ ps7_slcr_0: ps7-slcr@f8000000 {
+ compatible = "xlnx,ps7-slcr-1.00.a", "xlnx,zynq-slcr";
+ reg = < 0xf8000000 0x1000 >;
+ clocks {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ armpll: armpll {
+ #clock-cells = <0>;
+ clock-output-names = "armpll";
+ clocks = <&ps_clk>;
+ compatible = "xlnx,zynq-pll";
+ lockbit = <0>;
+ reg = < 0x100 0x110 0x10c >;
+ } ;
+ ddrpll: ddrpll {
+ #clock-cells = <0>;
+ clock-output-names = "ddrpll";
+ clocks = <&ps_clk>;
+ compatible = "xlnx,zynq-pll";
+ lockbit = <1>;
+ reg = < 0x104 0x114 0x10c >;
+ } ;
+ iopll: iopll {
+ #clock-cells = <0>;
+ clock-output-names = "iopll";
+ clocks = <&ps_clk>;
+ compatible = "xlnx,zynq-pll";
+ lockbit = <2>;
+ reg = < 0x108 0x118 0x10c >;
+ } ;
+ ps_clk: ps_clk {
+ #clock-cells = <0>;
+ clock-frequency = <33333333>;
+ clock-output-names = "ps_clk";
+ compatible = "fixed-clock";
+ } ;
+ } ;
+ } ;
+ ps7_ttc_0: ps7-ttc@f8001000 {
+ compatible = "xlnx,ps7-ttc-1.00.a";
+ interrupt-parent = <&ps7_scugic_0>;
+ interrupts = < 0 10 4 0 11 4 0 12 4 >;
+ reg = < 0xf8001000 0x1000 >;
+ } ;
+ ps7_uart_1: serial@e0001000 {
+ compatible = "xlnx,ps7-uart-1.00.a", "xlnx,xuartps";
+ current-speed = <115200>;
+ device_type = "serial";
+ interrupt-parent = <&ps7_scugic_0>;
+ interrupts = < 0 50 4 >;
+ port-number = <0>;
+ reg = < 0xe0001000 0x1000 >;
+ xlnx,has-modem = <0x0>;
+ xlnx,uart-clk-freq-hz = <0x2faf080>;
+ } ;
+ ps7_usb_0: ps7-usb@e0002000 {
+ compatible = "xlnx,ps7-usb-1.00.a";
+ dr_mode = "host";
+ interrupt-parent = <&ps7_scugic_0>;
+ interrupts = < 0 21 4 >;
+ phy_type = "ulpi";
+ reg = < 0xe0002000 0x1000 >;
+ xlnx,usb-reset = <0xffffffff>;
+ } ;
+ ps7_xadc: ps7-xadc@f8007100 {
+ compatible = "xlnx,ps7-xadc-1.00.a";
+ interrupt-parent = <&ps7_scugic_0>;
+ interrupts = < 0 7 4 >;
+ reg = < 0xf8007100 0x20 >;
+ } ;
+ } ;
+} ;
diff --git a/recipes-kernel/linux/linux-xilinx_3.6.bb b/recipes-kernel/linux/linux-xilinx_3.6.bb
index 41a9257..5d529a6 100644
--- a/recipes-kernel/linux/linux-xilinx_3.6.bb
+++ b/recipes-kernel/linux/linux-xilinx_3.6.bb
@@ -25,8 +25,10 @@ SRC_URI_append_zynq-7-zc702 += "file://zynq_base_trd_14_4.patch"
# Add additional dts files.
SRC_URI_append_zynq-7-zc702 += "file://zynq-7-zc702-hdmi-xylon.dts"
+SRC_URI_append_zynq-7-zedboard += "file://zynq-7-zedboard.dts"
KERNEL_DEVICETREE_append_zynq-7-zc702 += "${WORKDIR}/zynq-7-zc702-hdmi-xylon.dts"
+KERNEL_DEVICETREE_append_zynq-7-zedboard += "${WORKDIR}/zynq-7-zedboard.dts"
FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/${PN}-${PV}/${SOC_FAMILY}' ], d)}"