summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2015-04-13 16:26:59 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2015-04-14 14:00:45 +1000
commitb43630ac75fe2cb9453c534ac5b4868b4ec96ca0 (patch)
treef5233d412cff40d84955763b3c7f6ab250e2b5b1
parentef6df511d45bde586b502fd7b48afcb3e1b22f27 (diff)
downloadmeta-xilinx-b43630ac75fe2cb9453c534ac5b4868b4ec96ca0.tar.gz
microzed-zynq7: Add machine and device trees for microZed
* Add machine config for the microZed board * Add device tree includes for the microZed board Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r--conf/machine/boards/microzed/microzed-zynq7-board.dtsi71
-rw-r--r--conf/machine/boards/microzed/microzed-zynq7.dts5
-rw-r--r--conf/machine/microzed-zynq7.conf22
3 files changed, 98 insertions, 0 deletions
diff --git a/conf/machine/boards/microzed/microzed-zynq7-board.dtsi b/conf/machine/boards/microzed/microzed-zynq7-board.dtsi
new file mode 100644
index 00000000..a231f179
--- /dev/null
+++ b/conf/machine/boards/microzed/microzed-zynq7-board.dtsi
@@ -0,0 +1,71 @@
1/*
2 * microZed DTS for generic boot.
3 */
4
5/ {
6 model = "Avnet microZed";
7 chosen {
8 bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/ram rw";
9 linux,stdout-path = "/axi@0/serial@e0001000";
10 } ;
11 ps7_ddr_0: memory@0 {
12 device_type = "memory";
13 reg = <0x0 0x40000000>;
14 } ;
15 ps7_axi_interconnect_0: amba@0 {
16 ps7_ethernet_0: ps7-ethernet@e000b000 {
17 phy-handle = <&phy0>;
18 phy-mode = "rgmii-id";
19 mdio {
20 phy0: phy@0 {
21 compatible = "marvell,88e1512";
22 device_type = "ethernet-phy";
23 reg = <0>;
24 } ;
25 } ;
26 } ;
27 ps7_qspi_0: ps7-qspi@e000d000 {
28 flash@0 {
29 compatible = "n25q128";
30 reg = <0x0>;
31 spi-max-frequency = <50000000>;
32 #address-cells = <1>;
33 #size-cells = <1>;
34 partition@qspi-fsbl-uboot {
35 label = "qspi-fsbl-uboot";
36 reg = <0x0 0x100000>;
37 };
38 partition@qspi-linux {
39 label = "qspi-linux";
40 reg = <0x100000 0x500000>;
41 };
42 partition@qspi-device-tree {
43 label = "qspi-device-tree";
44 reg = <0x600000 0x20000>;
45 };
46 partition@qspi-rootfs {
47 label = "qspi-rootfs";
48 reg = <0x620000 0x5E0000>;
49 };
50 partition@qspi-bitstream {
51 label = "qspi-bitstream";
52 reg = <0xC00000 0x400000>;
53 };
54 };
55 } ;
56 ps7_usb_0: ps7-usb@e0002000 {
57 xlnx,phy-reset-gpio = <&ps7_gpio_0 7 0>; /* MIO USB PHY Reset */
58 } ;
59
60 /* Disabled Devices */
61 ps7_sd_1: ps7-sdio@e0101000 { compatible = "invalid"; };
62 ps7_uart_0: serial@e0000000 { compatible = "invalid"; };
63 ps7_ethernet_1: ps7-ethernet@e000c000 { compatible = "invalid"; };
64 ps7_i2c_0: ps7-i2c@e0004000 { compatible = "invalid"; };
65 ps7_i2c_1: ps7-i2c@e0005000 { compatible = "invalid"; };
66 ps7_wdt_0: ps7-wdt@f8005000 { compatible = "invalid"; };
67 ps7_can_0: ps7-can@e0008000 { compatible = "invalid"; };
68 ps7_can_1: ps7-can@e0009000 { compatible = "invalid"; };
69 ps7_usb_1: ps7-usb@e0003000 { compatible = "invalid"; };
70 } ;
71} ;
diff --git a/conf/machine/boards/microzed/microzed-zynq7.dts b/conf/machine/boards/microzed/microzed-zynq7.dts
new file mode 100644
index 00000000..3470e5ad
--- /dev/null
+++ b/conf/machine/boards/microzed/microzed-zynq7.dts
@@ -0,0 +1,5 @@
1/dts-v1/;
2/include/ "zynq7-base.dtsi"
3/include/ "microzed-zynq7-board.dtsi"
4/ {
5} ;
diff --git a/conf/machine/microzed-zynq7.conf b/conf/machine/microzed-zynq7.conf
new file mode 100644
index 00000000..2831eee3
--- /dev/null
+++ b/conf/machine/microzed-zynq7.conf
@@ -0,0 +1,22 @@
1#@TYPE: Machine
2#@NAME: microzed-zynq7
3#@DESCRIPTION: Machine support for microZed. (http://www.microzed.org/)
4
5require conf/machine/include/tune-zynq.inc
6require conf/machine/include/machine-xilinx-default.inc
7require conf/machine/include/machine-xilinx-board.inc
8
9# microZed machine definition known by Xilinx UBOOT
10UBOOT_MACHINE = "zynq_microzed_config"
11
12SERIAL_CONSOLE = "115200 ttyPS0"
13
14MACHINE_DEVICETREE := " \
15 microzed/microzed-zynq7-board.dtsi \
16 microzed/microzed-zynq7.dts \
17 "
18
19IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb"
20
21EXTRA_IMAGEDEPENDS += "virtual/boot-bin"
22