Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
hats/eepromutils/anavi-play-phat.dts
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
57 lines (56 sloc)
1.45 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /dts-v1/; | |
| /plugin/; | |
| / { | |
| compatible = "brcm,bcm2835", "brcm,bcm2708", "brcm,bcm2709", "brcm,bcm2710"; | |
| fragment@0 { | |
| target-path = "/"; | |
| __overlay__ { | |
| keypad: anavi-play-phat { | |
| compatible = "gpio-keys"; | |
| #address-cells = <1>; | |
| #size-cells = <0>; | |
| autorepeat; | |
| button@17 { | |
| label = "right"; | |
| linux,code = <106>; | |
| gpios = <&gpio 17 1>; | |
| }; | |
| button@4 { | |
| label = "left"; | |
| linux,code = <105>; | |
| gpios = <&gpio 4 1>; | |
| }; | |
| button@27 { | |
| label = "down"; | |
| linux,code = <108>; | |
| gpios = <&gpio 27 1>; | |
| }; | |
| button@22 { | |
| label = "up"; | |
| linux,code = <103>; | |
| gpios = <&gpio 22 1>; | |
| }; | |
| button@5 { | |
| label = "start"; | |
| linux,code = <57>; | |
| gpios = <&gpio 5 1>; | |
| }; | |
| button@6 { | |
| label = "select"; | |
| linux,code = <31>; | |
| gpios = <&gpio 6 1>; | |
| }; | |
| button@19 { | |
| label = "A"; | |
| linux,code = <30>; | |
| gpios = <&gpio 19 1>; | |
| }; | |
| button@26 { | |
| label = "B"; | |
| linux,code = <48>; | |
| gpios = <&gpio 26 1>; | |
| }; | |
| }; | |
| }; | |
| }; | |
| }; |