diff options
author | Nathan Rossi <nathan.rossi@xilinx.com> | 2015-04-14 12:20:32 +1000 |
---|---|---|
committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2015-04-14 14:01:18 +1000 |
commit | e1a7205fa5cf2a6186121c8394cb18d59b477e27 (patch) | |
tree | c166fd1aea0b9b63dfdcf3ef53fca145c0bbadb1 | |
parent | 45a50328f83e38c3431aa0aa80079b4fda8adde9 (diff) | |
download | meta-xilinx-e1a7205fa5cf2a6186121c8394cb18d59b477e27.tar.gz |
picozed-zynq7: Add machine config and device trees for picoZed SOM
* Add the device tree includes for the picoZed SOM
* Add machine config for the picoZed SOM
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r-- | conf/machine/boards/picozed/picozed-zynq7-board.dtsi | 71 | ||||
-rw-r--r-- | conf/machine/boards/picozed/picozed-zynq7.dts | 5 | ||||
-rw-r--r-- | conf/machine/picozed-zynq7.conf | 25 |
3 files changed, 101 insertions, 0 deletions
diff --git a/conf/machine/boards/picozed/picozed-zynq7-board.dtsi b/conf/machine/boards/picozed/picozed-zynq7-board.dtsi new file mode 100644 index 00000000..a65cd9ec --- /dev/null +++ b/conf/machine/boards/picozed/picozed-zynq7-board.dtsi | |||
@@ -0,0 +1,71 @@ | |||
1 | / { | ||
2 | model = "Avnet picoZed"; | ||
3 | chosen { | ||
4 | bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/ram rw"; | ||
5 | linux,stdout-path = "/axi@0/serial@e0001000"; | ||
6 | } ; | ||
7 | ps7_ddr_0: memory@0 { | ||
8 | device_type = "memory"; | ||
9 | reg = <0x0 0x40000000>; | ||
10 | } ; | ||
11 | ps7_axi_interconnect_0: amba@0 { | ||
12 | ps7_ethernet_0: ps7-ethernet@e000b000 { | ||
13 | phy-handle = <&phy0>; | ||
14 | phy-mode = "rgmii-id"; | ||
15 | mdio { | ||
16 | phy0: phy@0 { | ||
17 | compatible = "marvell,88e1512"; | ||
18 | device_type = "ethernet-phy"; | ||
19 | reg = <0>; | ||
20 | } ; | ||
21 | } ; | ||
22 | } ; | ||
23 | ps7_qspi_0: ps7-qspi@e000d000 { | ||
24 | flash@0 { | ||
25 | compatible = "n25q128"; | ||
26 | reg = <0x0>; | ||
27 | spi-max-frequency = <50000000>; | ||
28 | #address-cells = <1>; | ||
29 | #size-cells = <1>; | ||
30 | partition@qspi-fsbl-uboot { | ||
31 | label = "qspi-fsbl-uboot"; | ||
32 | reg = <0x0 0x100000>; | ||
33 | }; | ||
34 | partition@qspi-linux { | ||
35 | label = "qspi-linux"; | ||
36 | reg = <0x100000 0x500000>; | ||
37 | }; | ||
38 | partition@qspi-device-tree { | ||
39 | label = "qspi-device-tree"; | ||
40 | reg = <0x600000 0x20000>; | ||
41 | }; | ||
42 | partition@qspi-rootfs { | ||
43 | label = "qspi-rootfs"; | ||
44 | reg = <0x620000 0x5E0000>; | ||
45 | }; | ||
46 | partition@qspi-bitstream { | ||
47 | label = "qspi-bitstream"; | ||
48 | reg = <0xC00000 0x400000>; | ||
49 | }; | ||
50 | }; | ||
51 | } ; | ||
52 | ps7_usb_0: ps7-usb@e0002000 { | ||
53 | xlnx,phy-reset-gpio = <&ps7_gpio_0 7 0>; /* MIO USB PHY Reset */ | ||
54 | } ; | ||
55 | ps7_sd_1: ps7-sdio@e0101000 { | ||
56 | /* The SD1 interface is connected to the non-removable eMMC */ | ||
57 | non-removable; | ||
58 | } ; | ||
59 | |||
60 | /* Disabled Devices */ | ||
61 | ps7_sd_0: ps7-sdio@e0100000 { 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/picozed/picozed-zynq7.dts b/conf/machine/boards/picozed/picozed-zynq7.dts new file mode 100644 index 00000000..cd580c9e --- /dev/null +++ b/conf/machine/boards/picozed/picozed-zynq7.dts | |||
@@ -0,0 +1,5 @@ | |||
1 | /dts-v1/; | ||
2 | /include/ "zynq7-base.dtsi" | ||
3 | /include/ "picozed-zynq7-board.dtsi" | ||
4 | / { | ||
5 | } ; | ||
diff --git a/conf/machine/picozed-zynq7.conf b/conf/machine/picozed-zynq7.conf new file mode 100644 index 00000000..0573a30b --- /dev/null +++ b/conf/machine/picozed-zynq7.conf | |||
@@ -0,0 +1,25 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: picozed-zynq7 | ||
3 | #@DESCRIPTION: Machine support for picoZed. (http://www.picozed.org/) | ||
4 | # | ||
5 | # Note: This machine configuration is intended as a generic config for | ||
6 | # the picozed SOM. It also covers the multiple SKUs for the picoZed | ||
7 | # including 7010, 7020, 7015 and 7030. | ||
8 | |||
9 | require conf/machine/include/tune-zynq.inc | ||
10 | require conf/machine/include/machine-xilinx-default.inc | ||
11 | require conf/machine/include/machine-xilinx-board.inc | ||
12 | |||
13 | # microZed machine definition known by Xilinx UBOOT | ||
14 | UBOOT_MACHINE = "zynq_picozed_config" | ||
15 | |||
16 | SERIAL_CONSOLE = "115200 ttyPS0" | ||
17 | |||
18 | MACHINE_DEVICETREE := " \ | ||
19 | picozed/picozed-zynq7-board.dtsi \ | ||
20 | picozed/picozed-zynq7.dts \ | ||
21 | " | ||
22 | |||
23 | IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb" | ||
24 | |||
25 | EXTRA_IMAGEDEPENDS += "virtual/boot-bin" | ||