GPIO pin configuration on IMX8QXP through dts entries

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

GPIO pin configuration on IMX8QXP through dts entries

775 次查看
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 项奖励
回复
1 回复

764 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复