File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
arch/arm64/boot/dts/rockchip Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 330330 gpio-key,wakeup = <1>;
331331 debounce-interval = <100>;
332332 };
333+
334+ button@1 {
335+ gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; /* GPIO1_A1 */
336+ linux,code = <KEY_F1>;
337+ label = "GPIO Button 1";
338+ linux,input-type = <1>;
339+ gpio-key,wakeup = <1>;
340+ debounce-interval = <100>;
341+ };
342+
343+ button@2 {
344+ gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; /* GPIO1_A3 */
345+ linux,code = <KEY_F2>;
346+ label = "GPIO Button 2";
347+ linux,input-type = <1>;
348+ gpio-key,wakeup = <1>;
349+ debounce-interval = <100>;
350+ };
351+
352+ button@3 {
353+ gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; /* GPIO1_A4 */
354+ linux,code = <KEY_F3>;
355+ label = "GPIO Button 3";
356+ linux,input-type = <1>;
357+ gpio-key,wakeup = <1>;
358+ debounce-interval = <100>;
359+ };
333360 };
334361
335362 adc_keys: adc-keys {
You can’t perform that action at this time.
0 commit comments