Commit 6d6e3dbefe1a518bc8fb6a23808770568ff4c125
1 parent
5c45b16678
Exists in
v2017.01-smarct4x
and in
30 other branches
ARM: zynq: Add support for zc770-xm011
Add xm011 DTS file and related configs and configurations. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Showing 4 changed files with 82 additions and 0 deletions Side-by-side Diff
arch/arm/dts/Makefile
arch/arm/dts/zynq-zc770-xm011.dts
1 | +/* | |
2 | + * Xilinx ZC770 XM013 board DTS | |
3 | + * | |
4 | + * Copyright (C) 2013 Xilinx, Inc. | |
5 | + * | |
6 | + * SPDX-License-Identifier: GPL-2.0+ | |
7 | + */ | |
8 | +/dts-v1/; | |
9 | +#include "zynq-7000.dtsi" | |
10 | +/ { | |
11 | + compatible = "xlnx,zynq-zc770-xm011", "xlnx,zynq-7000"; | |
12 | + model = "Xilinx Zynq"; | |
13 | + | |
14 | + aliases { | |
15 | + i2c0 = &i2c1; | |
16 | + serial0 = &uart1; | |
17 | + spi0 = &spi0; | |
18 | + }; | |
19 | + | |
20 | + chosen { | |
21 | + bootargs = "console=ttyPS0,115200 root=/dev/ram rw earlyprintk"; | |
22 | + linux,stdout-path = &uart1; | |
23 | + stdout-path = &uart1; | |
24 | + }; | |
25 | + | |
26 | + memory@0 { | |
27 | + device_type = "memory"; | |
28 | + reg = <0x0 0x40000000>; | |
29 | + }; | |
30 | + | |
31 | + usb_phy1: phy1 { | |
32 | + compatible = "usb-nop-xceiv"; | |
33 | + #phy-cells = <0>; | |
34 | + }; | |
35 | +}; | |
36 | + | |
37 | +&spi0 { | |
38 | + status = "okay"; | |
39 | + num-cs = <4>; | |
40 | + is-decoded-cs = <0>; | |
41 | +}; | |
42 | + | |
43 | +&can0 { | |
44 | + status = "okay"; | |
45 | +}; | |
46 | + | |
47 | +&i2c1 { | |
48 | + status = "okay"; | |
49 | + clock-frequency = <400000>; | |
50 | + | |
51 | + m24c02_eeprom@52 { | |
52 | + compatible = "at,24c02"; | |
53 | + reg = <0x52>; | |
54 | + }; | |
55 | +}; | |
56 | + | |
57 | +&uart1 { | |
58 | + status = "okay"; | |
59 | +}; | |
60 | + | |
61 | +&usb1 { | |
62 | + status = "okay"; | |
63 | + dr_mode = "host"; | |
64 | + usb-phy = <&usb_phy1>; | |
65 | +}; |
configs/zynq_zc770_xm011_defconfig
1 | +CONFIG_ARM=y | |
2 | +CONFIG_ARCH_ZYNQ=y | |
3 | +CONFIG_TARGET_ZYNQ_ZC770=y | |
4 | +CONFIG_DEFAULT_DEVICE_TREE="zynq-zc770-xm011" | |
5 | +# CONFIG_SYS_MALLOC_F is not set | |
6 | +CONFIG_SPL=y | |
7 | +CONFIG_FIT=y | |
8 | +CONFIG_FIT_VERBOSE=y | |
9 | +CONFIG_FIT_SIGNATURE=y | |
10 | +CONFIG_SYS_EXTRA_OPTIONS="ZC770_XM011" | |
11 | +# CONFIG_CMD_IMLS is not set | |
12 | +# CONFIG_CMD_FLASH is not set | |
13 | +# CONFIG_CMD_SETEXPR is not set |
include/configs/zynq_zc770.h