blob: b5e56b1c1f15d482b28d1148726a5660615eda49 [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
Vladimir Olteanf673b532022-01-03 14:47:31 +020039&duart0 {
40 status = "okay";
41};
42
43&duart1 {
44 status = "okay";
45};
46
47&enetc_mdio_pf3 {
Vladimir Olteanfc203b32022-01-03 14:47:32 +020048 sgmii_phy0: ethernet-phy@2 {
49 reg = <0x2>;
Vladimir Olteanf673b532022-01-03 14:47:31 +020050 };
51
Vladimir Olteanfc203b32022-01-03 14:47:32 +020052 /* VSC8514 QSGMII quad PHY */
53 qsgmii_phy0: ethernet-phy@10 {
Vladimir Olteanf673b532022-01-03 14:47:31 +020054 reg = <0x10>;
55 };
56
Vladimir Olteanfc203b32022-01-03 14:47:32 +020057 qsgmii_phy1: ethernet-phy@11 {
Vladimir Olteanf673b532022-01-03 14:47:31 +020058 reg = <0x11>;
59 };
60
Vladimir Olteanfc203b32022-01-03 14:47:32 +020061 qsgmii_phy2: ethernet-phy@12 {
Vladimir Olteanf673b532022-01-03 14:47:31 +020062 reg = <0x12>;
63 };
64
Vladimir Olteanfc203b32022-01-03 14:47:32 +020065 qsgmii_phy3: ethernet-phy@13 {
Vladimir Olteanf673b532022-01-03 14:47:31 +020066 reg = <0x13>;
67 };
68};
69
70&enetc_port0 {
Vladimir Olteanfc203b32022-01-03 14:47:32 +020071 phy-handle = <&sgmii_phy0>;
Vladimir Olteanf673b532022-01-03 14:47:31 +020072 phy-mode = "sgmii";
Vladimir Olteanfc203b32022-01-03 14:47:32 +020073 managed = "in-band-status";
74 status = "okay";
Vladimir Olteanf673b532022-01-03 14:47:31 +020075};
76
77&enetc_port2 {
78 status = "okay";
79};
80
Michael Walle2a20ed12021-10-13 18:14:15 +020081&esdhc {
Yuantian Tang92f18ff2019-04-10 16:43:34 +080082 status = "okay";
83};
84
85&esdhc1 {
86 status = "okay";
Yinbo Zhu0700bda2019-07-16 15:09:10 +080087 mmc-hs200-1_8v;
Yuantian Tang92f18ff2019-04-10 16:43:34 +080088};
89
Kuldeep Singhbaab2462019-11-06 16:38:00 +053090&fspi {
91 status = "okay";
92
93 mt35xu02g0: flash@0 {
94 #address-cells = <1>;
95 #size-cells = <1>;
96 compatible = "jedec,spi-nor";
97 spi-max-frequency = <50000000>;
98 reg = <0>;
Kuldeep Singhf1b22292020-03-14 18:23:55 +053099 spi-rx-bus-width = <8>;
100 spi-tx-bus-width = <1>;
Kuldeep Singhbaab2462019-11-06 16:38:00 +0530101 };
102};
103
Yuantian Tang92f18ff2019-04-10 16:43:34 +0800104&i2c0 {
105 status = "okay";
Chuanhua Hane6f372b2019-07-10 21:16:52 +0800106
107 i2c-mux@77 {
108
109 compatible = "nxp,pca9547";
110 reg = <0x77>;
111 #address-cells = <1>;
112 #size-cells = <0>;
113
114 i2c@3 {
115 #address-cells = <1>;
116 #size-cells = <0>;
117 reg = <0x3>;
118
119 rtc@51 {
Vladimir Oltean83fdf822022-01-03 14:47:28 +0200120 compatible = "nxp,pcf2129";
Chuanhua Hane6f372b2019-07-10 21:16:52 +0800121 reg = <0x51>;
122 };
123 };
124 };
Yuantian Tang92f18ff2019-04-10 16:43:34 +0800125};
126
127&i2c1 {
128 status = "okay";
129};
130
131&i2c2 {
132 status = "okay";
133};
134
135&i2c3 {
136 status = "okay";
137};
138
139&i2c4 {
140 status = "okay";
141};
142
143&i2c5 {
144 status = "okay";
145};
146
147&i2c6 {
148 status = "okay";
149};
150
151&i2c7 {
152 status = "okay";
153};
154
Alex Marginean44f80342021-01-25 14:23:56 +0200155&mscc_felix {
156 status = "okay";
157};
158
159&mscc_felix_port0 {
160 label = "swp0";
Vladimir Olteanfc203b32022-01-03 14:47:32 +0200161 managed = "in-band-status";
162 phy-handle = <&qsgmii_phy0>;
Alex Marginean44f80342021-01-25 14:23:56 +0200163 phy-mode = "qsgmii";
164 status = "okay";
165};
166
167&mscc_felix_port1 {
168 label = "swp1";
Vladimir Olteanfc203b32022-01-03 14:47:32 +0200169 managed = "in-band-status";
170 phy-handle = <&qsgmii_phy1>;
Alex Marginean44f80342021-01-25 14:23:56 +0200171 phy-mode = "qsgmii";
172 status = "okay";
173};
174
175&mscc_felix_port2 {
176 label = "swp2";
Vladimir Olteanfc203b32022-01-03 14:47:32 +0200177 managed = "in-band-status";
178 phy-handle = <&qsgmii_phy2>;
Alex Marginean44f80342021-01-25 14:23:56 +0200179 phy-mode = "qsgmii";
180 status = "okay";
181};
182
183&mscc_felix_port3 {
184 label = "swp3";
Vladimir Olteanfc203b32022-01-03 14:47:32 +0200185 managed = "in-band-status";
186 phy-handle = <&qsgmii_phy3>;
Alex Marginean44f80342021-01-25 14:23:56 +0200187 phy-mode = "qsgmii";
188 status = "okay";
189};
190
191&mscc_felix_port4 {
Michael Walle2a20ed12021-10-13 18:14:15 +0200192 ethernet = <&enetc_port2>;
Alex Marginean44f80342021-01-25 14:23:56 +0200193 status = "okay";
194};
195
Vladimir Olteanf673b532022-01-03 14:47:31 +0200196&pcie1 {
Alex Marginean3be715e2019-07-03 12:11:43 +0300197 status = "okay";
Vladimir Olteanf673b532022-01-03 14:47:31 +0200198};
Alex Marginean44f80342021-01-25 14:23:56 +0200199
Vladimir Olteanf673b532022-01-03 14:47:31 +0200200&pcie2 {
201 status = "okay";
202};
Alex Marginean44f80342021-01-25 14:23:56 +0200203
Vladimir Olteanf673b532022-01-03 14:47:31 +0200204&sata {
205 status = "okay";
206};
Alex Marginean44f80342021-01-25 14:23:56 +0200207
Vladimir Olteanf673b532022-01-03 14:47:31 +0200208&usb0 {
209 status = "okay";
210};
Alex Marginean44f80342021-01-25 14:23:56 +0200211
Vladimir Olteanf673b532022-01-03 14:47:31 +0200212&usb1 {
213 status = "okay";
Alex Marginean3be715e2019-07-03 12:11:43 +0300214};