a64 gpio interrupt init failed
如下pc0
,gpio64
设置中断触发边沿失败。
~$ tree /sys/class/gpio/gpio64/
├── active_low
├── device -> ../../../1c20800.pinctrl
├── direction
├── power
│ ├── async
│ ├── autosuspend_delay_ms
│ ├── control
│ ├── runtime_active_kids
│ ├── runtime_active_time
│ ├── runtime_enabled
│ ├── runtime_status
│ ├── runtime_suspended_time
│ └── runtime_usage
├── subsystem -> ../../../../../class/gpio
├── uevent
└── value
对比,pb0
gpio32
,这里没有edge
属性。
~$ tree /sys/class/gpio/gpio32
/sys/class/gpio/gpio32
├── active_low
├── device -> ../../../1c20800.pinctrl
├── direction
├── edge
├── power
│ ├── async
│ ├── autosuspend_delay_ms
│ ├── control
│ ├── runtime_active_kids
│ ├── runtime_active_time
│ ├── runtime_enabled
│ ├── runtime_status
│ ├── runtime_suspended_time
│ └── runtime_usage
├── subsystem -> ../../../../../class/gpio
├── uevent
└── value
对比3.21.2.1. PB Configure Register 0 (Default Value: 0x77777777)
和3.21.2.10. PC Configure Register 0 (Default Value: 0x77777777)
这里pc0 确实不支持中断。
提示:Allwinner_A64_User_Manual_V1.1_decrypted.pdf
->Chapter 3 System
->3.21. Port Controller(CPUx-PORT)
还不快抢沙发