diff options
author | Alex Marginean <alexm.osslist@gmail.com> | 2019-06-03 19:12:28 +0300 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2019-07-15 13:32:25 -0500 |
commit | ec9594a50f02944944dcc76a6cffce9861e8614d (patch) | |
tree | dd42eafb55474e8d9f645a9d72a5dac4b6fafa66 /arch/sandbox/dts/test.dts | |
parent | c3452b50c3aaa0db2bb0bc68039fed4d40bedbc0 (diff) | |
download | u-boot-ec9594a50f02944944dcc76a6cffce9861e8614d.tar.gz |
test: dm: add MDIO test
A very simple test for DM_MDIO, mimicks a register write/read through the
sandbox bus to a dummy PHY.
Signed-off-by: Alex Marginean <alexm.osslist@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'arch/sandbox/dts/test.dts')
-rw-r--r-- | arch/sandbox/dts/test.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 8147d9781e..531c1afc97 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -823,6 +823,10 @@ dmas = <&dma 0>, <&dma 1>, <&dma 2>; dma-names = "m2m", "tx0", "rx0"; }; + + mdio-test { + compatible = "sandbox,mdio"; + }; }; #include "sandbox_pmic.dtsi" |