element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General Ethernet not working with Zedboard
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 4 replies
  • Subscribers 352 subscribers
  • Views 673 views
  • Users 0 members are here
Related

Ethernet not working with Zedboard

Former Member
Former Member over 10 years ago

Hello everyone,

I try to configure my Zedboard (Revision D) to run Linux. For that purpose I built an Bootimage with a device tree, u-boot and uImage and it is starting successfully. But the ethernet won't work. The reason for that is, that I can't find any network devices, so I guess there is something wrong with my device tree. Here's my DTS file that is booting:

/dts-v1/;

/ {
t#address-cells = <0x1>;
t#size-cells = <0x1>;
tcompatible = "xlnx,zynq-zed", "xlnx,zynq-7000";
tmodel = "Zynq Zed Development Board";

tchosen {
ttbootargs = "console=ttyPS0,115200 rootwait root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4";
ttlinux,stdout-path = "/amba/serial@e0001000";
ttstdout-path = "/amba/serial@e0001000";
t};

taliases {
ttethernet0 = "/amba/ethernet@e000b000";
ttserial0 = "/amba/serial@e0001000";
ttspi0 = "/amba/spi@e000d000";
t};

tmemory {
ttdevice_type = "memory";
ttreg = <0x0 0x20000000>;
t};

tcpus {
tt#address-cells = <0x1>;
tt#size-cells = <0x0>;

ttcpu@0 {
tttcompatible = "arm,cortex-a9";
tttdevice_type = "cpu";
tttreg = <0x0>;
tttclocks = <0x1 0x3>;
tttclock-latency = <0x3e8>;
tttcpu0-supply = <0x2>;
tttoperating-points = <0xa2c2b 0xf4240 0x51616 0xf4240>;
tt};

ttcpu@1 {
tttcompatible = "arm,cortex-a9";
tttdevice_type = "cpu";
tttreg = <0x1>;
tttclocks = <0x1 0x3>;
tt};
t};

tpmu {
ttcompatible = "arm,cortex-a9-pmu";
ttinterrupts = <0x0 0x5 0x4 0x0 0x6 0x4>;
ttinterrupt-parent = <0x3>;
ttreg = <0xf8891000 0x1000 0xf8893000 0x1000>;
t};

tfixedregulator@0 {
ttcompatible = "regulator-fixed";
ttregulator-name = "VCCPINT";
ttregulator-min-microvolt = <0xf4240>;
ttregulator-max-microvolt = <0xf4240>;
ttregulator-boot-on;
ttregulator-always-on;
ttlinux,phandle = <0x2>;
ttphandle = <0x2>;
t};

tamba {
ttcompatible = "simple-bus";
tt#address-cells = <0x1>;
tt#size-cells = <0x1>;
ttinterrupt-parent = <0x3>;
ttranges;

ttadc@f8007100 {
tttcompatible = "xlnx,zynq-xadc-1.00.a";
tttreg = <0xf8007100 0x20>;
tttinterrupts = <0x0 0x7 0x4>;
tttinterrupt-parent = <0x3>;
tttclocks = <0x1 0xc>;
tt};

ttcan@e0008000 {
tttcompatible = "xlnx,zynq-can-1.0";
tttstatus = "disabled";
tttclocks = <0x1 0x13 0x1 0x24>;
tttclock-names = "can_clk", "pclk";
tttreg = <0xe0008000 0x1000>;
tttinterrupts = <0x0 0x1c 0x4>;
tttinterrupt-parent = <0x3>;
ttttx-fifo-depth = <0x40>;
tttrx-fifo-depth = <0x40>;
tt};

ttcan@e0009000 {
tttcompatible = "xlnx,zynq-can-1.0";
tttstatus = "disabled";
tttclocks = <0x1 0x14 0x1 0x25>;
tttclock-names = "can_clk", "pclk";
tttreg = <0xe0009000 0x1000>;
tttinterrupts = <0x0 0x33 0x4>;
tttinterrupt-parent = <0x3>;
ttttx-fifo-depth = <0x40>;
tttrx-fifo-depth = <0x40>;
tt};

ttgpio@e000a000 {
tttcompatible = "xlnx,zynq-gpio-1.0";
ttt#gpio-cells = <0x2>;
tttclocks = <0x1 0x2a>;
tttgpio-controller;
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x14 0x4>;
tttreg = <0xe000a000 0x1000>;
tt};

tti2c@e0004000 {
tttcompatible = "cdns,i2c-r1p10";
tttstatus = "disabled";
tttclocks = <0x1 0x26>;
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x19 0x4>;
tttreg = <0xe0004000 0x1000>;
ttt#address-cells = <0x1>;
ttt#size-cells = <0x0>;
tt};

tti2c@e0005000 {
tttcompatible = "cdns,i2c-r1p10";
tttstatus = "disabled";
tttclocks = <0x1 0x27>;
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x30 0x4>;
tttreg = <0xe0005000 0x1000>;
ttt#address-cells = <0x1>;
ttt#size-cells = <0x0>;
tt};

ttinterrupt-controller@f8f01000 {
tttcompatible = "arm,cortex-a9";
ttt#interrupt-cells = <0x3>;
tttinterrupt-controller;
tttreg = <0xf8f01000 0x1000 0xf8f00100 0x100>;
tttlinux,phandle = <0x3>;
tttphandle = <0x3>;
tt};

ttcache-controller@f8f02000 {
tttcompatible = "arm,pl310-cache";
tttreg = <0xf8f02000 0x1000>;
tttarm,data-latency = <0x3 0x2 0x2>;
tttarm,tag-latency = <0x2 0x2 0x2>;
tttcache-unified;
tttcache-level = <0x2>;
tt};

ttmemory-controller@f8006000 {
tttcompatible = "xlnx,zynq-ddrc-a05";
tttreg = <0xf8006000 0x1000>;
tt};

ttocmc@f800c000 {
tttcompatible = "xlnx,zynq-ocmc-1.0";
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x3 0x4>;
tttreg = <0xf800c000 0x1000>;
tt};

ttserial@e0000000 {
tttcompatible = "xlnx,xuartps", "cdns,uart-r1p8";
tttstatus = "disabled";
tttclocks = <0x1 0x17 0x1 0x28>;
tttclock-names = "uart_clk", "pclk";
tttreg = <0xe0000000 0x1000>;
tttinterrupts = <0x0 0x1b 0x4>;
tt};

ttserial@e0001000 {
tttcompatible = "xlnx,xuartps", "cdns,uart-r1p8";
tttstatus = "okay";
tttclocks = <0x1 0x18 0x1 0x29>;
tttclock-names = "uart_clk", "pclk";
tttreg = <0xe0001000 0x1000>;
tttinterrupts = <0x0 0x32 0x4>;
tt};

ttspi@e0006000 {
tttcompatible = "xlnx,zynq-spi-r1p6";
tttreg = <0xe0006000 0x1000>;
tttstatus = "disabled";
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x1a 0x4>;
tttclocks = <0x1 0x19 0x1 0x22>;
tttclock-names = "ref_clk", "pclk";
ttt#address-cells = <0x1>;
ttt#size-cells = <0x0>;
tt};

ttspi@e0007000 {
tttcompatible = "xlnx,zynq-spi-r1p6";
tttreg = <0xe0007000 0x1000>;
tttstatus = "disabled";
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x31 0x4>;
tttclocks = <0x1 0x1a 0x1 0x23>;
tttclock-names = "ref_clk", "pclk";
ttt#address-cells = <0x1>;
ttt#size-cells = <0x0>;
tt};

ttspi@e000d000 {
tttclock-names = "ref_clk", "pclk";
tttclocks = <0x1 0xa 0x1 0x2b>;
tttcompatible = "xlnx,zynq-qspi-1.0";
tttstatus = "okay";
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x13 0x4>;
tttreg = <0xe000d000 0x1000>;
ttt#address-cells = <0x1>;
ttt#size-cells = <0x0>;
tttis-dual = <0x0>;
tttnum-cs = <0x1>;

tttflash@0 {
ttttcompatible = "n25q128a11";
ttttreg = <0x0>;
ttttspi-tx-bus-width = <0x1>;
ttttspi-rx-bus-width = <0x4>;
ttttspi-max-frequency = <0x2faf080>;
tttt#address-cells = <0x1>;
tttt#size-cells = <0x1>;

ttttpartition@qspi-fsbl-uboot {
tttttlabel = "qspi-fsbl-uboot";
tttttreg = <0x0 0x100000>;
tttt};

ttttpartition@qspi-linux {
tttttlabel = "qspi-linux";
tttttreg = <0x100000 0x500000>;
tttt};

ttttpartition@qspi-device-tree {
tttttlabel = "qspi-device-tree";
tttttreg = <0x600000 0x20000>;
tttt};

ttttpartition@qspi-rootfs {
tttttlabel = "qspi-rootfs";
tttttreg = <0x620000 0x5e0000>;
tttt};

ttttpartition@qspi-bitstream {
tttttlabel = "qspi-bitstream";
tttttreg = <0xc00000 0x400000>;
tttt};
ttt};
tt};

ttmemory-controller@e000e000 {
ttt#address-cells = <0x1>;
ttt#size-cells = <0x1>;
tttstatus = "disabled";
tttclock-names = "memclk", "aclk";
tttclocks = <0x1 0xb 0x1 0x2c>;
tttcompatible = "arm,pl353-smc-r2p1";
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x12 0x4>;
tttranges;
tttreg = <0xe000e000 0x1000>;

tttflash@e1000000 {
ttttstatus = "disabled";
ttttcompatible = "arm,pl353-nand-r2p1";
ttttreg = <0xe1000000 0x1000000>;
tttt#address-cells = <0x1>;
tttt#size-cells = <0x1>;
ttt};

tttflash@e2000000 {
ttttstatus = "disabled";
ttttcompatible = "cfi-flash";
ttttreg = <0xe2000000 0x2000000>;
tttt#address-cells = <0x1>;
tttt#size-cells = <0x1>;
ttt};
tt};

ttethernet@e000b000 {
tttcompatible = "cdns,gem";
tttreg = <0xe000b000 0x1000>;
tttstatus = "okay";
tttinterrupts = <0x0 0x16 0x4>;
tttclocks = <0x1 0x1e 0x1 0x1e 0x1 0xd>;
tttclock-names = "pclk", "hclk", "tx_clk";
ttt#address-cells = <0x1>;
ttt#size-cells = <0x0>;
tttphy-mode = "rgmii-id";
tttphy-handle = <0x4>;

tttethernet-phy@0 {
ttttreg = <0x0>;
ttttlinux,phandle = <0x4>;
ttttphandle = <0x4>;
ttt};
tt};

ttethernet@e000c000 {
tttcompatible = "cdns,gem";
tttreg = <0xe000c000 0x1000>;
tttstatus = "disabled";
tttinterrupts = <0x0 0x2d 0x4>;
tttclocks = <0x1 0x1f 0x1 0x1f 0x1 0xe>;
tttclock-names = "pclk", "hclk", "tx_clk";
ttt#address-cells = <0x1>;
ttt#size-cells = <0x0>;
tt};

ttsdhci@e0100000 {
tttcompatible = "arasan,sdhci-8.9a";
tttstatus = "okay";
tttclock-names = "clk_xin", "clk_ahb";
tttclocks = <0x1 0x15 0x1 0x20>;
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x18 0x4>;
tttreg = <0xe0100000 0x1000>;
tt};

ttsdhci@e0101000 {
tttcompatible = "arasan,sdhci-8.9a";
tttstatus = "disabled";
tttclock-names = "clk_xin", "clk_ahb";
tttclocks = <0x1 0x16 0x1 0x21>;
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x2f 0x4>;
tttreg = <0xe0101000 0x1000>;
tt};

ttslcr@f8000000 {
ttt#address-cells = <0x1>;
ttt#size-cells = <0x1>;
tttcompatible = "xlnx,zynq-slcr", "syscon", "simple-bus";
tttreg = <0xf8000000 0x1000>;
tttranges;
tttlinux,phandle = <0x5>;
tttphandle = <0x5>;

tttclkc@100 {
tttt#clock-cells = <0x1>;
ttttcompatible = "xlnx,ps7-clkc";
ttttfclk-enable = <0xf>;
ttttclock-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";
ttttreg = <0x100 0x100>;
ttttps-clk-frequency = <0x1fca055>;
ttttlinux,phandle = <0x1>;
ttttphandle = <0x1>;
ttt};

tttpinctrl@700 {
ttttcompatible = "xlnx,pinctrl-zynq";
ttttreg = <0x700 0x200>;
ttttsyscon = <0x5>;
ttt};
tt};

ttdmac@f8003000 {
tttcompatible = "arm,pl330", "arm,primecell";
tttreg = <0xf8003000 0x1000>;
tttinterrupt-parent = <0x3>;
tttinterrupt-names = "abort", "dma0", "dma1", "dma2", "dma3", "dma4", "dma5", "dma6", "dma7";
tttinterrupts = <0x0 0xd 0x4 0x0 0xe 0x4 0x0 0xf 0x4 0x0 0x10 0x4 0x0 0x11 0x4 0x0 0x28 0x4 0x0 0x29 0x4 0x0 0x2a 0x4 0x0 0x2b 0x4>;
ttt#dma-cells = <0x1>;
ttt#dma-channels = <0x8>;
ttt#dma-requests = <0x4>;
tttclocks = <0x1 0x1b>;
tttclock-names = "apb_pclk";
tt};

ttdevcfg@f8007000 {
tttclock-names = "ref_clk", "fclk0", "fclk1", "fclk2", "fclk3";
tttclocks = <0x1 0xc 0x1 0xf 0x1 0x10 0x1 0x11 0x1 0x12>;
tttcompatible = "xlnx,zynq-devcfg-1.0";
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x8 0x4>;
tttreg = <0xf8007000 0x100>;
tt};

tttimer@f8f00200 {
tttcompatible = "arm,cortex-a9-global-timer";
tttreg = <0xf8f00200 0x20>;
tttinterrupts = <0x1 0xb 0x301>;
tttinterrupt-parent = <0x3>;
tttclocks = <0x1 0x4>;
tt};

tttimer@f8001000 {
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0xa 0x4 0x0 0xb 0x4 0x0 0xc 0x4>;
tttcompatible = "cdns,ttc";
tttclocks = <0x1 0x6>;
tttreg = <0xf8001000 0x1000>;
tt};

tttimer@f8002000 {
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x25 0x4 0x0 0x26 0x4 0x0 0x27 0x4>;
tttcompatible = "cdns,ttc";
tttclocks = <0x1 0x6>;
tttreg = <0xf8002000 0x1000>;
tt};

tttimer@f8f00600 {
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x1 0xd 0x301>;
tttcompatible = "arm,cortex-a9-twd-timer";
tttreg = <0xf8f00600 0x20>;
tttclocks = <0x1 0x4>;
tt};

ttusb@e0002000 {
tttcompatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2";
tttstatus = "okay";
tttclocks = <0x1 0x1c>;
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x15 0x4>;
tttreg = <0xe0002000 0x1000>;
tttphy_type = "ulpi";
tttdr_mode = "host";
tttusb-phy = <0x6>;
tt};

ttusb@e0003000 {
tttcompatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2";
tttstatus = "disabled";
tttclocks = <0x1 0x1d>;
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x2c 0x4>;
tttreg = <0xe0003000 0x1000>;
tttphy_type = "ulpi";
tt};

ttwatchdog@f8005000 {
tttclocks = <0x1 0x2d>;
tttcompatible = "cdns,wdt-r1p2";
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x9 0x1>;
tttreg = <0xf8005000 0x1000>;
ttttimeout-sec = <0xa>;
tt};
t};

tphy0 {
ttcompatible = "usb-nop-xceiv";
tt#phy-cells = <0x0>;
ttlinux,phandle = <0x6>;
ttphandle = <0x6>;
t};
};

