treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm / boot / dts / zynq-parallella.dts
blob54592aeb92b9dde176d21b44327112c1ae3b382f
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Copyright (c) 2014 SUSE LINUX Products GmbH
4  *
5  * Derived from zynq-zed.dts:
6  *
7  *  Copyright (C) 2011 Xilinx
8  *  Copyright (C) 2012 National Instruments Corp.
9  *  Copyright (C) 2013 Xilinx
10  */
11 /dts-v1/;
12 /include/ "zynq-7000.dtsi"
14 / {
15         model = "Adapteva Parallella board";
16         compatible = "adapteva,parallella", "xlnx,zynq-7000";
18         aliases {
19                 ethernet0 = &gem0;
20                 serial0 = &uart1;
21         };
23         memory@0 {
24                 device_type = "memory";
25                 reg = <0x0 0x40000000>;
26         };
28         chosen {
29                 bootargs = "root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait";
30                 stdout-path = "serial0:115200n8";
31         };
34 &clkc {
35         fclk-enable = <0xf>;
36         ps-clk-frequency = <33333333>;
39 &gem0 {
40         status = "okay";
41         phy-mode = "rgmii-id";
42         phy-handle = <&ethernet_phy>;
44         ethernet_phy: ethernet-phy@0 {
45                 /* Marvell 88E1318 */
46                 compatible = "ethernet-phy-id0141.0e90",
47                              "ethernet-phy-ieee802.3-c22";
48                 reg = <0>;
49                 device_type = "ethernet-phy";
50                 marvell,reg-init = <0x3 0x10 0xff00 0x1e>,
51                                    <0x3 0x11 0xfff0 0xa>;
52         };
55 &i2c0 {
56         status = "okay";
58         isl9305: isl9305@68 {
59                 compatible = "isil,isl9305";
60                 reg = <0x68>;
62                 regulators {
63                         dcd1 {
64                                 regulator-name = "VDD_DSP";
65                                 regulator-always-on;
66                         };
67                         dcd2 {
68                                 regulator-name = "1P35V";
69                                 regulator-always-on;
70                         };
71                         ldo1 {
72                                 regulator-name = "VDD_ADJ";
73                         };
74                         ldo2 {
75                                 regulator-name = "VDD_GPIO";
76                                 regulator-always-on;
77                         };
78                 };
79         };
82 &sdhci1 {
83         status = "okay";
86 &uart1 {
87         status = "okay";