]> rtime.felk.cvut.cz Git - zynq/linux-build.git/blob - src/microzed.dts
rootfs: Intialize eth0 on boot
[zynq/linux-build.git] / src / microzed.dts
1 /*
2  *  Copyright (C) 2011 - 2014 Xilinx
3  *  Copyright (C) 2012 National Instruments Corp.
4  *
5  * This software is licensed under the terms of the GNU General Public
6  * License version 2, as published by the Free Software Foundation, and
7  * may be copied, distributed, and modified under those terms.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  */
14 /dts-v1/;
15 /include/ "linux/source/arch/arm/boot/dts/zynq-7000.dtsi"
16
17 / {
18         model = "Zynq MicroZed";
19         compatible = "xlnx,zynq-zed", "xlnx,zynq-7000";
20
21         aliases {
22                 ethernet0 = &gem0;
23                 serial0 = &uart1;
24         };
25
26         memory {
27                 device_type = "memory";
28                 reg = <0x0 0x40000000>;
29         };
30
31         chosen {
32                 bootargs = "root=/dev/ram0 rw console=ttyPS1,115200 earlyprintk";
33         };
34
35         usb_phy0: phy0 {
36                 compatible = "usb-nop-xceiv";
37                 #phy-cells = <0>;
38         };
39 };
40
41 &clkc {
42         ps-clk-frequency = <33333333>;
43 };
44
45 &gem0 {
46         status = "okay";
47         phy-mode = "rgmii-id";
48         phy-handle = <&ethernet_phy>;
49
50         ethernet_phy: ethernet-phy@0 {
51                 reg = <0>;
52         };
53 };
54
55 &sdhci0 {
56         status = "okay";
57 };
58
59 &uart0 {
60         status = "okay";
61 };
62
63 &uart1 {
64         status = "okay";
65 };
66
67 &usb0 {
68         status = "okay";
69         dr_mode = "host";
70         usb-phy = <&usb_phy0>;
71 };
72
73 &can0 {
74         status = "okay";
75 };
76
77 &can1 {
78         status = "okay";
79 };