]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM: zynq: Extend microzed board support
authorMichal Simek <michal.simek@xilinx.com>
Tue, 12 Jan 2016 07:06:36 +0000 (08:06 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jan 2016 10:50:37 +0000 (11:50 +0100)
Add missing DT nodes and enable USB.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynq-microzed.dts
include/configs/zynq_microzed.h

index e841a1d61665610f75bb3f7348a72468b53b1072..067d46044c1a012d2347989aabf6d0122985a57a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Xilinx MicroZED board DTS
  *
- * Copyright (C) 2013 Xilinx, Inc.
+ * Copyright (C) 2013 - 2016 Xilinx, Inc.
  *
  * SPDX-License-Identifier:    GPL-2.0+
  */
        aliases {
                serial0 = &uart1;
                spi0 = &qspi;
+               mmc0 = &sdhci0;
        };
 
        memory {
                device_type = "memory";
                reg = <0 0x40000000>;
        };
+
+       chosen {
+               bootargs = "earlyprintk";
+               stdout-path = "serial0:115200n8";
+       };
+
+       usb_phy0: phy0 {
+               compatible = "usb-nop-xceiv";
+               #phy-cells = <0>;
+       };
+};
+
+&clkc {
+       ps-clk-frequency = <33333333>;
 };
 
 &qspi {
        u-boot,dm-pre-reloc;
        status = "okay";
 };
+
+&gem0 {
+       status = "okay";
+       phy-mode = "rgmii-id";
+       phy-handle = <&ethernet_phy>;
+
+       ethernet_phy: ethernet-phy@0 {
+               reg = <0>;
+       };
+};
+
+&sdhci0 {
+       u-boot,dm-pre-reloc;
+       status = "okay";
+};
+
+&usb0 {
+       status = "okay";
+       dr_mode = "host";
+       usb-phy = <&usb_phy0>;
+};
index 169ee36d3f577b3d58d4f0d6104514b2b39f7ddc..8b4c1fa79c9d97657e8b35741c7716c929be533b 100644 (file)
@@ -15,6 +15,7 @@
 #define CONFIG_SYS_NO_FLASH
 
 #define CONFIG_ZYNQ_SDHCI0
+#define CONFIG_ZYNQ_USB
 
 #include <configs/zynq-common.h>