aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/recipes-bsp/device-tree/files/picozed-zynq7.dts
blob: 4ec64f5e2926f7ae9d95d4cbd1ad29e0a5d784da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/dts-v1/;
/include/ "zynq-7000.dtsi"
/include/ "zynq-7000-qspi-dummy.dtsi"

/ {
	model = "Avnet picoZed";
	compatible = "avnet,picozed", "xlnx,zynq-7000";

	aliases {
		ethernet0 = &gem0;
		serial0 = &uart1;
	};

	memory {
		device_type = "memory";
		reg = <0x0 0x40000000>;
	};

	chosen {
		bootargs = "earlyprintk";
		stdout-path = "serial0:115200n8";
	};

	usb_phy0: phy0 {
		compatible = "usb-nop-xceiv";
		#phy-cells = <0>;
		reset-gpios = <&gpio0 7 1>; /* MIO 7, GPIO_ACTIVE_LOW */
	};
};

&gem0 {
	status = "okay";
	phy-mode = "rgmii-id";
	phy-handle = <&ethernet_phy>;

	ethernet_phy: ethernet-phy@0 {
		compatible = "marvell,88e1512";
		device_type = "ethernet-phy";
		reg = <0>;
	};
};

&sdhci1 {
	status = "okay";
	/* SD1 is onnected to a non-removable eMMC flash device */
	non-removable;
};

&uart1 {
	status = "okay";
};

&usb0 {
	status = "okay";
	dr_mode = "host";
	usb-phy = <&usb_phy0>;
};

&qspi {
	status = "okay";
	primary_flash: ps7-qspi@0 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "micron,m25p80", "spansion,s25fl128s", "jedec,spi-nor";
		reg = <0x0>;
		spi-max-frequency = <50000000>;
		/* Example 16M partition table using U-Boot + U-Boot SPL */
		partition@0x0 {
			label = "boot";
			reg = <0x0 0xe0000>;
		};
		partition@0xe0000 {
			label = "ubootenv";
			reg = <0xe0000 0x20000>;
		};
		partition@0x100000 {
			label = "uboot";
			reg = <0x100000 0x100000>;
		};
		partition@0x200000 {
			label = "kernel";
			reg = <0x200000 0x4f0000>;
		};
		partition@0x6f0000 {
			label = "devicetree";
			reg = <0x6f0000 0x10000>;
		};
		partition@0x700000 {
			label = "rootfs";
			reg = <0x700000 0x400000>;
		};
		partition@0xb00000 {
			label = "spare";
			reg = <0xb00000 0x500000>;
		};
	};
};