diff options
author | Dzmitry Sankouski | 2023-01-22 18:21:23 +0300 |
---|---|---|
committer | Tom Rini | 2023-02-10 12:50:01 -0500 |
commit | 298ffdd5d65c4d67b958080c1a712f8f1c923af3 (patch) | |
tree | b9fc81567a163b3598b0491a78c3c02049ae5636 /arch | |
parent | 2ea062265fe67bd4ce375a4e691fdef1cab11478 (diff) |
test: create dedicated fdt node for ofnode_for_each_prop test
Property count may change in /buttons node, if more button tests added,
and this will break ofnode_for_each_prop.
Add separate node for mentioned test.
Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/dts/test.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index f98f0152ee8..716e8c71856 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -1537,6 +1537,20 @@ }; }; + ofnode-foreach { + compatible = "foreach"; + + first { + prop1 = <1>; + prop2 = <2>; + }; + + second { + prop1 = <1>; + prop2 = <2>; + }; + }; + osd { compatible = "sandbox,sandbox_osd"; }; |