blob: 18ee363d75ba6e0ffaff5eb4c7f72c458bf7d890 [file] [log] [blame]
Yuantian Tang92f18ff2019-04-10 16:43:34 +08001// SPDX-License-Identifier: GPL-2.0+ OR X11
2/*
3 * NXP ls1028ARDB device tree source
4 *
5 * Copyright 2019 NXP
6 *
7 */
8
9/dts-v1/;
10
11#include "fsl-ls1028a.dtsi"
12
13/ {
14 model = "NXP Layerscape 1028a RDB Board";
15 compatible = "fsl,ls1028a-rdb", "fsl,ls1028a";
Kuldeep Singhbaab2462019-11-06 16:38:00 +053016 aliases {
17 spi0 = &fspi;
Michael Walle2a20ed12021-10-13 18:14:15 +020018 ethernet0 = &enetc_port0;
19 ethernet1 = &enetc_port2;
Michael Walle7efcdfd2021-02-25 16:51:11 +010020 ethernet2 = &mscc_felix_port0;
21 ethernet3 = &mscc_felix_port1;
22 ethernet4 = &mscc_felix_port2;
23 ethernet5 = &mscc_felix_port3;
Kuldeep Singhbaab2462019-11-06 16:38:00 +053024 };
Yuantian Tang92f18ff2019-04-10 16:43:34 +080025};
26
27&dspi0 {
28 status = "okay";
29};
30
31&dspi1 {
32 status = "okay";
33};
34
35&dspi2 {
36 status = "okay";
37};
38
Michael Walle2a20ed12021-10-13 18:14:15 +020039&esdhc {
Yuantian Tang92f18ff2019-04-10 16:43:34 +080040 status = "okay";
41};
42
43&esdhc1 {
44 status = "okay";
Yinbo Zhu0700bda2019-07-16 15:09:10 +080045 mmc-hs200-1_8v;
Yuantian Tang92f18ff2019-04-10 16:43:34 +080046};
47
Kuldeep Singhbaab2462019-11-06 16:38:00 +053048&fspi {
49 status = "okay";
50
51 mt35xu02g0: flash@0 {
52 #address-cells = <1>;
53 #size-cells = <1>;
54 compatible = "jedec,spi-nor";
55 spi-max-frequency = <50000000>;
56 reg = <0>;
Kuldeep Singhf1b22292020-03-14 18:23:55 +053057 spi-rx-bus-width = <8>;
58 spi-tx-bus-width = <1>;
Kuldeep Singhbaab2462019-11-06 16:38:00 +053059 };
60};
61
Yuantian Tang92f18ff2019-04-10 16:43:34 +080062&i2c0 {
63 status = "okay";
Chuanhua Hane6f372b2019-07-10 21:16:52 +080064
65 i2c-mux@77 {
66
67 compatible = "nxp,pca9547";
68 reg = <0x77>;
69 #address-cells = <1>;
70 #size-cells = <0>;
71
72 i2c@3 {
73 #address-cells = <1>;
74 #size-cells = <0>;
75 reg = <0x3>;
76
77 rtc@51 {
78 compatible = "pcf2127-rtc";
79 reg = <0x51>;
80 };
81 };
82 };
Yuantian Tang92f18ff2019-04-10 16:43:34 +080083};
84
85&i2c1 {
86 status = "okay";
87};
88
89&i2c2 {
90 status = "okay";
91};
92
93&i2c3 {
94 status = "okay";
95};
96
97&i2c4 {
98 status = "okay";
99};
100
101&i2c5 {
102 status = "okay";
103};
104
105&i2c6 {
106 status = "okay";
107};
108
109&i2c7 {
110 status = "okay";
111};
112
113&sata {
114 status = "okay";
115};
116
Michael Walle2a20ed12021-10-13 18:14:15 +0200117&duart0 {
Yuantian Tang92f18ff2019-04-10 16:43:34 +0800118 status = "okay";
119};
120
Michael Walle2a20ed12021-10-13 18:14:15 +0200121&duart1 {
Yuantian Tang92f18ff2019-04-10 16:43:34 +0800122 status = "okay";
123};
124
Michael Walle2a20ed12021-10-13 18:14:15 +0200125&usb0 {
Yuantian Tang92f18ff2019-04-10 16:43:34 +0800126 status = "okay";
127};
128
Michael Walle2a20ed12021-10-13 18:14:15 +0200129&usb1 {
Yuantian Tang92f18ff2019-04-10 16:43:34 +0800130 status = "okay";
131};
Alex Marginean3be715e2019-07-03 12:11:43 +0300132
Michael Walle2a20ed12021-10-13 18:14:15 +0200133&enetc_port0 {
Alex Marginean3be715e2019-07-03 12:11:43 +0300134 status = "okay";
135 phy-mode = "sgmii";
136 phy-handle = <&rdb_phy0>;
137};
138
Michael Walle2a20ed12021-10-13 18:14:15 +0200139&enetc_port2 {
Alex Marginean44f80342021-01-25 14:23:56 +0200140 status = "okay";
141};
142
143&mscc_felix {
144 status = "okay";
145};
146
147&mscc_felix_port0 {
148 label = "swp0";
149 phy-handle = <&sw_phy0>;
150 phy-mode = "qsgmii";
151 status = "okay";
152};
153
154&mscc_felix_port1 {
155 label = "swp1";
156 phy-handle = <&sw_phy1>;
157 phy-mode = "qsgmii";
158 status = "okay";
159};
160
161&mscc_felix_port2 {
162 label = "swp2";
163 phy-handle = <&sw_phy2>;
164 phy-mode = "qsgmii";
165 status = "okay";
166};
167
168&mscc_felix_port3 {
169 label = "swp3";
170 phy-handle = <&sw_phy3>;
171 phy-mode = "qsgmii";
172 status = "okay";
173};
174
175&mscc_felix_port4 {
Michael Walle2a20ed12021-10-13 18:14:15 +0200176 ethernet = <&enetc_port2>;
Alex Marginean44f80342021-01-25 14:23:56 +0200177 status = "okay";
178};
179
Michael Walle2a20ed12021-10-13 18:14:15 +0200180&enetc_mdio_pf3 {
Alex Marginean3be715e2019-07-03 12:11:43 +0300181 status = "okay";
182 rdb_phy0: phy@2 {
183 reg = <2>;
184 };
Alex Marginean44f80342021-01-25 14:23:56 +0200185
186 /* VSC8514 QSGMII PHY */
187 sw_phy0: phy@10 {
188 reg = <0x10>;
189 };
190
191 sw_phy1: phy@11 {
192 reg = <0x11>;
193 };
194
195 sw_phy2: phy@12 {
196 reg = <0x12>;
197 };
198
199 sw_phy3: phy@13 {
200 reg = <0x13>;
201 };
Alex Marginean3be715e2019-07-03 12:11:43 +0300202};