Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 1 | // 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 Singh | baab246 | 2019-11-06 16:38:00 +0530 | [diff] [blame] | 16 | aliases { |
17 | spi0 = &fspi; | ||||
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 18 | ethernet0 = &enetc_port0; |
19 | ethernet1 = &enetc_port2; | ||||
Michael Walle | 7efcdfd | 2021-02-25 16:51:11 +0100 | [diff] [blame] | 20 | ethernet2 = &mscc_felix_port0; |
21 | ethernet3 = &mscc_felix_port1; | ||||
22 | ethernet4 = &mscc_felix_port2; | ||||
23 | ethernet5 = &mscc_felix_port3; | ||||
Kuldeep Singh | baab246 | 2019-11-06 16:38:00 +0530 | [diff] [blame] | 24 | }; |
Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 25 | }; |
26 | |||||
27 | &dspi0 { | ||||
28 | status = "okay"; | ||||
29 | }; | ||||
30 | |||||
31 | &dspi1 { | ||||
32 | status = "okay"; | ||||
33 | }; | ||||
34 | |||||
35 | &dspi2 { | ||||
36 | status = "okay"; | ||||
37 | }; | ||||
38 | |||||
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 39 | &esdhc { |
Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 40 | status = "okay"; |
41 | }; | ||||
42 | |||||
43 | &esdhc1 { | ||||
44 | status = "okay"; | ||||
Yinbo Zhu | 0700bda | 2019-07-16 15:09:10 +0800 | [diff] [blame] | 45 | mmc-hs200-1_8v; |
Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 46 | }; |
47 | |||||
Kuldeep Singh | baab246 | 2019-11-06 16:38:00 +0530 | [diff] [blame] | 48 | &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 Singh | f1b2229 | 2020-03-14 18:23:55 +0530 | [diff] [blame] | 57 | spi-rx-bus-width = <8>; |
58 | spi-tx-bus-width = <1>; | ||||
Kuldeep Singh | baab246 | 2019-11-06 16:38:00 +0530 | [diff] [blame] | 59 | }; |
60 | }; | ||||
61 | |||||
Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 62 | &i2c0 { |
63 | status = "okay"; | ||||
Chuanhua Han | e6f372b | 2019-07-10 21:16:52 +0800 | [diff] [blame] | 64 | |
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 Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 83 | }; |
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 Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 117 | &duart0 { |
Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 118 | status = "okay"; |
119 | }; | ||||
120 | |||||
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 121 | &duart1 { |
Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 122 | status = "okay"; |
123 | }; | ||||
124 | |||||
Michael Walle | 0a908fb | 2021-10-13 18:14:25 +0200 | [diff] [blame] | 125 | &pcie1 { |
126 | status = "okay"; | ||||
127 | }; | ||||
128 | |||||
129 | &pcie2 { | ||||
130 | status = "okay"; | ||||
131 | }; | ||||
132 | |||||
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 133 | &usb0 { |
Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 134 | status = "okay"; |
135 | }; | ||||
136 | |||||
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 137 | &usb1 { |
Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 138 | status = "okay"; |
139 | }; | ||||
Alex Marginean | 3be715e | 2019-07-03 12:11:43 +0300 | [diff] [blame] | 140 | |
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 141 | &enetc_port0 { |
Alex Marginean | 3be715e | 2019-07-03 12:11:43 +0300 | [diff] [blame] | 142 | status = "okay"; |
143 | phy-mode = "sgmii"; | ||||
144 | phy-handle = <&rdb_phy0>; | ||||
145 | }; | ||||
146 | |||||
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 147 | &enetc_port2 { |
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 148 | 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 Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 184 | ethernet = <&enetc_port2>; |
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 185 | status = "okay"; |
186 | }; | ||||
187 | |||||
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 188 | &enetc_mdio_pf3 { |
Alex Marginean | 3be715e | 2019-07-03 12:11:43 +0300 | [diff] [blame] | 189 | status = "okay"; |
190 | rdb_phy0: phy@2 { | ||||
191 | reg = <2>; | ||||
192 | }; | ||||
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 193 | |
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 Marginean | 3be715e | 2019-07-03 12:11:43 +0300 | [diff] [blame] | 210 | }; |