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 | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame^] | 125 | &usb0 { |
Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 126 | status = "okay"; |
127 | }; | ||||
128 | |||||
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame^] | 129 | &usb1 { |
Yuantian Tang | 92f18ff | 2019-04-10 16:43:34 +0800 | [diff] [blame] | 130 | status = "okay"; |
131 | }; | ||||
Alex Marginean | 3be715e | 2019-07-03 12:11:43 +0300 | [diff] [blame] | 132 | |
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame^] | 133 | &enetc_port0 { |
Alex Marginean | 3be715e | 2019-07-03 12:11:43 +0300 | [diff] [blame] | 134 | status = "okay"; |
135 | phy-mode = "sgmii"; | ||||
136 | phy-handle = <&rdb_phy0>; | ||||
137 | }; | ||||
138 | |||||
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame^] | 139 | &enetc_port2 { |
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 140 | 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 Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame^] | 176 | ethernet = <&enetc_port2>; |
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 177 | status = "okay"; |
178 | }; | ||||
179 | |||||
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame^] | 180 | &enetc_mdio_pf3 { |
Alex Marginean | 3be715e | 2019-07-03 12:11:43 +0300 | [diff] [blame] | 181 | status = "okay"; |
182 | rdb_phy0: phy@2 { | ||||
183 | reg = <2>; | ||||
184 | }; | ||||
Alex Marginean | 44f8034 | 2021-01-25 14:23:56 +0200 | [diff] [blame] | 185 | |
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 Marginean | 3be715e | 2019-07-03 12:11:43 +0300 | [diff] [blame] | 202 | }; |