Skip to content

Commit 2e4e29f

Browse files
brandonchuangsonoble
authored andcommitted
[as4224/as5114/as4564] Update DTS
In order to upgrade the LK release from 5.10.4 to 5.10.7x the addition modification shown below is mandatory. dma-ranges = <0x42000000 0x0 0x00000000 0x0 0x00000000 0x0 0x40000000>; The SSD parameter has been adjusted to have better performance in uboot So the linux kernel does not need to initialize the default value By this skip phy config then it can leverage the adjusted parameter of uboot. Signed-off-by: Brandon Chuang <brandon_chuang@edge-core.com>
1 parent f42305b commit 2e4e29f

File tree

3 files changed

+24
-9
lines changed

3 files changed

+24
-9
lines changed

packages/base/any/kernels/5.10-lts/patches/0012-accton-as4224.patch

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
diff --git a/arch/arm64/boot/dts/marvell/accton-as4224.dts b/arch/arm64/boot/dts/marvell/accton-as4224.dts
22
new file mode 100644
3-
index 0000000..ee43c1e
3+
index 0000000..e9234e1
44
--- /dev/null
55
+++ b/arch/arm64/boot/dts/marvell/accton-as4224.dts
6-
@@ -0,0 +1,459 @@
6+
@@ -0,0 +1,464 @@
77
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
88
+/*
99
+ * Copyright (C) 2016 Marvell Technology Group Ltd.
@@ -285,6 +285,7 @@ index 0000000..ee43c1e
285285
+};
286286
+
287287
+&cp0_pcie0 {
288+
+ dma-ranges = <0x42000000 0x0 0x00000000 0x0 0x00000000 0x0 0x40000000>;
288289
+ ranges = <0x81000000 0x0 0xfb000000 0x0 0xfb000000 0x0 0xf0000
289290
+ 0x82000000 0x0 0xf6000000 0x0 0xf6000000 0x0 0x2000000
290291
+ 0x82000000 0x0 0xf9000000 0x0 0xf9000000 0x0 0x100000>;
@@ -393,13 +394,17 @@ index 0000000..ee43c1e
393394
+ };
394395
+};
395396
+
397+
+&cp0_comphy1 {
398+
+ phy-skip-config;
399+
+};
400+
+
396401
+&cp0_sata0 {
397402
+ status = "okay";
398403
+
399404
+ sata-port@1 {
400405
+ status = "okay";
401406
+ /* Generic PHY, providing serdes lanes */
402-
+ phys = <&cp0_comphy1 0>;
407+
+ //phys = <&cp0_comphy1 0>;
403408
+ };
404409
+};
405410
+

packages/base/any/kernels/5.10-lts/patches/0020-accton-as5114.patch

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
diff --git a/arch/arm64/boot/dts/marvell/accton-as5114.dts b/arch/arm64/boot/dts/marvell/accton-as5114.dts
22
new file mode 100644
3-
index 0000000..68dc6b3
3+
index 0000000..8351ec0
44
--- /dev/null
55
+++ b/arch/arm64/boot/dts/marvell/accton-as5114.dts
6-
@@ -0,0 +1,1912 @@
6+
@@ -0,0 +1,1917 @@
77
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
88
+/*
99
+ * Copyright (C) 2016 Marvell Technology Group Ltd.
@@ -1738,6 +1738,7 @@ index 0000000..68dc6b3
17381738
+};
17391739
+
17401740
+&cp0_pcie0 {
1741+
+ dma-ranges = <0x42000000 0x0 0x00000000 0x0 0x00000000 0x0 0x40000000>;
17411742
+ ranges = <0x81000000 0x0 0xfb000000 0x0 0xfb000000 0x0 0xf0000
17421743
+ 0x82000000 0x0 0xf6000000 0x0 0xf6000000 0x0 0x2000000
17431744
+ 0x82000000 0x0 0xf9000000 0x0 0xf9000000 0x0 0x100000>;
@@ -1846,13 +1847,17 @@ index 0000000..68dc6b3
18461847
+ };
18471848
+};
18481849
+
1850+
+&cp0_comphy1 {
1851+
+ phy-skip-config;
1852+
+};
1853+
+
18491854
+&cp0_sata0 {
18501855
+ status = "okay";
18511856
+
18521857
+ sata-port@1 {
18531858
+ status = "okay";
18541859
+ /* Generic PHY, providing serdes lanes */
1855-
+ phys = <&cp0_comphy1 0>;
1860+
+ //phys = <&cp0_comphy1 0>;
18561861
+ };
18571862
+};
18581863
+

packages/base/any/kernels/5.10-lts/patches/0023-accton-as4564-26p.patch

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
diff --git a/arch/arm64/boot/dts/marvell/accton-as4564-26p.dts b/arch/arm64/boot/dts/marvell/accton-as4564-26p.dts
22
new file mode 100644
3-
index 000000000..9852aa3b6
3+
index 0000000..cee3779
44
--- /dev/null
55
+++ b/arch/arm64/boot/dts/marvell/accton-as4564-26p.dts
6-
@@ -0,0 +1,394 @@
6+
@@ -0,0 +1,399 @@
77
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
88
+/*
99
+ * Copyright (C) 2016 Marvell Technology Group Ltd.
@@ -221,6 +221,7 @@ index 000000000..9852aa3b6
221221
+};
222222
+
223223
+&cp0_pcie0 {
224+
+ dma-ranges = <0x42000000 0x0 0x00000000 0x0 0x00000000 0x0 0x40000000>;
224225
+ ranges = <0x81000000 0x0 0xfb000000 0x0 0xfb000000 0x0 0xf0000
225226
+ 0x82000000 0x0 0xf6000000 0x0 0xf6000000 0x0 0x2000000
226227
+ 0x82000000 0x0 0xf9000000 0x0 0xf9000000 0x0 0x100000>;
@@ -328,13 +329,17 @@ index 000000000..9852aa3b6
328329
+ };
329330
+};
330331
+
332+
+&cp0_comphy1 {
333+
+ phy-skip-config;
334+
+};
335+
+
331336
+&cp0_sata0 {
332337
+ status = "okay";
333338
+
334339
+ sata-port@1 {
335340
+ status = "okay";
336341
+ /* Generic PHY, providing serdes lanes */
337-
+ phys = <&cp0_comphy1 0>;
342+
+ //phys = <&cp0_comphy1 0>;
338343
+ };
339344
+};
340345
+

0 commit comments

Comments
 (0)