diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2021-03-14 15:14:58 +0300 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2021-04-15 11:52:17 +0300 |
commit | 534c69b09a8907799e0e5f9f85bc2f638f6c99a9 (patch) | |
tree | 5a6673af5a33182feafcd2d0a82d3c6b694a4b21 /arch | |
parent | ff98da06674d47ff995edd068bcbd4ae6da69f00 (diff) | |
download | u-boot-534c69b09a8907799e0e5f9f85bc2f638f6c99a9.tar.xz |
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')
-rw-r--r-- | arch/sandbox/dts/test.dts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 57f4dc1e57..dde4efb933 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 { |