Because I can't find any ethernet devices in Linux I guess it's an issue with this file. So I tried to fix it. Here's the outcome:

/dts-v1/;

/ {
t#address-cells = <0x1>;
t#size-cells = <0x1>;
tcompatible = "xlnx,zynq-zed", "xlnx,zynq-7000";
tmodel = "Zynq Zed Development Board";

tchosen {
ttbootargs = "console=ttyPS0,115200 rootwait root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4";
ttlinux,stdout-path = "/amba/serial@e0001000";
ttstdout-path = "/amba/serial@e0001000";
t};

taliases {
ttethernet0 = "/amba/ethernet@e000b000";
ttserial0 = "/amba/serial@e0001000";
ttspi0 = "/amba/spi@e000d000";
t};

tmemory {
ttdevice_type = "memory";
ttreg = <0x0 0x20000000>;
t};

tcpus {
tt#address-cells = <0x1>;
tt#size-cells = <0x0>;

ttcpu@0 {
tttcompatible = "arm,cortex-a9";
tttdevice_type = "cpu";
tttreg = <0x0>;
tttclocks = <0x1 0x3>;
tttclock-latency = <0x3e8>;
tttcpu0-supply = <0x2>;
tttoperating-points = <0xa2c2b 0xf4240 0x51616 0xf4240>;
tt};

ttcpu@1 {
tttcompatible = "arm,cortex-a9";
tttdevice_type = "cpu";
tttreg = <0x1>;
tttclocks = <0x1 0x3>;
tt};
t};

tpmu {
ttcompatible = "arm,cortex-a9-pmu";
ttinterrupts = <0x0 0x5 0x4 0x0 0x6 0x4>;
ttinterrupt-parent = <0x3>;
ttreg = <0xf8891000 0x1000 0xf8893000 0x1000>;
t};

tfixedregulator@0 {
ttcompatible = "regulator-fixed";
ttregulator-name = "VCCPINT";
ttregulator-min-microvolt = <0xf4240>;
ttregulator-max-microvolt = <0xf4240>;
ttregulator-boot-on;
ttregulator-always-on;
ttlinux,phandle = <0x2>;
ttphandle = <0x2>;
t};

tamba {
ttcompatible = "simple-bus";
tt#address-cells = <0x1>;
tt#size-cells = <0x1>;
ttinterrupt-parent = <0x3>;
ttranges;

ttadc@f8007100 {
tttcompatible = "xlnx,zynq-xadc-1.00.a";
tttreg = <0xf8007100 0x20>;
tttinterrupts = <0x0 0x7 0x4>;
tttinterrupt-parent = <0x3>;
tttclocks = <0x1 0xc>;
tt};

ttcan@e0008000 {
tttcompatible = "xlnx,zynq-can-1.0";
tttstatus = "disabled";
tttclocks = <0x1 0x13 0x1 0x24>;
tttclock-names = "can_clk", "pclk";
tttreg = <0xe0008000 0x1000>;
tttinterrupts = <0x0 0x1c 0x4>;
tttinterrupt-parent = <0x3>;
ttttx-fifo-depth = <0x40>;
tttrx-fifo-depth = <0x40>;
tt};

ttcan@e0009000 {
tttcompatible = "xlnx,zynq-can-1.0";
tttstatus = "disabled";
tttclocks = <0x1 0x14 0x1 0x25>;
tttclock-names = "can_clk", "pclk";
tttreg = <0xe0009000 0x1000>;
tttinterrupts = <0x0 0x33 0x4>;
tttinterrupt-parent = <0x3>;
ttttx-fifo-depth = <0x40>;
tttrx-fifo-depth = <0x40>;
tt};

ttgpio@e000a000 {
tttcompatible = "xlnx,zynq-gpio-1.0";
ttt#gpio-cells = <0x2>;
tttclocks = <0x1 0x2a>;
tttgpio-controller;
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x14 0x4>;
tttreg = <0xe000a000 0x1000>;
tt};

tti2c@e0004000 {
tttcompatible = "cdns,i2c-r1p10";
tttstatus = "disabled";
tttclocks = <0x1 0x26>;
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x19 0x4>;
tttreg = <0xe0004000 0x1000>;
ttt#address-cells = <0x1>;
ttt#size-cells = <0x0>;
tt};

tti2c@e0005000 {
tttcompatible = "cdns,i2c-r1p10";
tttstatus = "disabled";
tttclocks = <0x1 0x27>;
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x30 0x4>;
tttreg = <0xe0005000 0x1000>;
ttt#address-cells = <0x1>;
ttt#size-cells = <0x0>;
tt};

ttinterrupt-controller@f8f01000 {
tttcompatible = "arm,cortex-a9";
ttt#interrupt-cells = <0x3>;
tttinterrupt-controller;
tttreg = <0xf8f01000 0x1000 0xf8f00100 0x100>;
tttlinux,phandle = <0x3>;
tttphandle = <0x3>;
tt};

ttcache-controller@f8f02000 {
tttcompatible = "arm,pl310-cache";
tttreg = <0xf8f02000 0x1000>;
tttarm,data-latency = <0x3 0x2 0x2>;
tttarm,tag-latency = <0x2 0x2 0x2>;
tttcache-unified;
tttcache-level = <0x2>;
tt};

ttmemory-controller@f8006000 {
tttcompatible = "xlnx,zynq-ddrc-a05";
tttreg = <0xf8006000 0x1000>;
tt};

ttocmc@f800c000 {
tttcompatible = "xlnx,zynq-ocmc-1.0";
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x3 0x4>;
tttreg = <0xf800c000 0x1000>;
tt};

ttserial@e0000000 {
tttcompatible = "xlnx,xuartps", "cdns,uart-r1p8";
tttstatus = "disabled";
tttclocks = <0x1 0x17 0x1 0x28>;
tttclock-names = "uart_clk", "pclk";
tttreg = <0xe0000000 0x1000>;
tttinterrupts = <0x0 0x1b 0x4>;
tt};

ttserial@e0001000 {
tttcompatible = "xlnx,xuartps", "cdns,uart-r1p8";
tttstatus = "okay";
tttclocks = <0x1 0x18 0x1 0x29>;
tttclock-names = "uart_clk", "pclk";
tttreg = <0xe0001000 0x1000>;
tttinterrupts = <0x0 0x32 0x4>;
tt};

ttspi@e0006000 {
tttcompatible = "xlnx,zynq-spi-r1p6";
tttreg = <0xe0006000 0x1000>;
tttstatus = "disabled";
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x1a 0x4>;
tttclocks = <0x1 0x19 0x1 0x22>;
tttclock-names = "ref_clk", "pclk";
ttt#address-cells = <0x1>;
ttt#size-cells = <0x0>;
tt};

ttspi@e0007000 {
tttcompatible = "xlnx,zynq-spi-r1p6";
tttreg = <0xe0007000 0x1000>;
tttstatus = "disabled";
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x31 0x4>;
tttclocks = <0x1 0x1a 0x1 0x23>;
tttclock-names = "ref_clk", "pclk";
ttt#address-cells = <0x1>;
ttt#size-cells = <0x0>;
tt};

ttspi@e000d000 {
tttclock-names = "ref_clk", "pclk";
tttclocks = <0x1 0xa 0x1 0x2b>;
tttcompatible = "xlnx,zynq-qspi-1.0";
tttstatus = "okay";
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x13 0x4>;
tttreg = <0xe000d000 0x1000>;
ttt#address-cells = <0x1>;
ttt#size-cells = <0x0>;
tttis-dual = <0x0>;
tttnum-cs = <0x1>;

tttflash@0 {
ttttcompatible = "n25q128a11";
ttttreg = <0x0>;
ttttspi-tx-bus-width = <0x1>;
ttttspi-rx-bus-width = <0x4>;
ttttspi-max-frequency = <0x2faf080>;
tttt#address-cells = <0x1>;
tttt#size-cells = <0x1>;

ttttpartition@qspi-fsbl-uboot {
tttttlabel = "qspi-fsbl-uboot";
tttttreg = <0x0 0x100000>;
tttt};

ttttpartition@qspi-linux {
tttttlabel = "qspi-linux";
tttttreg = <0x100000 0x500000>;
tttt};

ttttpartition@qspi-device-tree {
tttttlabel = "qspi-device-tree";
tttttreg = <0x600000 0x20000>;
tttt};

ttttpartition@qspi-rootfs {
tttttlabel = "qspi-rootfs";
tttttreg = <0x620000 0x5e0000>;
tttt};

ttttpartition@qspi-bitstream {
tttttlabel = "qspi-bitstream";
tttttreg = <0xc00000 0x400000>;
tttt};
ttt};
tt};

ttmemory-controller@e000e000 {
ttt#address-cells = <0x1>;
ttt#size-cells = <0x1>;
tttstatus = "disabled";
tttclock-names = "memclk", "aclk";
tttclocks = <0x1 0xb 0x1 0x2c>;
tttcompatible = "arm,pl353-smc-r2p1";
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x12 0x4>;
tttranges;
tttreg = <0xe000e000 0x1000>;

tttflash@e1000000 {
ttttstatus = "disabled";
ttttcompatible = "arm,pl353-nand-r2p1";
ttttreg = <0xe1000000 0x1000000>;
tttt#address-cells = <0x1>;
tttt#size-cells = <0x1>;
ttt};

tttflash@e2000000 {
ttttstatus = "disabled";
ttttcompatible = "cfi-flash";
ttttreg = <0xe2000000 0x2000000>;
tttt#address-cells = <0x1>;
tttt#size-cells = <0x1>;
ttt};
tt};

eth@e000b000 {
compatible = "xlnx,ps7-ethernet-1.00.a";
reg = <0xe000b000 0x1000>;
interrupts = <0 22 0>;
phy-handle = <&phy0>;
xlnx,ptp-enet-clock = <111111111>;
xlnx,slcr-div0-1000Mbps = <8>;
xlnx,slcr-div0-100Mbps = <8>;
xlnx,slcr-div0-10Mbps = <8>;
xlnx,slcr-div1-1000Mbps = <1>;
xlnx,slcr-div1-100Mbps = <5>;
xlnx,slcr-div1-10Mbps = <50>;
#address-cells = <0x1>;
#size-cells = <0x0>;

phy0: phy@0 {
compatible = "marvell,88e1510";
device_type = "ethernet-phy";
reg = <0x0>;
marvell,reg-init=<3 16 0xff00 0x1e 3 17 0xfff0 0x0a>;
};
};

ttsdhci@e0100000 {
tttcompatible = "arasan,sdhci-8.9a";
tttstatus = "okay";
tttclock-names = "clk_xin", "clk_ahb";
tttclocks = <0x1 0x15 0x1 0x20>;
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x18 0x4>;
tttreg = <0xe0100000 0x1000>;
tt};

ttsdhci@e0101000 {
tttcompatible = "arasan,sdhci-8.9a";
tttstatus = "disabled";
tttclock-names = "clk_xin", "clk_ahb";
tttclocks = <0x1 0x16 0x1 0x21>;
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x2f 0x4>;
tttreg = <0xe0101000 0x1000>;
tt};

ttslcr@f8000000 {
ttt#address-cells = <0x1>;
ttt#size-cells = <0x1>;
tttcompatible = "xlnx,zynq-slcr", "syscon", "simple-bus";
tttreg = <0xf8000000 0x1000>;
tttranges;
tttlinux,phandle = <0x5>;
tttphandle = <0x5>;

tttclkc@100 {
tttt#clock-cells = <0x1>;
ttttcompatible = "xlnx,ps7-clkc";
ttttfclk-enable = <0xf>;
ttttclock-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";
ttttreg = <0x100 0x100>;
ttttps-clk-frequency = <0x1fca055>;
ttttlinux,phandle = <0x1>;
ttttphandle = <0x1>;
ttt};

tttpinctrl@700 {
ttttcompatible = "xlnx,pinctrl-zynq";
ttttreg = <0x700 0x200>;
ttttsyscon = <0x5>;
ttt};
tt};

ttdmac@f8003000 {
tttcompatible = "arm,pl330", "arm,primecell";
tttreg = <0xf8003000 0x1000>;
tttinterrupt-parent = <0x3>;
tttinterrupt-names = "abort", "dma0", "dma1", "dma2", "dma3", "dma4", "dma5", "dma6", "dma7";
tttinterrupts = <0x0 0xd 0x4 0x0 0xe 0x4 0x0 0xf 0x4 0x0 0x10 0x4 0x0 0x11 0x4 0x0 0x28 0x4 0x0 0x29 0x4 0x0 0x2a 0x4 0x0 0x2b 0x4>;
ttt#dma-cells = <0x1>;
ttt#dma-channels = <0x8>;
ttt#dma-requests = <0x4>;
tttclocks = <0x1 0x1b>;
tttclock-names = "apb_pclk";
tt};

ttdevcfg@f8007000 {
tttclock-names = "ref_clk", "fclk0", "fclk1", "fclk2", "fclk3";
tttclocks = <0x1 0xc 0x1 0xf 0x1 0x10 0x1 0x11 0x1 0x12>;
tttcompatible = "xlnx,zynq-devcfg-1.0";
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x8 0x4>;
tttreg = <0xf8007000 0x100>;
tt};

tttimer@f8f00200 {
tttcompatible = "arm,cortex-a9-global-timer";
tttreg = <0xf8f00200 0x20>;
tttinterrupts = <0x1 0xb 0x301>;
tttinterrupt-parent = <0x3>;
tttclocks = <0x1 0x4>;
tt};

tttimer@f8001000 {
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0xa 0x4 0x0 0xb 0x4 0x0 0xc 0x4>;
tttcompatible = "cdns,ttc";
tttclocks = <0x1 0x6>;
tttreg = <0xf8001000 0x1000>;
tt};

tttimer@f8002000 {
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x25 0x4 0x0 0x26 0x4 0x0 0x27 0x4>;
tttcompatible = "cdns,ttc";
tttclocks = <0x1 0x6>;
tttreg = <0xf8002000 0x1000>;
tt};

tttimer@f8f00600 {
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x1 0xd 0x301>;
tttcompatible = "arm,cortex-a9-twd-timer";
tttreg = <0xf8f00600 0x20>;
tttclocks = <0x1 0x4>;
tt};

ttusb@e0002000 {
tttcompatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2";
tttstatus = "okay";
tttclocks = <0x1 0x1c>;
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x15 0x4>;
tttreg = <0xe0002000 0x1000>;
tttphy_type = "ulpi";
tttdr_mode = "host";
tttusb-phy = <0x6>;
tt};

ttusb@e0003000 {
tttcompatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2";
tttstatus = "disabled";
tttclocks = <0x1 0x1d>;
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x2c 0x4>;
tttreg = <0xe0003000 0x1000>;
tttphy_type = "ulpi";
tt};

ttwatchdog@f8005000 {
tttclocks = <0x1 0x2d>;
tttcompatible = "cdns,wdt-r1p2";
tttinterrupt-parent = <0x3>;
tttinterrupts = <0x0 0x9 0x1>;
tttreg = <0xf8005000 0x1000>;
ttttimeout-sec = <0xa>;
tt};
t};

tphy0 {
ttcompatible = "usb-nop-xceiv";
tt#phy-cells = <0x0>;
ttlinux,phandle = <0x6>;
ttphandle = <0x6>;
t};
};

