treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm64 / boot / dts / xilinx / zynqmp-zc1751-xm016-dc2.dts
blob2421ec71a201c2b696ad2d329538e80acd42c1af
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * dts file for Xilinx ZynqMP zc1751-xm016-dc2
4  *
5  * (C) Copyright 2015 - 2018, Xilinx, Inc.
6  *
7  * Michal Simek <michal.simek@xilinx.com>
8  */
10 /dts-v1/;
12 #include "zynqmp.dtsi"
13 #include "zynqmp-clk.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
16 / {
17         model = "ZynqMP zc1751-xm016-dc2 RevA";
18         compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp";
20         aliases {
21                 can0 = &can0;
22                 can1 = &can1;
23                 ethernet0 = &gem2;
24                 i2c0 = &i2c0;
25                 rtc0 = &rtc;
26                 serial0 = &uart0;
27                 serial1 = &uart1;
28                 spi0 = &spi0;
29                 spi1 = &spi1;
30         };
32         chosen {
33                 bootargs = "earlycon";
34                 stdout-path = "serial0:115200n8";
35         };
37         memory@0 {
38                 device_type = "memory";
39                 reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
40         };
43 &can0 {
44         status = "okay";
47 &can1 {
48         status = "okay";
51 &fpd_dma_chan1 {
52         status = "okay";
55 &fpd_dma_chan2 {
56         status = "okay";
59 &fpd_dma_chan3 {
60         status = "okay";
63 &fpd_dma_chan4 {
64         status = "okay";
67 &fpd_dma_chan5 {
68         status = "okay";
71 &fpd_dma_chan6 {
72         status = "okay";
75 &fpd_dma_chan7 {
76         status = "okay";
79 &fpd_dma_chan8 {
80         status = "okay";
83 &gem2 {
84         status = "okay";
85         phy-handle = <&phy0>;
86         phy-mode = "rgmii-id";
87         phy0: phy@5 {
88                 reg = <5>;
89                 ti,rx-internal-delay = <0x8>;
90                 ti,tx-internal-delay = <0xa>;
91                 ti,fifo-depth = <0x1>;
92                 ti,dp83867-rxctrl-strap-quirk;
93         };
96 &gpio {
97         status = "okay";
100 &i2c0 {
101         status = "okay";
102         clock-frequency = <400000>;
104         tca6416_u26: gpio@20 {
105                 compatible = "ti,tca6416";
106                 reg = <0x20>;
107                 gpio-controller;
108                 #gpio-cells = <2>;
109                 /* IRQ not connected */
110         };
112         rtc@68 {
113                 compatible = "dallas,ds1339";
114                 reg = <0x68>;
115         };
118 &rtc {
119         status = "okay";
122 &spi0 {
123         status = "okay";
124         num-cs = <1>;
126         spi0_flash0: flash0@0 {
127                 #address-cells = <1>;
128                 #size-cells = <1>;
129                 compatible = "sst,sst25wf080", "jedec,spi-nor";
130                 spi-max-frequency = <50000000>;
131                 reg = <0>;
133                 partition@0 {
134                         label = "data";
135                         reg = <0x0 0x100000>;
136                 };
137         };
140 &spi1 {
141         status = "okay";
142         num-cs = <1>;
144         spi1_flash0: flash0@0 {
145                 #address-cells = <1>;
146                 #size-cells = <1>;
147                 compatible = "atmel,at45db041e", "atmel,at45", "atmel,dataflash";
148                 spi-max-frequency = <20000000>;
149                 reg = <0>;
151                 partition@0 {
152                         label = "data";
153                         reg = <0x0 0x84000>;
154                 };
155         };
158 /* ULPI SMSC USB3320 */
159 &usb1 {
160         status = "okay";
163 &uart0 {
164         status = "okay";
167 &uart1 {
168         status = "okay";