forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/powerpc/boot/dts/fsl/kmcent2.dts
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Keymile kmcent2 Device Tree Source, based on T1040RDB DTS
34 *
....@@ -5,11 +6,6 @@
56 * Valentin Longchamp, Keymile AG, valentin.longchamp@keymile.com
67 *
78 * Copyright 2014 - 2015 Freescale Semiconductor Inc.
8
- *
9
- * This program is free software; you can redistribute it and/or modify it
10
- * under the terms of the GNU General Public License as published by the
11
- * Free Software Foundation; either version 2 of the License, or (at your
12
- * option) any later version.
139 */
1410
1511 /include/ "t104xsi-pre.dtsi"
....@@ -214,13 +210,19 @@
214210
215211 fman@400000 {
216212 ethernet@e0000 {
217
- fixed-link = <0 1 1000 0 0>;
218
- phy-connection-type = "sgmii";
213
+ phy-mode = "sgmii";
214
+ fixed-link {
215
+ speed = <1000>;
216
+ full-duplex;
217
+ };
219218 };
220219
221220 ethernet@e2000 {
222
- fixed-link = <1 1 1000 0 0>;
223
- phy-connection-type = "sgmii";
221
+ phy-mode = "sgmii";
222
+ fixed-link {
223
+ speed = <1000>;
224
+ full-duplex;
225
+ };
224226 };
225227
226228 ethernet@e4000 {
....@@ -233,7 +235,7 @@
233235
234236 ethernet@e8000 {
235237 phy-handle = <&front_phy>;
236
- phy-connection-type = "rgmii";
238
+ phy-mode = "rgmii-id";
237239 };
238240
239241 mdio0: mdio@fc000 {
....@@ -262,14 +264,50 @@
262264
263265 pci1: pcie@ffe250000 {
264266 status = "disabled";
267
+ reg = <0xf 0xfe250000 0 0x10000>;
268
+ ranges = <0x02000000 0 0xe0000000 0xc 0x10000000 0 0x10000000
269
+ 0x01000000 0 0 0xf 0xf8010000 0 0x00010000>;
270
+ pcie@0 {
271
+ ranges = <0x02000000 0 0xe0000000
272
+ 0x02000000 0 0xe0000000
273
+ 0 0x10000000
274
+
275
+ 0x01000000 0 0x00000000
276
+ 0x01000000 0 0x00000000
277
+ 0 0x00010000>;
278
+ };
265279 };
266280
267281 pci2: pcie@ffe260000 {
268282 status = "disabled";
283
+ reg = <0xf 0xfe260000 0 0x10000>;
284
+ ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x10000000
285
+ 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
286
+ pcie@0 {
287
+ ranges = <0x02000000 0 0xe0000000
288
+ 0x02000000 0 0xe0000000
289
+ 0 0x10000000
290
+
291
+ 0x01000000 0 0x00000000
292
+ 0x01000000 0 0x00000000
293
+ 0 0x00010000>;
294
+ };
269295 };
270296
271297 pci3: pcie@ffe270000 {
272298 status = "disabled";
299
+ reg = <0xf 0xfe270000 0 0x10000>;
300
+ ranges = <0x02000000 0 0xe0000000 0xc 0x30000000 0 0x10000000
301
+ 0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>;
302
+ pcie@0 {
303
+ ranges = <0x02000000 0 0xe0000000
304
+ 0x02000000 0 0xe0000000
305
+ 0 0x10000000
306
+
307
+ 0x01000000 0 0x00000000
308
+ 0x01000000 0 0x00000000
309
+ 0 0x00010000>;
310
+ };
273311 };
274312
275313 qe: qe@ffe140000 {