summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/dts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-07-06 12:54:24 -0600
committerSimon Glass <sjg@chromium.org>2015-07-21 17:39:30 -0600
commit6a1c7cef14a41ade84bccdded1fd87b908b6958c (patch)
treef411334af8078f63b3767ba6bccc1e1167e4b463 /arch/sandbox/dts
parentc02790ce12f3bf01a49fbef71da64322fde863e6 (diff)
downloadtalos-obmc-uboot-6a1c7cef14a41ade84bccdded1fd87b908b6958c.tar.gz
talos-obmc-uboot-6a1c7cef14a41ade84bccdded1fd87b908b6958c.zip
dm: test: Add tests for the clk uclass
Add tests of each API call using a sandbox clock device. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/dts')
-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 c25614ab88..3c9abb303f 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -105,6 +105,10 @@
compatible = "denx,u-boot-fdt-test";
};
+ clk@0 {
+ compatible = "sandbox,clk";
+ };
+
eth@10002000 {
compatible = "sandbox,eth";
reg = <0x10002000 0x1000>;
OpenPOWER on IntegriCloud