ODROID: GOU: Add headphone detect switch

This commit is contained in:
Mauro (mdrjr) Ribeiro
2023-09-11 12:37:24 -03:00
parent 0870d4f915
commit 1a5f6950aa

View File

@@ -75,6 +75,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 {