提交 7bbf8254 编写于 作者: N Nathan Rossi 提交者: Michal Simek

arm: zynq: Update ZYBO config options

Update the ZYBO device tree and enable config options that relate to the
added devices in the device tree.
Signed-off-by: NNathan Rossi <nathan@nathanrossi.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
上级 04a44d36
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
aliases { aliases {
ethernet0 = &gem0; ethernet0 = &gem0;
serial0 = &uart1; serial0 = &uart1;
spi0 = &qspi;
mmc0 = &sdhci0; mmc0 = &sdhci0;
}; };
...@@ -29,6 +30,10 @@ ...@@ -29,6 +30,10 @@
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
usb_phy0: phy0 {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
};
}; };
&clkc { &clkc {
...@@ -54,3 +59,14 @@ ...@@ -54,3 +59,14 @@
u-boot,dm-pre-reloc; u-boot,dm-pre-reloc;
status = "okay"; status = "okay";
}; };
&qspi {
u-boot,dm-pre-reloc;
status = "okay";
};
&usb0 {
status = "okay";
dr_mode = "host";
usb-phy = <&usb_phy0>;
};
...@@ -17,3 +17,6 @@ CONFIG_DEBUG_UART=y ...@@ -17,3 +17,6 @@ CONFIG_DEBUG_UART=y
CONFIG_DEBUG_UART_ZYNQ=y CONFIG_DEBUG_UART_ZYNQ=y
CONFIG_DEBUG_UART_BASE=0xe0001000 CONFIG_DEBUG_UART_BASE=0xe0001000
CONFIG_DEBUG_UART_CLOCK=50000000 CONFIG_DEBUG_UART_CLOCK=50000000
CONFIG_SPI_FLASH=y
CONFIG_SPI_FLASH_SPANSION=y
CONFIG_ZYNQ_QSPI=y
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#define CONFIG_SYS_NO_FLASH #define CONFIG_SYS_NO_FLASH
#define CONFIG_ZYNQ_USB
#define CONFIG_ZYNQ_SDHCI0 #define CONFIG_ZYNQ_SDHCI0
#define CONFIG_ZYNQ_BOOT_FREEBSD #define CONFIG_ZYNQ_BOOT_FREEBSD
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册