ODROID: GOU: Add headphone detect switch

This commit is contained in:
Mauro (mdrjr) Ribeiro
2023-09-11 12:37:24 -03:00
parent ce7e911d7d
commit a513d25c43

View File

@@ -48,6 +48,14 @@
linux,code = <KEY_VOLUMEDOWN>;
gpios = <&gpio GPIOX_9 GPIO_ACTIVE_LOW>;
};
headphone-detect-switch {
label = "HEADPHONE";
linux,input-type = <EV_SW>;
linux,code = <SW_HEADPHONE_INSERT>;
gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
};
};
joypad: gou_joypad {