aboutsummaryrefslogtreecommitdiffstats
path: root/dtc/tests/unit-addr-simple-bus-reg-mismatch.dts
diff options
context:
space:
mode:
Diffstat (limited to 'dtc/tests/unit-addr-simple-bus-reg-mismatch.dts')
-rw-r--r--dtc/tests/unit-addr-simple-bus-reg-mismatch.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/dtc/tests/unit-addr-simple-bus-reg-mismatch.dts b/dtc/tests/unit-addr-simple-bus-reg-mismatch.dts
new file mode 100644
index 000000000..282337770
--- /dev/null
+++ b/dtc/tests/unit-addr-simple-bus-reg-mismatch.dts
@@ -0,0 +1,18 @@
+/dts-v1/;
+
+/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ bus@10000000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "simple-bus";
+ ranges = <0x0 0x10000000 0x10000>;
+
+ node@100 {
+ reg = <0x1000 1>;
+ };
+ };
+
+};