GPIO pin configuration on IMX8QXP through dts entries

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

GPIO pin configuration on IMX8QXP through dts entries

1,169件の閲覧回数
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 返信

1,158件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛
返信