/
i.MX6 Reset Button
i.MX6 Reset Button
Program the reset button
That is exposed to linux as a GPIO key. You can see it in the device-tree here:
arch/arm/boot/dts/imx6qdl-cubox-i.dtsi
pinctrl_gpio_key: gpio-key {
fsl,pins = <
MX6QDL_PAD_EIM_DA8__GPIO3_IO08 0x17059
>;
};
If you want you can customize this to look like a custom button. https://github.com/SolidRun/linux-stable/blob/linux-4.9.y-imx6/Documentation/devicetree/bindings/input/gpio-keys.txt
Then you would need to write a userspace daemon to listen for the key event and then perform whatever action you wanted depending on the length it was held down for.
, multiple selections available,
Related content
Boot from USB OTG - i.MX6
Boot from USB OTG - i.MX6
More like this
i.MX6 SOM boot configuration pins
i.MX6 SOM boot configuration pins
More like this
eFuses for i.MX6 SOM (Developers page)
eFuses for i.MX6 SOM (Developers page)
More like this
i.MX6 Other Articles
i.MX6 Other Articles
Read with this
Blink LED when a button is pressed - GPIO/LED/Button Example
Blink LED when a button is pressed - GPIO/LED/Button Example
More like this
i.MX6 SOM Hardware User Manual
i.MX6 SOM Hardware User Manual
Read with this
SolidRun Ltd.