4087
- 收藏
- 点赞
- 分享
- 举报
如何在海思DTS中添加GPIO中断,能让外设驱动识别,求指教
要使用GPIO0_5给外设WIFI驱动,做中断。目前DTS配置是这样的
DTSI部分
gpio_chip0: gpio_chip@12140000 {
compatible = "arm,pl061", "arm,primecell";
reg = <0x12140000 0x1000>;
interrupts = <0 43 4>;
clocks = <&clock HI3519_SYSAPB_CLK>;
clock-names = "apb_pclk";
#gpio-cells = <2>;
status = "disabled";
};
mmc1: himciv200.SD@0x100d0000 {
compatible = "hisilicon,hi3519-himciv200";
reg = <0x100d0000 0x10000>;
interrupts = <0 24 4>;
clocks = <&clock HI3519_MMC1_CLK>;
clock-names = "mmc_clk";
bus-width = <4>;
max-frequency = <48000000>;
cap-mmc-highspeed;
#cap-sd-highspeed;
#non-removable;
#sd-uhs-sdr12;
#sd-uhs-sdr25;
#sd-uhs-sdr50;
#sd-uhs-sdr104;
mmc-hs400-1_8v;
devid = <1>;
status = "disabled";
needs-special-hs-handling;
cap-power-off-card;
keep-power-in-suspend;
#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@0 {
compatible = "wifi";
reg = <2>;
interrupt-parent = <&gpio_chip0>;
interrupts = <5 IRQ_TYPE_EDGE_RISING>;
};
};
DTS部分
&mmc0 {
status = "okay";
};
&gpio_chip0 {
status = "okay";
};
加载wifi驱动的时候,识别不到IRQ
错误如下:
wifi_sdio mmc2:0001:2: No irq in platform data
有高手能帮忙指导下吗,有偿也可以。
DTSI部分
gpio_chip0: gpio_chip@12140000 {
compatible = "arm,pl061", "arm,primecell";
reg = <0x12140000 0x1000>;
interrupts = <0 43 4>;
clocks = <&clock HI3519_SYSAPB_CLK>;
clock-names = "apb_pclk";
#gpio-cells = <2>;
status = "disabled";
};
mmc1: himciv200.SD@0x100d0000 {
compatible = "hisilicon,hi3519-himciv200";
reg = <0x100d0000 0x10000>;
interrupts = <0 24 4>;
clocks = <&clock HI3519_MMC1_CLK>;
clock-names = "mmc_clk";
bus-width = <4>;
max-frequency = <48000000>;
cap-mmc-highspeed;
#cap-sd-highspeed;
#non-removable;
#sd-uhs-sdr12;
#sd-uhs-sdr25;
#sd-uhs-sdr50;
#sd-uhs-sdr104;
mmc-hs400-1_8v;
devid = <1>;
status = "disabled";
needs-special-hs-handling;
cap-power-off-card;
keep-power-in-suspend;
#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@0 {
compatible = "wifi";
reg = <2>;
interrupt-parent = <&gpio_chip0>;
interrupts = <5 IRQ_TYPE_EDGE_RISING>;
};
};
DTS部分
&mmc0 {
status = "okay";
};
&gpio_chip0 {
status = "okay";
};
加载wifi驱动的时候,识别不到IRQ
错误如下:
wifi_sdio mmc2:0001:2: No irq in platform data
有高手能帮忙指导下吗,有偿也可以。
我来回答
回答0个
时间排序
认可量排序
暂无数据
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2019-10-08 14:43:03
-
2019-12-17 15:30:53
-
2018-12-28 11:34:15
-
2020-12-29 15:24:39
-
2017-09-18 14:25:54
-
322015-01-20 11:18:59
-
2017-07-31 14:19:52
-
2015-07-09 16:14:08
-
2019-02-21 10:48:10
-
2020-10-10 19:20:24
-
2017-08-09 10:47:15
-
2019-12-13 15:55:27
-
2020-08-18 15:42:45
-
72014-08-07 22:06:30
-
2021-05-31 17:34:29
-
2019-01-30 15:40:36
-
2018-01-31 16:13:23
-
2014-12-03 21:21:02
-
2018-09-28 09:48:48
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认