Skip to content

Commit 1ab5319

Browse files
committed
[Edgecore] Add as4581-52p DTS
CPU: COMe CPU Module MAC: Marvell 98DX3530 PHY: Marvell 88E1780 x 4 (1G port 16~32) Marvell 88E2780 x 2 (Migi-G port 33-48) DRAM: 8GB(MAC) DDR4 SDRAM AirFlow: Front To Back Function port: 1 x USB port 1 x RJ45 Mgmt port 1 x RJ45 Console port Ethernet Port: 48 x 1G Uplink port: 4xSFP+ PoE: Microsemi PD69208M x 12 + PD69210 x 2 The DTS is for the PR: dentproject/dentOS#285 Signed-off-by: Brandon Chuang <brandon_chuang@edge-core.com>
1 parent e6ed169 commit 1ab5319

File tree

2 files changed

+2015
-0
lines changed

2 files changed

+2015
-0
lines changed
Lines changed: 231 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
1+
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2+
//
3+
// Device Tree file for LX2160ARDB
4+
//
5+
// Copyright 2018-2020 NXP
6+
7+
/dts-v1/;
8+
9+
#include "accton-as4581-52pl.dtsi"
10+
11+
/ {
12+
model = "NXP Layerscape LX2160ARDB";
13+
compatible = "fsl,lx2160a-rdb", "fsl,lx2160a";
14+
15+
aliases {
16+
crypto = &crypto;
17+
serial0 = &uart0;
18+
};
19+
20+
chosen {
21+
stdout-path = "serial0:115200n8";
22+
};
23+
24+
sb_3v3: regulator-sb3v3 {
25+
compatible = "regulator-fixed";
26+
regulator-name = "MC34717-3.3VSB";
27+
regulator-min-microvolt = <3300000>;
28+
regulator-max-microvolt = <3300000>;
29+
regulator-boot-on;
30+
regulator-always-on;
31+
};
32+
};
33+
34+
&can0 {
35+
status = "okay";
36+
37+
can-transceiver {
38+
max-bitrate = <5000000>;
39+
};
40+
};
41+
42+
&can1 {
43+
status = "okay";
44+
45+
can-transceiver {
46+
max-bitrate = <5000000>;
47+
};
48+
};
49+
50+
&crypto {
51+
status = "okay";
52+
};
53+
54+
&dpmac7 {
55+
status = "okay";
56+
/*phy-handle = <&aquantia_phy1>;*/
57+
fixed-link = <10 1 10000 0 0>;
58+
phy-connection-type = "usxgmii";
59+
/*managed = "in-band-status";*/
60+
};
61+
&dpmac8 {
62+
status = "okay";
63+
/*phy-handle = <&aquantia_phy2>;*/
64+
fixed-link = <11 1 10000 0 0>;
65+
phy-connection-type = "usxgmii";
66+
/*managed = "in-band-status";*/
67+
};
68+
&dpmac9 {
69+
status = "okay";
70+
/*phy-handle = <&aquantia_phy1>;*/
71+
fixed-link = <12 1 10000 0 0>;
72+
phy-connection-type = "usxgmii";
73+
/*managed = "in-band-status";*/
74+
};
75+
&dpmac10 {
76+
status = "okay";
77+
/*phy-handle = <&aquantia_phy2>;*/
78+
fixed-link = <13 1 10000 0 0>;
79+
phy-connection-type = "usxgmii";
80+
/*managed = "in-band-status";*/
81+
};
82+
&dpmac17 {
83+
status = "okay";
84+
phy-handle = <&rgmii_phy1>;
85+
phy-connection-type = "rgmii-id";
86+
};
87+
88+
&emdio1 {
89+
status = "okay";
90+
91+
rgmii_phy1: ethernet-phy@1 {
92+
/* AR8035 PHY */
93+
/*compatible = "ethernet-phy-id004d.d072";*/
94+
compatible = "ethernet-phy-id0141.0dd1";
95+
reg = <0x1>;
96+
eee-broken-1000t;
97+
};
98+
};
99+
100+
&emdio2 {
101+
status = "okay";
102+
};
103+
104+
&esdhc0 {
105+
status = "okay";
106+
};
107+
108+
&fspi {
109+
status = "okay";
110+
111+
flash@0 {
112+
#address-cells = <1>;
113+
#size-cells = <1>;
114+
compatible = "jedec,spi-nor";
115+
reg = <0>;
116+
spi-max-frequency = <50000000>;
117+
#spi-rx-bus-width = <4>;
118+
partition@0 {
119+
reg = <0x0 0x1000000>;
120+
label = "uboot";
121+
};
122+
123+
partition@1 {
124+
reg = <0x1000000 0x100000>;
125+
label = "uboot-env";
126+
};
127+
128+
partition@2 {
129+
reg = <0x1100000 0x2800000>;
130+
label = "onie";
131+
};
132+
};
133+
};
134+
135+
&dspi1 {
136+
status = "okay";
137+
spi-tpm@0 {
138+
compatible = "infineon,slb9670";
139+
/*mode 0*/
140+
reg = <0>;
141+
/*spi-max-frequency = <38000000>;*/
142+
spi-max-frequency = <4000000>;
143+
};
144+
dflash1: flash@1 {
145+
#address-cells = <1>;
146+
#size-cells = <1>;
147+
compatible = "jedec,spi-nor";
148+
reg = <1>;
149+
spi-max-frequency = <1000000>;
150+
};
151+
};
152+
153+
&i2c0 {
154+
status = "okay";
155+
};
156+
&i2c1 {
157+
status = "okay";
158+
};
159+
&i2c2 {
160+
status = "okay";
161+
};
162+
&i2c3 {
163+
status = "okay";
164+
};
165+
&i2c4 {
166+
status = "okay";
167+
};
168+
&i2c5 {
169+
status = "okay";
170+
};
171+
&i2c6 {
172+
status = "okay";
173+
};
174+
&i2c7 {
175+
status = "okay";
176+
};
177+
178+
&pcs_mdio3 {
179+
status = "okay";
180+
};
181+
182+
&pcs_mdio4 {
183+
status = "okay";
184+
};
185+
186+
&sata0 {
187+
status = "okay";
188+
};
189+
190+
&sata1 {
191+
status = "okay";
192+
};
193+
194+
&sata2 {
195+
status = "okay";
196+
};
197+
198+
&sata3 {
199+
status = "okay";
200+
};
201+
202+
&uart0 {
203+
status = "okay";
204+
};
205+
206+
&uart1 {
207+
status = "okay";
208+
};
209+
210+
&usb0 {
211+
status = "okay";
212+
};
213+
214+
&usb1 {
215+
status = "okay";
216+
};
217+
218+
&emdio2 {
219+
inphi_phy: ethernet-phy@0 {
220+
compatible = "ethernet-phy-id0210.7440";
221+
reg = <0x0>;
222+
};
223+
};
224+
225+
&dpmac5 {
226+
phy-handle = <&inphi_phy>;
227+
};
228+
229+
&dpmac6 {
230+
phy-handle = <&inphi_phy>;
231+
};

0 commit comments

Comments
 (0)