GPIO pin configuration on IMX8QXP through dts entries

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GPIO pin configuration on IMX8QXP through dts entries

1,147 Views
balaji1
Contributor II

Hi,

I'm trying to configure this gpio LSIO_GPIO1_IO07 through the custom dts file as shown below,

pinctrl_buzzer: buzzer {
fsl,pins = <
SC_P_SPI0_CS1_LSIO_GPIO1_IO07 0x26000000
>;
};

and node

buzzer_control {
compatible = "CEP-1110 buzzer";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_buzzer>;
En-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
};

 

When probed the pin, the voltage is low. I'm not able to figure out what is wrong. Any suggestion would be helpful.

0 Kudos
Reply
1 Reply

1,136 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
Reply