diff options
author | Simon Glass <sjg@chromium.org> | 2015-07-06 12:54:35 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-21 17:39:33 -0600 |
commit | 04035fd36c9c793ab7b6e7c4513fe6a053daf5dd (patch) | |
tree | 7830bc280ef6d4c8b5b833f22c0689e3191af5f4 /arch/sandbox/dts | |
parent | 3c43fba3d240a5d7b6042bfb834c274a8921ebd8 (diff) | |
download | u-boot-imx-04035fd36c9c793ab7b6e7c4513fe6a053daf5dd.zip u-boot-imx-04035fd36c9c793ab7b6e7c4513fe6a053daf5dd.tar.gz u-boot-imx-04035fd36c9c793ab7b6e7c4513fe6a053daf5dd.tar.bz2 |
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 <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/dts')
-rw-r--r-- | arch/sandbox/dts/test.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 4b98618..5161100 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; |