AnsweredAssumed Answered

How to set a gpio-reset pin?

Question asked by Damien Huang on Feb 24, 2016
Latest reply on Feb 25, 2016 by Damien Huang


I would like to set up a gpio-reset pin for my imx6q-sabrelite board to reset peripheral device and MX6QDL_PAD_CSI0_PIXCLK__GPIO05_IO18 was selected for this.

so in section imx6q-sabrelite {} within file imx6qdl-sabrelite.dtsi, I defined


peripheral_reset: peripheral_reset {

     compatible = "gpio-reset";

     reset-gpios = <&gpio5 18 GPIO_ACTIVE_LOW>;

     reset-delay-us = <20>;


     #reset-cells = <0>



without defining the actual device of using this reset pin, I compiled the dtsi file and install it into the machine. It caused the machine hang and reboot again and again (due to watchdog). Could someone tell me what is wrong?