treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / boot / dts / mscc / ocelot_pcb123.dts
blobef852f382da8d6ed66906a818419bb10b6b8c905
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2 /* Copyright (c) 2017 Microsemi Corporation */
4 /dts-v1/;
6 #include "ocelot.dtsi"
8 / {
9         compatible = "mscc,ocelot-pcb123", "mscc,ocelot";
11         chosen {
12                 stdout-path = "serial0:115200n8";
13         };
15         memory@0 {
16                 device_type = "memory";
17                 reg = <0x0 0x0e000000>;
18         };
21 &uart0 {
22         status = "okay";
25 &uart2 {
26         status = "okay";
29 &spi {
30         status = "okay";
32         flash@0 {
33                 compatible = "macronix,mx25l25635f", "jedec,spi-nor";
34                 spi-max-frequency = <20000000>;
35                 reg = <0>;
36         };
39 &i2c {
40         clock-frequency = <100000>;
41         i2c-sda-hold-time-ns = <300>;
42         status = "okay";
45 &mdio0 {
46         status = "okay";
49 &port0 {
50         phy-handle = <&phy0>;
53 &port1 {
54         phy-handle = <&phy1>;
57 &port2 {
58         phy-handle = <&phy2>;
61 &port3 {
62         phy-handle = <&phy3>;