diff options
| author | Sipke Vriend <sipke.vriend@xilinx.com> | 2013-08-12 13:24:32 +1000 |
|---|---|---|
| committer | Sipke Vriend <sipke.vriend@xilinx.com> | 2013-08-12 13:24:32 +1000 |
| commit | 562d5636cfd2fc3f2c3858f74c521eeaed5e867e (patch) | |
| tree | 8b964ce1343d59e7998f1aeb31d2962433e22996 | |
| parent | 31b1ec743cc0c6484c426bc7e1621a0608f0a1ea (diff) | |
| download | meta-xilinx-562d5636cfd2fc3f2c3858f74c521eeaed5e867e.tar.gz | |
conf:machine: Add zc706 evaluation board support.
Add zc706-zynq7 machine dts files.
Signed-off-by: Sipke Vriend <sipke.vriend@xilinx.com>
| -rw-r--r-- | conf/machine/boards/zc706/zc706-zynq7-mmcblk0p2.dts | 11 | ||||
| -rw-r--r-- | conf/machine/boards/zc706/zc706-zynq7-ram.dts | 12 | ||||
| -rw-r--r-- | conf/machine/boards/zc706/zc706-zynq7.dtsi | 134 | ||||
| -rw-r--r-- | conf/machine/zc706-zynq7.conf | 26 |
4 files changed, 183 insertions, 0 deletions
diff --git a/conf/machine/boards/zc706/zc706-zynq7-mmcblk0p2.dts b/conf/machine/boards/zc706/zc706-zynq7-mmcblk0p2.dts new file mode 100644 index 00000000..7aac0adc --- /dev/null +++ b/conf/machine/boards/zc706/zc706-zynq7-mmcblk0p2.dts | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | /* | ||
| 2 | * Zedboard DTS file header for sdcard/mmc partition 2 boot. | ||
| 3 | */ | ||
| 4 | |||
| 5 | /dts-v1/; | ||
| 6 | /include/ "zc706-zynq7.dtsi" | ||
| 7 | / { | ||
| 8 | chosen { | ||
| 9 | bootargs = "console=ttyPS0,115200 root=/dev/mmcblk0p2 ro earlyprintk"; | ||
| 10 | } ; | ||
| 11 | } ; | ||
diff --git a/conf/machine/boards/zc706/zc706-zynq7-ram.dts b/conf/machine/boards/zc706/zc706-zynq7-ram.dts new file mode 100644 index 00000000..70bb5fd3 --- /dev/null +++ b/conf/machine/boards/zc706/zc706-zynq7-ram.dts | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | /* | ||
| 2 | * ZC706 DTS file header for ramdisk boot. | ||
| 3 | */ | ||
| 4 | |||
| 5 | /dts-v1/; | ||
| 6 | /include/ "zc706-zynq7.dtsi" | ||
| 7 | / { | ||
| 8 | chosen { | ||
| 9 | bootargs = "console=ttyPS0,115200 root=/dev/ram rw earlyprintk"; | ||
| 10 | linux,stdout-path = "/amba@0/serial@e0001000"; | ||
| 11 | } ; | ||
| 12 | } ; | ||
diff --git a/conf/machine/boards/zc706/zc706-zynq7.dtsi b/conf/machine/boards/zc706/zc706-zynq7.dtsi new file mode 100644 index 00000000..25d11ac9 --- /dev/null +++ b/conf/machine/boards/zc706/zc706-zynq7.dtsi | |||
| @@ -0,0 +1,134 @@ | |||
| 1 | /include/ "zynq-7-base.dtsi" | ||
| 2 | / { | ||
| 3 | model = "Xilinx ZC706"; | ||
| 4 | chosen { | ||
| 5 | bootargs = "console=ttyPS0,115200 earlyprintk"; | ||
| 6 | linux,stdout-path = "/amba@0/serial@e0001000"; | ||
| 7 | } ; | ||
| 8 | ps7_ddr_0: memory@0 { | ||
| 9 | device_type = "memory"; | ||
| 10 | reg = < 0x0 0x40000000 >; | ||
| 11 | } ; | ||
| 12 | ps7_axi_interconnect_0: amba@0 { | ||
| 13 | ps7_ethernet_0: ps7-ethernet@e000b000 { | ||
| 14 | phy-handle = <&phy0>; | ||
| 15 | phy-mode = "gmii"; | ||
| 16 | mdio { | ||
| 17 | phy0: phy@7 { | ||
| 18 | compatible = "marvell,88e1116r"; | ||
| 19 | device_type = "ethernet-phy"; | ||
| 20 | reg = <7>; | ||
| 21 | } ; | ||
| 22 | } ; | ||
| 23 | } ; | ||
| 24 | ps7_qspi_0: ps7-qspi@e000d000 { | ||
| 25 | flash@0 { | ||
| 26 | compatible = "n25q128"; | ||
| 27 | reg = <0x0>; | ||
| 28 | spi-max-frequency = <50000000>; | ||
| 29 | #address-cells = <1>; | ||
| 30 | #size-cells = <1>; | ||
| 31 | partition@qspi-fsbl-uboot { | ||
| 32 | label = "qspi-fsbl-uboot"; | ||
| 33 | reg = <0x0 0x100000>; | ||
| 34 | }; | ||
| 35 | partition@qspi-linux { | ||
| 36 | label = "qspi-linux"; | ||
| 37 | reg = <0x100000 0x500000>; | ||
| 38 | }; | ||
| 39 | partition@qspi-device-tree { | ||
| 40 | label = "qspi-device-tree"; | ||
| 41 | reg = <0x600000 0x20000>; | ||
| 42 | }; | ||
| 43 | partition@qspi-rootfs { | ||
| 44 | label = "qspi-rootfs"; | ||
| 45 | reg = <0x620000 0x5E0000>; | ||
| 46 | }; | ||
| 47 | partition@qspi-bitstream { | ||
| 48 | label = "qspi-bitstream"; | ||
| 49 | reg = <0xC00000 0x400000>; | ||
| 50 | }; | ||
| 51 | }; | ||
| 52 | } ; | ||
| 53 | ps7_i2c_0: ps7-i2c@e0004000 { | ||
| 54 | /* I2C Switch */ | ||
| 55 | i2cswitch@74 { | ||
| 56 | compatible = "nxp,pca9548"; | ||
| 57 | #address-cells = <1>; | ||
| 58 | #size-cells = <0>; | ||
| 59 | reg = <0x74>; | ||
| 60 | |||
| 61 | i2c@0 { | ||
| 62 | #address-cells = <1>; | ||
| 63 | #size-cells = <0>; | ||
| 64 | reg = <0>; | ||
| 65 | osc@5d { | ||
| 66 | compatible = "si570"; | ||
| 67 | reg = <0x5d>; | ||
| 68 | factory-fout = <156250000>; | ||
| 69 | initial-fout = <148500000>; | ||
| 70 | }; | ||
| 71 | }; | ||
| 72 | |||
| 73 | i2c@2 { | ||
| 74 | #address-cells = <1>; | ||
| 75 | #size-cells = <0>; | ||
| 76 | reg = <2>; | ||
| 77 | eeprom@54 { | ||
| 78 | compatible = "at,24c08"; | ||
| 79 | reg = <0x54>; | ||
| 80 | }; | ||
| 81 | }; | ||
| 82 | |||
| 83 | i2c@3 { | ||
| 84 | #address-cells = <1>; | ||
| 85 | #size-cells = <0>; | ||
| 86 | reg = <3>; | ||
| 87 | gpio@21 { | ||
| 88 | compatible = "ti,tca6416"; | ||
| 89 | reg = <0x21>; | ||
| 90 | gpio-controller; | ||
| 91 | #gpio-cells = <2>; | ||
| 92 | }; | ||
| 93 | }; | ||
| 94 | |||
| 95 | i2c@4 { | ||
| 96 | #address-cells = <1>; | ||
| 97 | #size-cells = <0>; | ||
| 98 | reg = <4>; | ||
| 99 | rtc@54 { | ||
| 100 | compatible = "nxp,pcf8563"; | ||
| 101 | reg = <0x51>; | ||
| 102 | }; | ||
| 103 | }; | ||
| 104 | |||
| 105 | i2c@7 { | ||
| 106 | #address-cells = <1>; | ||
| 107 | #size-cells = <0>; | ||
| 108 | reg = <7>; | ||
| 109 | hwmon@52 { | ||
| 110 | compatible = "pmbus,ucd9248"; | ||
| 111 | reg = <52>; | ||
| 112 | }; | ||
| 113 | hwmon@53 { | ||
| 114 | compatible = "pmbus,ucd9248"; | ||
| 115 | reg = <53>; | ||
| 116 | }; | ||
| 117 | hwmon@54 { | ||
| 118 | compatible = "pmbus,ucd9248"; | ||
| 119 | reg = <54>; | ||
| 120 | }; | ||
| 121 | }; | ||
| 122 | }; | ||
| 123 | }; | ||
| 124 | |||
| 125 | /* Disabled Devices */ | ||
| 126 | ps7_sd_1: ps7-sdio@e0101000 { compatible = "invalid"; }; | ||
| 127 | ps7_uart_0: serial@e0000000 { compatible = "invalid"; }; | ||
| 128 | ps7_ethernet_1: ps7-ethernet@e000c000 { compatible = "invalid"; }; | ||
| 129 | ps7_i2c_1: ps7-i2c@e0005000 { compatible = "invalid"; }; | ||
| 130 | ps7_can_0: ps7-can@e0008000 { compatible = "invalid"; }; | ||
| 131 | ps7_can_1: ps7-can@e0009000 { compatible = "invalid"; }; | ||
| 132 | ps7_usb_1: ps7-usb@e0003000 { compatible = "invalid"; }; | ||
| 133 | } ; | ||
| 134 | } ; | ||
diff --git a/conf/machine/zc706-zynq7.conf b/conf/machine/zc706-zynq7.conf new file mode 100644 index 00000000..31cd2d95 --- /dev/null +++ b/conf/machine/zc706-zynq7.conf | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | #@TYPE: Machine | ||
| 2 | #@NAME: zc706-zynq7 | ||
| 3 | #@DESCRIPTION: Machine support for ZC706 Evaluation Board. | ||
| 4 | # | ||
| 5 | # For details on the Evaluation board: | ||
| 6 | # http://www.origin.xilinx.com/products/boards-and-kits/EK-Z7-ZC706-G.htm | ||
| 7 | # For documentation and design files for the ZC702: | ||
| 8 | # http://www.origin.xilinx.com/support/index.html/content/xilinx/en/supportNav/boards_and_kits/zynq-7000_soc_boards_and_kits/zynq-7000_soc_zc706_evaluation_kit.html | ||
| 9 | # For the FSBL 'zynq_fsbl_0.elf' refer to UG873 and the associated design files. | ||
| 10 | # | ||
| 11 | |||
| 12 | PREFERRED_VERSION_linux-xlnx ?= "3.8%" | ||
| 13 | PREFERRED_VERSION_u-boot-xlnx ?= "v2013.01%" | ||
| 14 | |||
| 15 | require conf/machine/include/tune-zynq.inc | ||
| 16 | require conf/machine/include/machine-xilinx-default.inc | ||
| 17 | |||
| 18 | # ZC70x machine definition known by Xilinx UBOOT | ||
| 19 | UBOOT_MACHINE = "zynq_zc70x_config" | ||
| 20 | |||
| 21 | SERIAL_CONSOLE = "115200 ttyPS0" | ||
| 22 | |||
| 23 | MACHINE_DEVICETREE := "zc706/zc706-zynq7.dtsi \ | ||
| 24 | zc706/zc706-zynq7-ram.dts \ | ||
| 25 | zc706/zc706-zynq7-mmcblk0p2.dts" | ||
| 26 | MACHINE_KCONFIG := "common/rtc.cfg" | ||
