diff options
-rw-r--r-- | skey.dts | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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>; |