Tool/software:
Hi team,
I am using M24 and N20 as the input pins, But I want that whenever the INPUT pin status changes to high, I get notified into my application and take action.
Any one can idea how can i achieve this?
Please find dst configurations as below.
&main_pmx0 {
....
/*Enable GPIO*/
usr_exp_gpio_pins_default: usr-exp-gpio-pins-default {
pinctrl-single,pins = <
AM62X_IOPAD(0x0090, PIN_INPUT, 7) /* (M24) GPMC0_BE0n_CLE.GPIO0_35 */
AM62X_IOPAD(0x0094, PIN_INPUT, 7) /* (N20) GPMC0_BE1n.GPIO0_36 */
AM62X_IOPAD(0x0098, PIN_OUTPUT, 7) /* (U23) GPMC0_WAIT0.GPIO0_37 */
AM62X_IOPAD(0x00a4, PIN_OUTPUT, 7) /* (M22) GPMC0_DIR.GPIO0_40 *
>;
};
};
&main_gpio1 {
pinctrl-names = "default";
pinctrl-0 = <&usr_exp_gpio_pins_default>;
status = "okay";
};