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