summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/dts
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-08-27 22:25:53 -0700
committerSimon Glass <sjg@chromium.org>2015-09-09 07:48:03 -0600
commit71d7971facdba763c220ca2cfdbd181e907eae89 (patch)
treed06b53cb415a29e51bc381d42dd485ad4b34054c /arch/sandbox/dts
parentd8f79afa030a19e12b8effcae0e8247e271da60e (diff)
downloadu-boot-71d7971facdba763c220ca2cfdbd181e907eae89.tar.gz
u-boot-71d7971facdba763c220ca2cfdbd181e907eae89.tar.xz
u-boot-71d7971facdba763c220ca2cfdbd181e907eae89.zip
dm: test: Add a new test case for dm_test_eth_rotate
Add one more ethernet device node in the sandbox test device tree, with name 'sbe5'. This is to support a new test case for testing network device rotation. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'arch/sandbox/dts')
-rw-r--r--arch/sandbox/dts/test.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index c948df8c86..f5217fb877 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -9,6 +9,7 @@
aliases {
console = &uart0;
eth0 = "/eth@10002000";
+ eth3 = &eth_3;
eth5 = &eth_5;
i2c0 = "/i2c@0";
pci0 = &pci;
@@ -121,6 +122,12 @@
fake-host-hwaddr = <0x00 0x00 0x66 0x44 0x22 0x11>;
};
+ eth_3: sbe5 {
+ compatible = "sandbox,eth";
+ reg = <0x10005000 0x1000>;
+ fake-host-hwaddr = <0x00 0x00 0x66 0x44 0x22 0x33>;
+ };
+
eth@10004000 {
compatible = "sandbox,eth";
reg = <0x10004000 0x1000>;