summaryrefslogtreecommitdiff
path: root/boards/shields/petejohanson_handwire/petejohanson_handwire.overlay
blob: 678070ef2ef87ea54b27194b2175f4a85e1b6275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/ {
	kscan {
		compatible = "gpio-kscan";
		label = "Handwired GPIO KSCAN matrix";

		row-gpios = <&arduino_header 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>,
		            <&arduino_header 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
		col-gpios = <&arduino_header 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>,
		            <&arduino_header 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
	};
};