aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bad-gpio.dts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bad-gpio.dts')
-rw-r--r--tests/bad-gpio.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bad-gpio.dts b/tests/bad-gpio.dts
new file mode 100644
index 000000000000..6b77be447b82
--- /dev/null
+++ b/tests/bad-gpio.dts
@@ -0,0 +1,13 @@
+/dts-v1/;
+
+/ {
+ gpio: gpio-controller {
+ #gpio-cells = <3>;
+ };
+
+ node {
+ nr-gpios = <1>;
+ foo-gpios = <&gpio>;
+ bar-gpio = <&gpio 1 2 3>;
+ };
+};