From 04035fd36c9c793ab7b6e7c4513fe6a053daf5dd Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 6 Jul 2015 12:54:35 -0600 Subject: dm: test: Add a test for the system controller uclass Add a test to confirm that we can access system controllers and find their driver data. Signed-off-by: Simon Glass --- arch/sandbox/dts/test.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'arch/sandbox/dts') diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 4b9861835e..51611009ae 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -240,6 +240,16 @@ }; }; + syscon@0 { + compatible = "sandbox,syscon0"; + reg = <0x10>; + }; + + syscon@1 { + compatible = "sandbox,syscon1"; + reg = <0x20>; + }; + uart0: serial { compatible = "sandbox,serial"; u-boot,dm-pre-reloc; -- cgit v1.2.3