But with this device tree it won't even boot up. Instead it shows a kernel panic. The errors start with "irq: no irq domain found for /amba/interrupt-controller@f8f0100! ERROR: invalid interrupt number". Then there's the message "Kernel panic - not syncing: Attempted to kill the idle task!", then it stops.

Since I haven't done anything with device trees before, can anybody point out to me whats wrong? And why is my ethernet not working?

I'm using Linaro by the way.

Best regards,
Marco

Edit: I guess my board has an Marvell ethernet controller, at least there's a chip with the Marvell logo right next to the ethernet connector.

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 10 years ago

    Hello Marco,

     

    I would suggest that you start with a known good ZedBoard BSP from Xilinx to see what the device tree looks like in a working model, and then modify your custom device tree as needed.

     

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    Hi Gary,

    OK, that's a good idea, but how? I found a BSP file for the Zedboard on the Xilinx website (here's the link for further reference: http://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools.html), but I don't know what to do with this file. I tried to unzip it, but it won't work, and when I open it with a text editor, it looks like it's a binary format. So how do I get the devicetree out of it?

    Additionally, I tried to create my own BSP from the Xilinx SDK. To do that, I created a new Board Support Package, selected "zed_hw_platform" as hardware platform and "ps7_cortexa9_0" as CPU and build the project. That gave me a bunch of .c and .h files, but no makefile or some other things that would help me?!

    So any idea where I can get a working device tree?

    Best regards,
    Marco

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    I don't know why, but I can't edit my previous answer, but I also tried to clone this repository: https://github.com/analogdevicesinc/linux/tree/2014_R2 , then created a .dtb from the arch/arm/boot/dts/zynq-zed-adv7511-fmcmotcon1.dts ( I use "dtc -I dts -O dtb arch/arm/boot/dts/zynq-zed-adv7511-fmcmotcon1.dts -o devicetree.dtb" for that.) The outcome: Ethernet is still not working (still don't see an ethernet device). The same when I use the zynq-zed.dts instead (with modified bootargs (because I'm using a SD card to boot)).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    I finally got a device tree which is working for me! The Ethernet is working, system is booting and console is available via UART. For further reference and people having the same issue: Here it is!

    /dts-v1/;

    / {
    t#address-cells = <0x1>;
    t#size-cells = <0x1>;
    tcompatible = "xlnx,zynq-zed", "xlnx,zynq-7000";
    tmodel = "Zynq Zed Development Board";

    tchosen {
    ttbootargs = "console=ttyPS0,115200 rootwait root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4";
    ttlinux,stdout-path = "/amba/serial@e0001000";
    ttstdout-path = "/amba/serial@e0001000";
    t};

    taliases {
    ttethernet0 = "/amba/ethernet@e000b000";
    ttserial0 = "/amba/serial@e0001000";
    ttspi0 = "/amba/spi@e000d000";
    t};

    tmemory {
    ttdevice_type = "memory";
    ttreg = <0x0 0x20000000>;
    t};

    tcpus {
    tt#address-cells = <0x1>;
    tt#size-cells = <0x0>;

    ttcpu@0 {
    tttcompatible = "arm,cortex-a9";
    tttdevice_type = "cpu";
    tttreg = <0x0>;
    tttclocks = <0x1 0x3>;
    tttclock-latency = <0x3e8>;
    tttcpu0-supply = <0x2>;
    tttoperating-points = <0xa2c2b 0xf4240 0x51616 0xf4240>;
    tt};

    ttcpu@1 {
    tttcompatible = "arm,cortex-a9";
    tttdevice_type = "cpu";
    tttreg = <0x1>;
    tttclocks = <0x1 0x3>;
    tt};
    t};

    tpmu {
    ttcompatible = "arm,cortex-a9-pmu";
    ttinterrupts = <0x0 0x5 0x4 0x0 0x6 0x4>;
    ttinterrupt-parent = <0x3>;
    ttreg = <0xf8891000 0x1000 0xf8893000 0x1000>;
    t};

    tfixedregulator@0 {
    ttcompatible = "regulator-fixed";
    ttregulator-name = "VCCPINT";
    ttregulator-min-microvolt = <0xf4240>;
    ttregulator-max-microvolt = <0xf4240>;
    ttregulator-boot-on;
    ttregulator-always-on;
    ttlinux,phandle = <0x2>;
    ttphandle = <0x2>;
    t};

    tamba {
    ttcompatible = "simple-bus";
    tt#address-cells = <0x1>;
    tt#size-cells = <0x1>;
    ttinterrupt-parent = <0x3>;
    ttranges;

    ttadc@f8007100 {
    tttcompatible = "xlnx,zynq-xadc-1.00.a";
    tttreg = <0xf8007100 0x20>;
    tttinterrupts = <0x0 0x7 0x4>;
    tttinterrupt-parent = <0x3>;
    tttclocks = <0x1 0xc>;
    tt};

    ttcan@e0008000 {
    tttcompatible = "xlnx,zynq-can-1.0";
    tttstatus = "disabled";
    tttclocks = <0x1 0x13 0x1 0x24>;
    tttclock-names = "can_clk", "pclk";
    tttreg = <0xe0008000 0x1000>;
    tttinterrupts = <0x0 0x1c 0x4>;
    tttinterrupt-parent = <0x3>;
    ttttx-fifo-depth = <0x40>;
    tttrx-fifo-depth = <0x40>;
    tt};

    ttcan@e0009000 {
    tttcompatible = "xlnx,zynq-can-1.0";
    tttstatus = "disabled";
    tttclocks = <0x1 0x14 0x1 0x25>;
    tttclock-names = "can_clk", "pclk";
    tttreg = <0xe0009000 0x1000>;
    tttinterrupts = <0x0 0x33 0x4>;
    tttinterrupt-parent = <0x3>;
    ttttx-fifo-depth = <0x40>;
    tttrx-fifo-depth = <0x40>;
    tt};

    ttgpio@e000a000 {
    tttcompatible = "xlnx,zynq-gpio-1.0";
    ttt#gpio-cells = <0x2>;
    tttclocks = <0x1 0x2a>;
    tttgpio-controller;
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x14 0x4>;
    tttreg = <0xe000a000 0x1000>;
    tt};

    tti2c@e0004000 {
    tttcompatible = "cdns,i2c-r1p10";
    tttstatus = "disabled";
    tttclocks = <0x1 0x26>;
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x19 0x4>;
    tttreg = <0xe0004000 0x1000>;
    ttt#address-cells = <0x1>;
    ttt#size-cells = <0x0>;
    tt};

    tti2c@e0005000 {
    tttcompatible = "cdns,i2c-r1p10";
    tttstatus = "disabled";
    tttclocks = <0x1 0x27>;
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x30 0x4>;
    tttreg = <0xe0005000 0x1000>;
    ttt#address-cells = <0x1>;
    ttt#size-cells = <0x0>;
    tt};

    ttinterrupt-controller@f8f01000 {
    tttcompatible = "arm,cortex-a9-gic";
    ttt#interrupt-cells = <0x3>;
    tttinterrupt-controller;
    tttreg = <0xf8f01000 0x1000 0xf8f00100 0x100>;
    tttlinux,phandle = <0x3>;
    tttphandle = <0x3>;
    tt};

    ttcache-controller@f8f02000 {
    tttcompatible = "arm,pl310-cache";
    tttreg = <0xf8f02000 0x1000>;
    tttarm,data-latency = <0x3 0x2 0x2>;
    tttarm,tag-latency = <0x2 0x2 0x2>;
    tttcache-unified;
    tttcache-level = <0x2>;
    tt};

    ttmemory-controller@f8006000 {
    tttcompatible = "xlnx,zynq-ddrc-1.0";
    tttreg = <0xf8006000 0x1000>;
    tttxlnx,has-ecc = <0x0>;
    tt};

    ttocmc@f800c000 {
    tttcompatible = "xlnx,zynq-ocmc-1.0";
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x3 0x4>;
    tttreg = <0xf800c000 0x1000>;
    tt};

    ttserial@e0000000 {
    tttcompatible = "xlnx,xuartps", "cdns,uart-r1p8";
    tttstatus = "disabled";
    tttclocks = <0x1 0x17 0x1 0x28>;
    tttclock-names = "uart_clk", "pclk";
    tttreg = <0xe0000000 0x1000>;
    tttinterrupts = <0x0 0x1b 0x4>;
    tt};

    ttserial@e0001000 {
    tttcompatible = "xlnx,xuartps", "cdns,uart-r1p8";
    tttstatus = "okay";
    tttclocks = <0x1 0x18 0x1 0x29>;
    tttclock-names = "uart_clk", "pclk";
    tttreg = <0xe0001000 0x1000>;
    tttinterrupts = <0x0 0x32 0x4>;
    tt};

    ttspi@e0006000 {
    tttcompatible = "xlnx,zynq-spi-r1p6";
    tttreg = <0xe0006000 0x1000>;
    tttstatus = "disabled";
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x1a 0x4>;
    tttclocks = <0x1 0x19 0x1 0x22>;
    tttclock-names = "ref_clk", "pclk";
    ttt#address-cells = <0x1>;
    ttt#size-cells = <0x0>;
    tt};

    ttspi@e0007000 {
    tttcompatible = "xlnx,zynq-spi-r1p6";
    tttreg = <0xe0007000 0x1000>;
    tttstatus = "disabled";
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x31 0x4>;
    tttclocks = <0x1 0x1a 0x1 0x23>;
    tttclock-names = "ref_clk", "pclk";
    ttt#address-cells = <0x1>;
    ttt#size-cells = <0x0>;
    tt};

    ttspi@e000d000 {
    tttclock-names = "ref_clk", "pclk";
    tttclocks = <0x1 0xa 0x1 0x2b>;
    tttcompatible = "xlnx,zynq-qspi-1.0";
    tttstatus = "okay";
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x13 0x4>;
    tttreg = <0xe000d000 0x1000>;
    ttt#address-cells = <0x1>;
    ttt#size-cells = <0x0>;
    tttis-dual = <0x0>;
    tttnum-cs = <0x1>;

    tttflash@0 {
    ttttcompatible = "n25q128a11";
    ttttreg = <0x0>;
    ttttspi-tx-bus-width = <0x1>;
    ttttspi-rx-bus-width = <0x4>;
    ttttspi-max-frequency = <0x2faf080>;
    tttt#address-cells = <0x1>;
    tttt#size-cells = <0x1>;

    ttttpartition@qspi-fsbl-uboot {
    tttttlabel = "qspi-fsbl-uboot";
    tttttreg = <0x0 0x100000>;
    tttt};

    ttttpartition@qspi-linux {
    tttttlabel = "qspi-linux";
    tttttreg = <0x100000 0x500000>;
    tttt};

    ttttpartition@qspi-device-tree {
    tttttlabel = "qspi-device-tree";
    tttttreg = <0x600000 0x20000>;
    tttt};

    ttttpartition@qspi-rootfs {
    tttttlabel = "qspi-rootfs";
    tttttreg = <0x620000 0x5e0000>;
    tttt};

    ttttpartition@qspi-bitstream {
    tttttlabel = "qspi-bitstream";
    tttttreg = <0xc00000 0x400000>;
    tttt};
    ttt};
    tt};

    ttmemory-controller@e000e000 {
    ttt#address-cells = <0x1>;
    ttt#size-cells = <0x1>;
    tttstatus = "disabled";
    tttclock-names = "memclk", "aclk";
    tttclocks = <0x1 0xb 0x1 0x2c>;
    tttcompatible = "arm,pl353-smc-r2p1";
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x12 0x4>;
    tttranges;
    tttreg = <0xe000e000 0x1000>;

    tttflash@e1000000 {
    ttttstatus = "disabled";
    ttttcompatible = "arm,pl353-nand-r2p1";
    ttttreg = <0xe1000000 0x1000000>;
    tttt#address-cells = <0x1>;
    tttt#size-cells = <0x1>;
    ttt};

    tttflash@e2000000 {
    ttttstatus = "disabled";
    ttttcompatible = "cfi-flash";
    ttttreg = <0xe2000000 0x1000>;
    tttt#address-cells = <0x1>;
    tttt#size-cells = <0x1>;
    ttt};
    tt};

    ttethernet@e000b000 {
    tttcompatible = "xlnx,ps7-ethernet-1.00.a";
    tttreg = <0xe000b000 0x1000>;
    tttstatus = "okay";
    tttinterrupts = <0x0 0x16 0x4>;
    tttclocks = <0x1 0xd 0x1 0x1e>;
    tttclock-names = "ref_clk", "aper_clk";
    tttlocal-mac-address = [00 0a 35 00 00 00];
    tttxlnx,has-mdio = <0x1>;
    ttt#address-cells = <0x1>;
    ttt#size-cells = <0x0>;
    tttphy-mode = "rgmii-id";
    tttphy-handle = <0x4>;

    tttphy@0 {
    ttttreg = <0x0>;
    ttttlinux,phandle = <0x4>;
    ttttphandle = <0x4>;
    ttt};
    tt};

    ttethernet@e000c000 {
    tttcompatible = "xlnx,ps7-ethernet-1.00.a";
    tttreg = <0xe000c000 0x1000>;
    tttstatus = "disabled";
    tttinterrupts = <0x0 0x2d 0x4>;
    tttclocks = <0x1 0xe 0x1 0x1f>;
    tttclock-names = "ref_clk", "aper_clk";
    tttlocal-mac-address = [00 0a 35 00 00 00];
    tttxlnx,has-mdio = <0x1>;
    ttt#address-cells = <0x1>;
    ttt#size-cells = <0x0>;
    tt};

    ttsdhci@e0100000 {
    tttcompatible = "arasan,sdhci-8.9a";
    tttstatus = "okay";
    tttclock-names = "clk_xin", "clk_ahb";
    tttclocks = <0x1 0x15 0x1 0x20>;
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x18 0x4>;
    tttreg = <0xe0100000 0x1000>;
    tt};

    ttsdhci@e0101000 {
    tttcompatible = "arasan,sdhci-8.9a";
    tttstatus = "disabled";
    tttclock-names = "clk_xin", "clk_ahb";
    tttclocks = <0x1 0x16 0x1 0x21>;
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x2f 0x4>;
    tttreg = <0xe0101000 0x1000>;
    tt};

    ttslcr@f8000000 {
    ttt#address-cells = <0x1>;
    ttt#size-cells = <0x1>;
    tttcompatible = "xlnx,zynq-slcr", "syscon";
    tttreg = <0xf8000000 0x1000>;
    tttranges;

    tttclkc@100 {
    tttt#clock-cells = <0x1>;
    ttttcompatible = "xlnx,ps7-clkc";
    ttttps-clk-frequency = <0x1fca055>;
    ttttfclk-enable = <0xf>;
    ttttclock-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";
    ttttreg = <0x100 0x100>;
    ttttlinux,phandle = <0x1>;
    ttttphandle = <0x1>;
    ttt};
    tt};

    ttdmac@f8003000 {
    tttcompatible = "arm,pl330", "arm,primecell";
    tttreg = <0xf8003000 0x1000>;
    tttinterrupt-parent = <0x3>;
    tttinterrupt-names = "abort", "dma0", "dma1", "dma2", "dma3", "dma4", "dma5", "dma6", "dma7";
    tttinterrupts = <0x0 0xd 0x4 0x0 0xe 0x4 0x0 0xf 0x4 0x0 0x10 0x4 0x0 0x11 0x4 0x0 0x28 0x4 0x0 0x29 0x4 0x0 0x2a 0x4 0x0 0x2b 0x4>;
    ttt#dma-cells = <0x1>;
    ttt#dma-channels = <0x8>;
    ttt#dma-requests = <0x4>;
    tttclocks = <0x1 0x1b>;
    tttclock-names = "apb_pclk";
    tt};

    ttdevcfg@f8007000 {
    tttclock-names = "ref_clk", "fclk0", "fclk1", "fclk2", "fclk3";
    tttclocks = <0x1 0xc 0x1 0xf 0x1 0x10 0x1 0x11 0x1 0x12>;
    tttcompatible = "xlnx,zynq-devcfg-1.0";
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x8 0x4>;
    tttreg = <0xf8007000 0x100>;
    tt};

    tttimer@f8f00200 {
    tttcompatible = "arm,cortex-a9-global-timer";
    tttreg = <0xf8f00200 0x20>;
    tttinterrupts = <0x1 0xb 0x301>;
    tttinterrupt-parent = <0x3>;
    tttclocks = <0x1 0x4>;
    tt};

    tttimer@f8001000 {
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0xa 0x4 0x0 0xb 0x4 0x0 0xc 0x4>;
    tttcompatible = "cdns,ttc";
    tttclocks = <0x1 0x6>;
    tttreg = <0xf8001000 0x1000>;
    tt};

    tttimer@f8002000 {
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x25 0x4 0x0 0x26 0x4 0x0 0x27 0x4>;
    tttcompatible = "cdns,ttc";
    tttclocks = <0x1 0x6>;
    tttreg = <0xf8002000 0x1000>;
    tt};

    tttimer@f8f00600 {
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x1 0xd 0x301>;
    tttcompatible = "arm,cortex-a9-twd-timer";
    tttreg = <0xf8f00600 0x20>;
    tttclocks = <0x1 0x4>;
    tt};

    ttwatchdog@f8005000 {
    tttclocks = <0x1 0x2d>;
    tttcompatible = "xlnx,zynq-wdt-r1p2";
    tttdevice_type = "watchdog";
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x9 0x1>;
    tttreg = <0xf8005000 0x1000>;
    tttreset = <0x0>;
    ttttimeout-sec = <0xa>;
    tt};

    ttusb@e0002000 {
    tttclocks = <0x1 0x1c>;
    tttcompatible = "xlnx,ps7-usb-1.00.a", "xlnx,zynq-usb-1.00.a";
    tttstatus = "okay";
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x15 0x4>;
    tttreg = <0xe0002000 0x1000>;
    tttdr_mode = "host";
    tttphy_type = "ulpi";
    tt};

    ttusb@e0003000 {
    tttclocks = <0x1 0x1d>;
    tttcompatible = "xlnx,ps7-usb-1.00.a", "xlnx,zynq-usb-1.00.a";
    tttstatus = "disabled";
    tttinterrupt-parent = <0x3>;
    tttinterrupts = <0x0 0x2c 0x4>;
    tttreg = <0xe0003000 0x1000>;
    tt};
    t};
    };

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube