summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknolax <1339802534.kk@gmail.com>2017-12-27 22:00:21 -0500
committerknolax <1339802534.kk@gmail.com>2017-12-27 22:00:21 -0500
commit449f9f9cd89585f50aab67b3e1889d5f837116ba (patch)
tree8a8680555cfeb5c18b68b45e929c6b06341c1d78
parenta2b68d4f1daacd05a736c6a400a0a4b374fc78f4 (diff)
made the DTO more proper, the compatible property is still commented out
-rw-r--r--skey.dts14
1 files changed, 11 insertions, 3 deletions
diff --git a/skey.dts b/skey.dts
index 64bffd5..7e74aca 100644
--- a/skey.dts
+++ b/skey.dts
@@ -6,10 +6,18 @@
compatible = "brcm,bcm2708";
fragment@0 {
target-path = "/";
- __overlaqy__ {
- skey {
- ///compatible = "skey";
+ __overlay__ {
+ skey: skey {
+ //compatible = "skey";
status = "okay";
+ gpios = <10 24 23 22 27 18 17 15 14 4 3 6 5>;
+ };
+ };
+ };
+ fragment@1 {
+ target = <&gpio>;
+ __overlay__ {
+ skey_pins: skey_pins {
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>;