Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+
0002 /*
0003  * Xilinx ZC770 XM010 board DTS
0004  *
0005  * Copyright (C) 2013-2018 Xilinx, Inc.
0006  */
0007 /dts-v1/;
0008 #include "zynq-7000.dtsi"
0009 
0010 / {
0011         model = "Xilinx ZC770 XM010 board";
0012         compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000";
0013 
0014         aliases {
0015                 ethernet0 = &gem0;
0016                 i2c0 = &i2c0;
0017                 serial0 = &uart1;
0018                 spi1 = &spi1;
0019         };
0020 
0021         chosen {
0022                 bootargs = "";
0023                 stdout-path = "serial0:115200n8";
0024         };
0025 
0026         memory@0 {
0027                 device_type = "memory";
0028                 reg = <0x0 0x40000000>;
0029         };
0030 
0031         usb_phy0: phy0 {
0032                 compatible = "usb-nop-xceiv";
0033                 #phy-cells = <0>;
0034         };
0035 };
0036 
0037 &can0 {
0038         status = "okay";
0039 };
0040 
0041 &gem0 {
0042         status = "okay";
0043         phy-mode = "rgmii-id";
0044         phy-handle = <&ethernet_phy>;
0045 
0046         ethernet_phy: ethernet-phy@7 {
0047                 reg = <7>;
0048                 device_type = "ethernet-phy";
0049         };
0050 };
0051 
0052 &i2c0 {
0053         status = "okay";
0054         clock-frequency = <400000>;
0055 
0056         eeprom: eeprom@52 {
0057                 compatible = "atmel,24c02";
0058                 reg = <0x52>;
0059         };
0060 
0061 };
0062 
0063 &sdhci0 {
0064         status = "okay";
0065 };
0066 
0067 &spi1 {
0068         status = "okay";
0069         num-cs = <4>;
0070         is-decoded-cs = <0>;
0071         flash@1 {
0072                 compatible = "sst25wf080", "jedec,spi-nor";
0073                 reg = <1>;
0074                 spi-max-frequency = <1000000>;
0075                 partitions {
0076                         compatible = "fixed-partitions";
0077                         #address-cells = <1>;
0078                         #size-cells = <1>;
0079                         partition@0 {
0080                                 label = "data";
0081                                 reg = <0x0 0x100000>;
0082                         };
0083                 };
0084         };
0085 };
0086 
0087 &uart1 {
0088         status = "okay";
0089 };
0090 
0091 &usb0 {
0092         status = "okay";
0093         dr_mode = "host";
0094         usb-phy = <&usb_phy0>;
0095 };