summaryrefslogtreecommitdiff
path: root/skey.dts
diff options
context:
space:
mode:
Diffstat (limited to 'skey.dts')
-rw-r--r--skey.dts19
1 files changed, 19 insertions, 0 deletions
diff --git a/skey.dts b/skey.dts
new file mode 100644
index 0000000..2e56735
--- /dev/null
+++ b/skey.dts
@@ -0,0 +1,19 @@
+// dtoverlay for skey that sets all pins to be pull-down
+/dts-v1/;
+/plugin/;
+
+/ {
+ compatible = "brcm,bcm2708";
+ fragment@0 {
+ target-path = "/";
+ __overlay__ {
+ skey {
+ ///compatible = "skey";
+ status = "okay";
+ bcrm,pins = <10 24 23 22 27 18 17 15 14 4 3 6 5>
+ bcrm,function = <0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x1 0x1 0x1>
+ bcrm,pull = <0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x1 0x0 0x0 0x0>
+ };
+ };
+ };
+};