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 | |||||
Vladimir Oltean | f673b53 | 2022-01-03 14:47:31 +0200 | [diff] [blame] | 39 | &duart0 { |
40 | status = "okay"; | ||||
41 | }; | ||||
42 | |||||
43 | &duart1 { | ||||
44 | status = "okay"; | ||||
45 | }; | ||||
46 | |||||
47 | &enetc_mdio_pf3 { | ||||
Vladimir Oltean | fc203b3 | 2022-01-03 14:47:32 +0200 | [diff] [blame^] | 48 | sgmii_phy0: ethernet-phy@2 { |
49 | reg = <0x2>; | ||||
Vladimir Oltean | f673b53 | 2022-01-03 14:47:31 +0200 | [diff] [blame] | 50 | }; |
51 | |||||
Vladimir Oltean | fc203b3 | 2022-01-03 14:47:32 +0200 | [diff] [blame^] | 52 | /* VSC8514 QSGMII quad PHY */ |
53 | qsgmii_phy0: ethernet-phy@10 { | ||||
Vladimir Oltean | f673b53 | 2022-01-03 14:47:31 +0200 | [diff] [blame] | 54 | reg = <0x10>; |
55 | }; | ||||
56 | |||||
Vladimir Oltean | fc203b3 | 2022-01-03 14:47:32 +0200 | [diff] [blame^] | 57 | qsgmii_phy1: ethernet-phy@11 { |
Vladimir Oltean | f673b53 | 2022-01-03 14:47:31 +0200 | [diff] [blame] | 58 | reg = <0x11>; |
59 | }; | ||||
60 | |||||
Vladimir Oltean | fc203b3 | 2022-01-03 14:47:32 +0200 | [diff] [blame^] | 61 | qsgmii_phy2: ethernet-phy@12 { |
Vladimir Oltean | f673b53 | 2022-01-03 14:47:31 +0200 | [diff] [blame] | 62 | reg = <0x12>; |
63 | }; | ||||
64 | |||||
Vladimir Oltean | fc203b3 | 2022-01-03 14:47:32 +0200 | [diff] [blame^] | 65 | qsgmii_phy3: ethernet-phy@13 { |
Vladimir Oltean | f673b53 | 2022-01-03 14:47:31 +0200 | [diff] [blame] | 66 | reg = <0x13>; |
67 | }; | ||||
68 | }; | ||||
69 | |||||
70 | &enetc_port0 { | ||||
Vladimir Oltean | fc203b3 | 2022-01-03 14:47:32 +0200 | [diff] [blame^] | 71 | phy-handle = <&sgmii_phy0>; |
Vladimir Oltean | f673b53 | 2022-01-03 14:47:31 +0200 | [diff] [blame] | 72 | phy-mode = "sgmii"; |
Vladimir Oltean | fc203b3 | 2022-01-03 14:47:32 +0200 | [diff] [blame^] | 73 | managed = "in-band-status"; |
74 | status = "okay"; | ||||
Vladimir Oltean | f673b53 | 2022-01-03 14:47:31 +0200 | [diff] [blame] | 75 | }; |
76 | |||||
77 | &enetc_port2 { | ||||
78 | status = "okay"; | ||||
79 | }; | ||||
80 | |||||
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 81 | &esdhc { |
Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 82 | status = "okay"; |
83 | }; | ||||
84 | |||||
85 | &esdhc1 { | ||||
86 | status = "okay"; | ||||
Yinbo Zhu | 0700bda | 2019-07-16 15:09:10 +0800 | [diff] [blame] | 87 | mmc-hs200-1_8v; |
Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 88 | }; |
89 | |||||
Kuldeep Singh | baab246 | 2019-11-06 16:38:00 +0530 | [diff] [blame] | 90 | &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 Singh | f1b2229 | 2020-03-14 18:23:55 +0530 | [diff] [blame] | 99 | spi-rx-bus-width = <8>; |
100 | spi-tx-bus-width = <1>; | ||||
Kuldeep Singh | baab246 | 2019-11-06 16:38:00 +0530 | [diff] [blame] | 101 | }; |
102 | }; | ||||
103 | |||||
Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 104 | &i2c0 { |
105 | status = "okay"; | ||||
Chuanhua Han | e6f372b | 2019-07-10 21:16:52 +0800 | [diff] [blame] | 106 | |
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 Oltean | 83fdf82 | 2022-01-03 14:47:28 +0200 | [diff] [blame] | 120 | compatible = "nxp,pcf2129"; |
Chuanhua Han | e6f372b | 2019-07-10 21:16:52 +0800 | [diff] [blame] | 121 | reg = <0x51>; |
122 | }; | ||||
123 | }; | ||||
124 | }; | ||||
Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 125 | }; |
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 Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 155 | &mscc_felix { |
156 | status = "okay"; | ||||
157 | }; | ||||
158 | |||||
159 | &mscc_felix_port0 { | ||||
160 | label = "swp0"; | ||||
Vladimir Oltean | fc203b3 | 2022-01-03 14:47:32 +0200 | [diff] [blame^] | 161 | managed = "in-band-status"; |
162 | phy-handle = <&qsgmii_phy0>; | ||||
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 163 | phy-mode = "qsgmii"; |
164 | status = "okay"; | ||||
165 | }; | ||||
166 | |||||
167 | &mscc_felix_port1 { | ||||
168 | label = "swp1"; | ||||
Vladimir Oltean | fc203b3 | 2022-01-03 14:47:32 +0200 | [diff] [blame^] | 169 | managed = "in-band-status"; |
170 | phy-handle = <&qsgmii_phy1>; | ||||
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 171 | phy-mode = "qsgmii"; |
172 | status = "okay"; | ||||
173 | }; | ||||
174 | |||||
175 | &mscc_felix_port2 { | ||||
176 | label = "swp2"; | ||||
Vladimir Oltean | fc203b3 | 2022-01-03 14:47:32 +0200 | [diff] [blame^] | 177 | managed = "in-band-status"; |
178 | phy-handle = <&qsgmii_phy2>; | ||||
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 179 | phy-mode = "qsgmii"; |
180 | status = "okay"; | ||||
181 | }; | ||||
182 | |||||
183 | &mscc_felix_port3 { | ||||
184 | label = "swp3"; | ||||
Vladimir Oltean | fc203b3 | 2022-01-03 14:47:32 +0200 | [diff] [blame^] | 185 | managed = "in-band-status"; |
186 | phy-handle = <&qsgmii_phy3>; | ||||
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 187 | phy-mode = "qsgmii"; |
188 | status = "okay"; | ||||
189 | }; | ||||
190 | |||||
191 | &mscc_felix_port4 { | ||||
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 192 | ethernet = <&enetc_port2>; |
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 193 | status = "okay"; |
194 | }; | ||||
195 | |||||
Vladimir Oltean | f673b53 | 2022-01-03 14:47:31 +0200 | [diff] [blame] | 196 | &pcie1 { |
Alex Marginean | 3be715e | 2019-07-03 12:11:43 +0300 | [diff] [blame] | 197 | status = "okay"; |
Vladimir Oltean | f673b53 | 2022-01-03 14:47:31 +0200 | [diff] [blame] | 198 | }; |
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 199 | |
Vladimir Oltean | f673b53 | 2022-01-03 14:47:31 +0200 | [diff] [blame] | 200 | &pcie2 { |
201 | status = "okay"; | ||||
202 | }; | ||||
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 203 | |
Vladimir Oltean | f673b53 | 2022-01-03 14:47:31 +0200 | [diff] [blame] | 204 | &sata { |
205 | status = "okay"; | ||||
206 | }; | ||||
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 207 | |
Vladimir Oltean | f673b53 | 2022-01-03 14:47:31 +0200 | [diff] [blame] | 208 | &usb0 { |
209 | status = "okay"; | ||||
210 | }; | ||||
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 211 | |
Vladimir Oltean | f673b53 | 2022-01-03 14:47:31 +0200 | [diff] [blame] | 212 | &usb1 { |
213 | status = "okay"; | ||||
Alex Marginean | 3be715e | 2019-07-03 12:11:43 +0300 | [diff] [blame] | 214 | }; |