4142
- 收藏
- 点赞
- 分享
- 举报
如何在海思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
-
2017-07-31 14:19:52
-
322015-01-20 11:18:59
-
2019-02-21 10:48:10
-
2015-07-09 16:14:08
-
2020-10-10 19:20:24
-
2019-12-13 15:55:27
-
2020-08-18 15:42:45
-
2017-08-09 10:47:15
-
72014-08-07 22:06:30
-
2019-01-30 15:40:36
-
2018-01-31 16:13:23
-
2021-05-31 17:34:29
-
2014-12-03 21:21:02
-
2022-05-20 14:46:28
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认