Merge tag 'efi-2020-07-rc2-2' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
[oweals/u-boot.git] / arch / arm / dts / zynq-zc770-xm012.dts
index 0379a070681edf660842a51dd6e8f8592631eacc..0d001c91610db60af7867a3f00daace75bf90700 100644 (file)
@@ -1,14 +1,65 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Xilinx ZC770 XM012 board DTS
  *
- * Copyright (C) 2013 Xilinx, Inc.
- *
- * SPDX-License-Identifier:    GPL-2.0+
+ * Copyright (C) 2013-2018 Xilinx, Inc.
  */
 /dts-v1/;
 #include "zynq-7000.dtsi"
 
 / {
-       model = "Zynq ZC770 XM012 Board";
+       model = "Xilinx ZC770 XM012 board";
        compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000";
+
+       aliases {
+               i2c0 = &i2c0;
+               i2c1 = &i2c1;
+               serial0 = &uart1;
+               spi0 = &spi1;
+       };
+
+       chosen {
+               bootargs = "";
+               stdout-path = "serial0:115200n8";
+       };
+
+       memory@0 {
+               device_type = "memory";
+               reg = <0x0 0x40000000>;
+       };
+};
+
+&can1 {
+       status = "okay";
+};
+
+&i2c0 {
+       status = "okay";
+       clock-frequency = <400000>;
+
+       eeprom0: eeprom@52 {
+               compatible = "atmel,24c02";
+               reg = <0x52>;
+       };
+};
+
+&i2c1 {
+       status = "okay";
+       clock-frequency = <400000>;
+
+       eeprom1: eeprom@52 {
+               compatible = "atmel,24c02";
+               reg = <0x52>;
+       };
+};
+
+&spi1 {
+       status = "okay";
+       num-cs = <4>;
+       is-decoded-cs = <0>;
+};
+
+&uart1 {
+       u-boot,dm-pre-reloc;
+       status = "okay";
 };