新手入门
- 积分
- 7
- 金钱
- 7
- 注册时间
- 2023-12-9
- 在线时间
- 1 小时
|
发表于 2023-12-9 20:34:50
|
显示全部楼层
hi, 我也遇到同樣的問題. 後來我是修改了dts. 可以參考我的patch試試
- diff --git a/arch/arm/boot/dts/stm32mp157d-atk.dtsi b/arch/arm/boot/dts/stm32mp157d-atk.dtsi
- index b11f359cf..03e383bdb 100644
- --- a/arch/arm/boot/dts/stm32mp157d-atk.dtsi
- +++ b/arch/arm/boot/dts/stm32mp157d-atk.dtsi
- @@ -80,13 +80,14 @@
- gpio-keys {
- compatible = "gpio-keys";
- autorepeat;
- +/*
- key0 {
- label = "USER-KEY0";
- linux,code = <114>;
- gpios = <&gpiog 3 GPIO_ACTIVE_LOW>;
- gpio-key,wakeup;
- };
- -
- +*/
- key1 {
- label = "USER-KEY1";
- linux,code = <115>;
复制代码 |
|