aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorAlex Marginean <alexm.osslist@gmail.com>2019-06-03 19:12:28 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2019-07-15 13:32:25 -0500
commitec9594a50f02944944dcc76a6cffce9861e8614d (patch)
treedd42eafb55474e8d9f645a9d72a5dac4b6fafa66 /arch/sandbox
parentc3452b50c3aaa0db2bb0bc68039fed4d40bedbc0 (diff)
downloadu-boot-ec9594a50f02944944dcc76a6cffce9861e8614d.zip
u-boot-ec9594a50f02944944dcc76a6cffce9861e8614d.tar.gz
u-boot-ec9594a50f02944944dcc76a6cffce9861e8614d.tar.bz2
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')
-rw-r--r--arch/sandbox/dts/test.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 8147d97..531c1af 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"