Linux Audio

Check our new training course

Loading...
v6.2
 1// SPDX-License-Identifier: GPL-2.0
 2/*
 3 *  Copyright (C) 2011 - 2014 Xilinx
 4 *  Copyright (C) 2012 National Instruments Corp.
 
 
 
 
 
 
 
 
 
 5 */
 6/dts-v1/;
 7#include "zynq-7000.dtsi"
 8
 9/ {
10	model = "Digilent Zybo board";
11	compatible = "digilent,zynq-zybo", "xlnx,zynq-7000";
12
13	aliases {
14		ethernet0 = &gem0;
15		serial0 = &uart1;
16		mmc0 = &sdhci0;
17	};
18
19	memory@0 {
20		device_type = "memory";
21		reg = <0x0 0x20000000>;
22	};
23
24	chosen {
25		bootargs = "";
26		stdout-path = "serial0:115200n8";
27	};
28
29	usb_phy0: phy0 {
30		#phy-cells = <0>;
31		compatible = "usb-nop-xceiv";
32		reset-gpios = <&gpio0 46 1>;
33	};
34};
35
36&clkc {
37	ps-clk-frequency = <50000000>;
38};
39
40&gem0 {
41	status = "okay";
42	phy-mode = "rgmii-id";
43	phy-handle = <&ethernet_phy>;
44
45	ethernet_phy: ethernet-phy@0 {
46		reg = <0>;
47		device_type = "ethernet-phy";
48	};
49};
50
51&sdhci0 {
52	status = "okay";
53};
54
55&uart1 {
56	status = "okay";
57};
58
59&usb0 {
60	status = "okay";
61	dr_mode = "host";
62	usb-phy = <&usb_phy0>;
63};
v4.10.11
 
 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/ "zynq-7000.dtsi"
16
17/ {
18	model = "Zynq ZYBO Development Board";
19	compatible = "digilent,zynq-zybo", "xlnx,zynq-7000";
20
21	aliases {
22		ethernet0 = &gem0;
23		serial0 = &uart1;
 
24	};
25
26	memory@0 {
27		device_type = "memory";
28		reg = <0x0 0x20000000>;
29	};
30
31	chosen {
32		bootargs = "earlycon";
33		stdout-path = "serial0:115200n8";
34	};
35
36	usb_phy0: phy0 {
37		#phy-cells = <0>;
38		compatible = "usb-nop-xceiv";
39		reset-gpios = <&gpio0 46 1>;
40	};
41};
42
43&clkc {
44	ps-clk-frequency = <50000000>;
45};
46
47&gem0 {
48	status = "okay";
49	phy-mode = "rgmii-id";
50	phy-handle = <&ethernet_phy>;
51
52	ethernet_phy: ethernet-phy@0 {
53		reg = <0>;
 
54	};
55};
56
57&sdhci0 {
58	status = "okay";
59};
60
61&uart1 {
62	status = "okay";
63};
64
65&usb0 {
66	status = "okay";
67	dr_mode = "host";
68	usb-phy = <&usb_phy0>;
69};