// dtoverlay for skey that sets all pins to be pull-down /dts-v1/; /plugin/; / { compatible = "brcm,bcm2708"; fragment@0 { target = <&gpio>; __overlay__ { pinctrl-names = "default"; pinctrl-0 = <&skey_pins>; skey_pins: skey_pins { bcrm,pins = <10 24 23 22 27 18 17 15 14 4 3 6 5>; bcrm,function = <0 0 0 0 0 0 0 0 0 0 1 1 1>; bcrm,pull = <1 1 1 1 1 1 1 1 1 1 0 0 0>; }; }; }; };