aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-03-14 20:14:58 +0800
committerPriyanka Jain <priyanka.jain@nxp.com>2021-04-15 14:22:17 +0530
commit534c69b09a8907799e0e5f9f85bc2f638f6c99a9 (patch)
tree5a6673af5a33182feafcd2d0a82d3c6b694a4b21 /arch/sandbox
parentff98da06674d47ff995edd068bcbd4ae6da69f00 (diff)
downloadu-boot-534c69b09a8907799e0e5f9f85bc2f638f6c99a9.zip
u-boot-534c69b09a8907799e0e5f9f85bc2f638f6c99a9.tar.gz
u-boot-534c69b09a8907799e0e5f9f85bc2f638f6c99a9.tar.bz2
test: dm: Add a case to test ofnode_phy_is_fixed_link()
This adds a test case to test the new ofnode_phy_is_fixed_link() API. Both the new and old DT bindings are covered. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/dts/test.dts6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 57f4dc1..dde4efb 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -507,11 +507,7 @@
reg = <1>;
label = "lan1";
phy-mode = "rgmii-txid";
-
- fixed-link {
- speed = <100>;
- full-duplex;
- };
+ fixed-link = <0 1 100 0 0>;
};
port@2 {