Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lx2160a_build
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
lx2160a_build
Commits
a6b0a483
Commit
a6b0a483
authored
Jun 04, 2023
by
Josua Mayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u-boot: fix boot for lx2162 clearfog
parent
92bef239
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
66 additions
and
0 deletions
+66
-0
patches/u-boot-LSDK-21.08/0044-lx2162-clearfog-add-phy-mode-property-to-dpmacs-3-6.patch
...lx2162-clearfog-add-phy-mode-property-to-dpmacs-3-6.patch
+66
-0
No files found.
patches/u-boot-LSDK-21.08/0044-lx2162-clearfog-add-phy-mode-property-to-dpmacs-3-6.patch
0 → 100644
View file @
a6b0a483
From 6e41cf32c6390042550c3e6d6a80edcd03a8edf7 Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua@solid-run.com>
Date: Sun, 4 Jun 2023 13:07:56 +0300
Subject: [PATCH] lx2162-clearfog: add phy-mode property to dpmacs 3-6
U-Boot expects all enabled dpmac nodes to specify phy-mode, otherwise
boot will fail with following error:
ldpaa_eth dpmac@3: incorrect phy mode
Error binding driver 'ldpaa_eth': -22
ldpaa_eth dpmac@4: incorrect phy mode
Error binding driver 'ldpaa_eth': -22
ldpaa_eth dpmac@5: incorrect phy mode
Error binding driver 'ldpaa_eth': -22
ldpaa_eth dpmac@6: incorrect phy mode
Error binding driver 'ldpaa_eth': -22
Some drivers failed to bind
Error binding driver 'simple_bus': -22
Some drivers failed to bind
Error binding driver 'simple_bus': -22
Some drivers failed to bind
initcall sequence 00000000fbdcd688 failed at call 000000008201d3f4 (err=-22)
###
ERROR ### Please RESET the board ###
Signed-off-by: Josua Mayer <josua@solid-run.com>
---
arch/arm/dts/fsl-lx2162a-clearfog.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/fsl-lx2162a-clearfog.dts b/arch/arm/dts/fsl-lx2162a-clearfog.dts
index 9764305a84..b23a578d7e 100644
--- a/arch/arm/dts/fsl-lx2162a-clearfog.dts
+++ b/arch/arm/dts/fsl-lx2162a-clearfog.dts
@@ -168,6 +168,7 @@
status = "okay";
managed = "in-band-status";
sfp = <&sfp_at>;
+ phy-mode = "usxgmii";
};
/* lower 10G connector */
@@ -175,18 +176,21 @@
status = "okay";
managed = "in-band-status";
sfp = <&sfp_ab>;
+ phy-mode = "usxgmii";
};
&dpmac5 {
status = "okay";
managed = "in-band-status";
sfp = <&sfp_bt>;
+ phy-mode = "25g-aui";
};
&dpmac6 {
status = "okay";
managed = "in-band-status";
sfp = <&sfp_bb>;
+ phy-mode = "25g-aui";
};
/*
--
2.35.3
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment