blob: 537ebbc697cbc10c9946c76be1ba69653c485c92 [file] [log] [blame]
Yuantian Tang353f36d2019-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 Singh5e2fb3e2019-11-06 16:38:00 +053016 aliases {
17 spi0 = &fspi;
Michael Wallec816dd02021-10-13 18:14:15 +020018 ethernet0 = &enetc_port0;
19 ethernet1 = &enetc_port2;
Michael Walle82a3c9e2021-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 Singh5e2fb3e2019-11-06 16:38:00 +053024 };
Yuantian Tang353f36d2019-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 Wallec816dd02021-10-13 18:14:15 +020039&esdhc {
Yuantian Tang353f36d2019-04-10 16:43:34 +080040 status = "okay";
41};
42
43&esdhc1 {
44 status = "okay";
Yinbo Zhu23da1112019-07-16 15:09:10 +080045 mmc-hs200-1_8v;
Yuantian Tang353f36d2019-04-10 16:43:34 +080046};
47
Kuldeep Singh5e2fb3e2019-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 Singh3ec79002020-03-14 18:23:55 +053057 spi-rx-bus-width = <8>;
58 spi-tx-bus-width = <1>;
Kuldeep Singh5e2fb3e2019-11-06 16:38:00 +053059 };
60};
61
Yuantian Tang353f36d2019-04-10 16:43:34 +080062&i2c0 {
63 status = "okay";
Chuanhua Hane120d122019-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 Tang353f36d2019-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 Wallec816dd02021-10-13 18:14:15 +0200117&duart0 {
Yuantian Tang353f36d2019-04-10 16:43:34 +0800118 status = "okay";
119};
120
Michael Wallec816dd02021-10-13 18:14:15 +0200121&duart1 {
122 status = "okay";
123};
124
Michael Walled08011d2021-10-13 18:14:25 +0200125&pcie1 {
126 status = "okay";
127};
128
129&pcie2 {
130 status = "okay";
131};
132
Michael Wallec816dd02021-10-13 18:14:15 +0200133&usb0 {
Yuantian Tang353f36d2019-04-10 16:43:34 +0800134 status = "okay";
135};
136
137&usb1 {
138 status = "okay";
139};
140
Michael Wallec816dd02021-10-13 18:14:15 +0200141&enetc_port0 {
Alex Margineanb32e9a72019-07-03 12:11:43 +0300142 status = "okay";
143 phy-mode = "sgmii";
144 phy-handle = <&rdb_phy0>;
145};
146
Michael Wallec816dd02021-10-13 18:14:15 +0200147&enetc_port2 {
Alex Margineancc32fd92021-01-25 14:23:56 +0200148 status = "okay";
149};
150
151&mscc_felix {
152 status = "okay";
153};
154
155&mscc_felix_port0 {
156 label = "swp0";
157 phy-handle = <&sw_phy0>;
158 phy-mode = "qsgmii";
159 status = "okay";
160};
161
162&mscc_felix_port1 {
163 label = "swp1";
164 phy-handle = <&sw_phy1>;
165 phy-mode = "qsgmii";
166 status = "okay";
167};
168
169&mscc_felix_port2 {
170 label = "swp2";
171 phy-handle = <&sw_phy2>;
172 phy-mode = "qsgmii";
173 status = "okay";
174};
175
176&mscc_felix_port3 {
177 label = "swp3";
178 phy-handle = <&sw_phy3>;
179 phy-mode = "qsgmii";
180 status = "okay";
181};
182
183&mscc_felix_port4 {
Michael Wallec816dd02021-10-13 18:14:15 +0200184 ethernet = <&enetc_port2>;
Alex Margineancc32fd92021-01-25 14:23:56 +0200185 status = "okay";
186};
187
Michael Wallec816dd02021-10-13 18:14:15 +0200188&enetc_mdio_pf3 {
Alex Margineanb32e9a72019-07-03 12:11:43 +0300189 status = "okay";
190 rdb_phy0: phy@2 {
191 reg = <2>;
192 };
Alex Margineancc32fd92021-01-25 14:23:56 +0200193
194 /* VSC8514 QSGMII PHY */
195 sw_phy0: phy@10 {
196 reg = <0x10>;
197 };
198
199 sw_phy1: phy@11 {
200 reg = <0x11>;
201 };
202
203 sw_phy2: phy@12 {
204 reg = <0x12>;
205 };
206
207 sw_phy3: phy@13 {
208 reg = <0x13>;
209 };
Alex Margineanb32e9a72019-07-03 12:11:43 +0300210};