summaryrefslogtreecommitdiff
path: root/arch/sandbox/dts/test.dts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-04-23 13:26:53 +0900
committerTom Rini <trini@konsulko.com>2018-05-07 15:49:52 -0400
commit99552c343576051c9edcf5c9f3fe4186d5c76029 (patch)
treea683c5e6e43995c14ba3f124f3713de5d0c45fcf /arch/sandbox/dts/test.dts
parente151a1c288bd8b3e85ca6386942e6322fa984d96 (diff)
test: regmap: test Linux-compatible syscon_node_to_regmap()
Like Linux, syscon_node_to_regmap() allows a node to work as a syscon provider without binding it to a syscon driver. Test this. Requested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/dts/test.dts')
-rw-r--r--arch/sandbox/dts/test.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 06d0e8ce85..3c25cb79ef 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -393,6 +393,14 @@
0x38 8>;
};
+ syscon@2 {
+ compatible = "simple-mfd", "syscon";
+ reg = <0x40 5
+ 0x48 6
+ 0x50 7
+ 0x58 8>;
+ };
+
timer {
compatible = "sandbox,timer";
clock-frequency = <1000000>;