Loading...
1/*
2 * Device Tree file for NXP LS1088A RDB Board.
3 *
4 * Copyright 2017 NXP
5 *
6 * Harninder Rai <harninder.rai@nxp.com>
7 *
8 * This file is dual-licensed: you can use it either under the terms
9 * of the GPLv2 or the X11 license, at your option. Note that this dual
10 * licensing only applies to this file, and not this project as a
11 * whole.
12 *
13 * a) This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License as
15 * published by the Free Software Foundation; either version 2 of the
16 * License, or (at your option) any later version.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * Or, alternatively,
24 *
25 * b) Permission is hereby granted, free of charge, to any person
26 * obtaining a copy of this software and associated documentation
27 * files (the "Software"), to deal in the Software without
28 * restriction, including without limitation the rights to use,
29 * copy, modify, merge, publish, distribute, sublicense, and/or
30 * sell copies of the Software, and to permit persons to whom the
31 * Software is furnished to do so, subject to the following
32 * conditions:
33 *
34 * The above copyright notice and this permission notice shall be
35 * included in all copies or substantial portions of the Software.
36 *
37 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
38 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
39 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
40 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
41 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
42 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
43 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
44 * OTHER DEALINGS IN THE SOFTWARE.
45 */
46
47/dts-v1/;
48
49#include "fsl-ls1088a.dtsi"
50
51/ {
52 model = "LS1088A RDB Board";
53 compatible = "fsl,ls1088a-rdb", "fsl,ls1088a";
54};
55
56&i2c0 {
57 status = "okay";
58
59 i2c-switch@77 {
60 compatible = "nxp,pca9547";
61 reg = <0x77>;
62 #address-cells = <1>;
63 #size-cells = <0>;
64
65 i2c@2 {
66 #address-cells = <1>;
67 #size-cells = <0>;
68 reg = <0x2>;
69
70 ina220@40 {
71 compatible = "ti,ina220";
72 reg = <0x40>;
73 shunt-resistor = <1000>;
74 };
75 };
76
77 i2c@3 {
78 #address-cells = <1>;
79 #size-cells = <0>;
80 reg = <0x3>;
81
82 temp-sensor@4c {
83 compatible = "adi,adt7461a";
84 reg = <0x4c>;
85 };
86
87 rtc@51 {
88 compatible = "nxp,pcf2129";
89 reg = <0x51>;
90 /* IRQ10_B */
91 interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>;
92 };
93 };
94 };
95};
96
97&ifc {
98 ranges = <0 0 0x5 0x30000000 0x00010000
99 2 0 0x5 0x20000000 0x00010000>;
100 status = "okay";
101
102 nand@0,0 {
103 compatible = "fsl,ifc-nand";
104 reg = <0x0 0x0 0x10000>;
105 };
106
107 fpga: board-control@2,0 {
108 compatible = "fsl,ls1088ardb-fpga", "fsl,fpga-qixis";
109 reg = <0x2 0x0 0x0000100>;
110 };
111};
112
113&duart0 {
114 status = "okay";
115};
116
117&duart1 {
118 status = "okay";
119};
120
121&esdhc {
122 status = "okay";
123};
124
125&sata {
126 status = "okay";
127};
128
129&usb0 {
130 status = "okay";
131};
132
133&usb1 {
134 status = "okay";
135};
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree file for NXP LS1088A RDB Board.
4 *
5 * Copyright 2017-2020 NXP
6 *
7 * Harninder Rai <harninder.rai@nxp.com>
8 *
9 */
10
11/dts-v1/;
12
13#include "fsl-ls1088a.dtsi"
14
15/ {
16 model = "LS1088A RDB Board";
17 compatible = "fsl,ls1088a-rdb", "fsl,ls1088a";
18};
19
20&dpmac2 {
21 phy-handle = <&mdio2_aquantia_phy>;
22 phy-connection-type = "10gbase-r";
23 pcs-handle = <&pcs2>;
24};
25
26&dpmac3 {
27 phy-handle = <&mdio1_phy5>;
28 phy-connection-type = "qsgmii";
29 managed = "in-band-status";
30 pcs-handle = <&pcs3_0>;
31};
32
33&dpmac4 {
34 phy-handle = <&mdio1_phy6>;
35 phy-connection-type = "qsgmii";
36 managed = "in-band-status";
37 pcs-handle = <&pcs3_1>;
38};
39
40&dpmac5 {
41 phy-handle = <&mdio1_phy7>;
42 phy-connection-type = "qsgmii";
43 managed = "in-band-status";
44 pcs-handle = <&pcs3_2>;
45};
46
47&dpmac6 {
48 phy-handle = <&mdio1_phy8>;
49 phy-connection-type = "qsgmii";
50 managed = "in-band-status";
51 pcs-handle = <&pcs3_3>;
52};
53
54&dpmac7 {
55 phy-handle = <&mdio1_phy1>;
56 phy-connection-type = "qsgmii";
57 managed = "in-band-status";
58 pcs-handle = <&pcs7_0>;
59};
60
61&dpmac8 {
62 phy-handle = <&mdio1_phy2>;
63 phy-connection-type = "qsgmii";
64 managed = "in-band-status";
65 pcs-handle = <&pcs7_1>;
66};
67
68&dpmac9 {
69 phy-handle = <&mdio1_phy3>;
70 phy-connection-type = "qsgmii";
71 managed = "in-band-status";
72 pcs-handle = <&pcs7_2>;
73};
74
75&dpmac10 {
76 phy-handle = <&mdio1_phy4>;
77 phy-connection-type = "qsgmii";
78 managed = "in-band-status";
79 pcs-handle = <&pcs7_3>;
80};
81
82&emdio1 {
83 status = "okay";
84
85 mdio1_phy5: ethernet-phy@c {
86 interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
87 reg = <0xc>;
88 };
89
90 mdio1_phy6: ethernet-phy@d {
91 interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
92 reg = <0xd>;
93 };
94
95 mdio1_phy7: ethernet-phy@e {
96 interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
97 reg = <0xe>;
98 };
99
100 mdio1_phy8: ethernet-phy@f {
101 interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
102 reg = <0xf>;
103 };
104
105 mdio1_phy1: ethernet-phy@1c {
106 interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
107 reg = <0x1c>;
108 };
109
110 mdio1_phy2: ethernet-phy@1d {
111 interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
112 reg = <0x1d>;
113 };
114
115 mdio1_phy3: ethernet-phy@1e {
116 interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
117 reg = <0x1e>;
118 };
119
120 mdio1_phy4: ethernet-phy@1f {
121 interrupts-extended = <&extirq 1 IRQ_TYPE_LEVEL_LOW>;
122 reg = <0x1f>;
123 };
124};
125
126&emdio2 {
127 status = "okay";
128
129 mdio2_aquantia_phy: ethernet-phy@0 {
130 compatible = "ethernet-phy-ieee802.3-c45";
131 interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>;
132 reg = <0x0>;
133 };
134};
135
136&i2c0 {
137 status = "okay";
138
139 i2c-mux@77 {
140 compatible = "nxp,pca9547";
141 reg = <0x77>;
142 #address-cells = <1>;
143 #size-cells = <0>;
144
145 i2c@2 {
146 #address-cells = <1>;
147 #size-cells = <0>;
148 reg = <0x2>;
149
150 ina220@40 {
151 compatible = "ti,ina220";
152 reg = <0x40>;
153 shunt-resistor = <1000>;
154 };
155 };
156
157 i2c@3 {
158 #address-cells = <1>;
159 #size-cells = <0>;
160 reg = <0x3>;
161
162 temp-sensor@4c {
163 compatible = "adi,adt7461a";
164 reg = <0x4c>;
165 };
166
167 rtc@51 {
168 compatible = "nxp,pcf2129";
169 reg = <0x51>;
170 /* IRQ_RTC_B -> IRQ0_B(CPLD) -> IRQ00(CPU), active low */
171 interrupts-extended = <&extirq 0 IRQ_TYPE_LEVEL_LOW>;
172 };
173
174 rtc@53 {
175 compatible = "nxp,pcf2131";
176 reg = <0x53>;
177 /* IRQ_RTC_B -> IRQ0_B(CPLD) -> IRQ00(CPU), active low */
178 interrupts-extended = <&extirq 0 IRQ_TYPE_LEVEL_LOW>;
179 };
180 };
181 };
182};
183
184&ifc {
185 ranges = <0 0 0x5 0x30000000 0x00010000
186 2 0 0x5 0x20000000 0x00010000>;
187 status = "okay";
188
189 nand@0,0 {
190 compatible = "fsl,ifc-nand";
191 reg = <0x0 0x0 0x10000>;
192 };
193
194 fpga: board-control@2,0 {
195 compatible = "fsl,ls1088ardb-fpga", "fsl,fpga-qixis";
196 reg = <0x2 0x0 0x0000100>;
197 };
198};
199
200&duart0 {
201 status = "okay";
202};
203
204&duart1 {
205 status = "okay";
206};
207
208&esdhc {
209 mmc-hs200-1_8v;
210 status = "okay";
211};
212
213&pcs_mdio2 {
214 status = "okay";
215};
216
217&pcs_mdio3 {
218 status = "okay";
219};
220
221&pcs_mdio7 {
222 status = "okay";
223};
224
225&qspi {
226 status = "okay";
227
228 s25fs512s0: flash@0 {
229 compatible = "jedec,spi-nor";
230 #address-cells = <1>;
231 #size-cells = <1>;
232 spi-max-frequency = <50000000>;
233 spi-rx-bus-width = <4>;
234 spi-tx-bus-width = <1>;
235 reg = <0>;
236 };
237
238 s25fs512s1: flash@1 {
239 compatible = "jedec,spi-nor";
240 #address-cells = <1>;
241 #size-cells = <1>;
242 spi-max-frequency = <50000000>;
243 spi-rx-bus-width = <4>;
244 spi-tx-bus-width = <1>;
245 reg = <1>;
246 };
247};
248
249&sata {
250 status = "okay";
251};
252
253&usb0 {
254 status = "okay";
255};
256
257&usb1 {
258 dr_mode = "otg";
259 status = "okay";
260};