Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /dts-v1/;
- /plugin/;
- / {
- fragment@0 {
- target = <&gpio>;
- __overlay__ {
- pistomachine_pins: pistomachine_pins {
- brcm,pins = <2 3 4 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27>;
- brcm,function = <0>; /* in */
- brcm,pull = <1>; /* up */
- };
- };
- };
- fragment@1 {
- target-path = "/soc";
- __overlay__ {
- pistomachine: pistomachine {
- compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
- pinctrl-names = "default";
- pinctrl-0 = <&pistomachine_pins>;
- status = "okay";
- autorepeat;
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement