summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp/recipes-bsp/device-tree/files/qemu-zynq7.dts
diff options
context:
space:
mode:
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2017-12-06 16:06:35 -0800
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2017-12-13 16:11:14 -0800
commita18947c20dba2c0c38db8bde1ad4684995df4bbd (patch)
tree917bf2abbe439a6f99ede8cfafb25812dca54a9a /meta-xilinx-bsp/recipes-bsp/device-tree/files/qemu-zynq7.dts
parent6ddc5873b0ede30e6542f0ab151a6236acc37944 (diff)
downloadmeta-xilinx-a18947c20dba2c0c38db8bde1ad4684995df4bbd.tar.gz
meta-xilinx: Restructuring meta-xilinx to support multiple layers
As discussed previously on mailing list, we are proceeding with layer restructuring. For rocko release we will have the following layers meta-xilinx ->meta-xilinx-bsp (current meta-xilinx) ->meta-xilinx-contrib In the subsequent releases we will add other layers from Xilinx meta-xilinx ->meta-xilinx-bsp (current meta-xilinx) ->meta-petalinux ->meta-xilinx-tools ->meta-xilinx-contrib This will provide one clone to get all the required meta layers from Xilinx for a complete solution, and the users can blacklist any layer which they don't want to use using bblayer.conf. This will enables us to help our vendors/partners to add their reference designs, board definitions etc. Recipe changes : * Move reference design zybo-linux-bd.bb to meta-xilinx-contrib * Move kernel patches realted to zybo-linux-bd-zynq7 board to meta-xilinx-contrib * Update README Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-bsp/device-tree/files/qemu-zynq7.dts')
-rw-r--r--meta-xilinx-bsp/recipes-bsp/device-tree/files/qemu-zynq7.dts85
1 files changed, 85 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/files/qemu-zynq7.dts b/meta-xilinx-bsp/recipes-bsp/device-tree/files/qemu-zynq7.dts
new file mode 100644
index 00000000..cd0694d6
--- /dev/null
+++ b/meta-xilinx-bsp/recipes-bsp/device-tree/files/qemu-zynq7.dts
@@ -0,0 +1,85 @@
1/dts-v1/;
2/include/ "zynq-7000.dtsi"
3/include/ "zynq-7000-qspi-dummy.dtsi"
4
5/ {
6 model = "Zynq A9 QEMU";
7 compatible = "qemu,xilinx-zynq-a9", "xlnx,zynq-7000";
8
9 aliases {
10 ethernet0 = &gem0;
11 serial0 = &uart1;
12 };
13
14 memory {
15 device_type = "memory";
16 reg = <0x0 0x40000000>;
17 };
18
19 chosen {
20 bootargs = "earlyprintk";
21 stdout-path = "serial0:115200n8";
22 };
23};
24
25&amba {
26 /* Setup a fixed 25 MHz clock (100Mbps) to trick the ethernet driver */
27 fixednetclk: clock {
28 #clock-cells = <0>;
29 compatible = "fixed-clock";
30 clock-frequency = <25000000>;
31 };
32};
33
34&gem0 {
35 status = "okay";
36 clocks = <&clkc 30>, <&clkc 30>, <&fixednetclk>, <&fixednetclk>, <&clkc 30>;
37 phy-mode = "rgmii-id";
38 phy-handle = <&ethernet_phy>;
39
40 ethernet_phy: ethernet-phy@23 {
41 device_type = "ethernet-phy";
42 reg = <23>;
43 };
44};
45
46&sdhci0 {
47 status = "okay";
48};
49
50&uart1 {
51 status = "okay";
52};
53
54&qspi {
55 status = "okay";
56 is-dual = <1>;
57 primary_flash: ps7-qspi@0 {
58 #address-cells = <1>;
59 #size-cells = <1>;
60 compatible = "st,m25p80";
61 reg = <0x0>;
62 spi-max-frequency = <50000000>;
63 partition@0x00000000 {
64 label = "boot";
65 reg = <0x00000000 0x00500000>;
66 };
67 partition@0x00500000 {
68 label = "bootenv";
69 reg = <0x00500000 0x00020000>;
70 };
71 partition@0x00520000 {
72 label = "config";
73 reg = <0x00520000 0x00020000>;
74 };
75 partition@0x00540000 {
76 label = "image";
77 reg = <0x00540000 0x00a80000>;
78 };
79 partition@0x00fc0000 {
80 label = "spare";
81 reg = <0x00fc0000 0x00000000>;
82 };
83 };
84};
85