当前位置:网站首页>迅为iTOP-IMX6ULL开发板Pinctrl和GPIO子系统实验-修改设备树文件
迅为iTOP-IMX6ULL开发板Pinctrl和GPIO子系统实验-修改设备树文件
2022-07-07 11:09:00 【mucheni】
我们修改设备树文件 imx6ull-14x14-evk.dts,路径在源码目录 arch/arm/boot/dts/目录下,修改 test 节点
如下图所示:
test1:test{
#adress-cells = <1>;
#size-cells = <1>;
compatible = "test";
reg = <0x20ac000 0x0000004>; //寄存器的地址
pinctrl-0 = <&pinctrl_beep>; //
beep-gpio = <&gpio5 1 GPIO_ACTIVE_LOW>
};
};
&test1{
compatible = "test1234";
status = "okay";
};
在&iomuxc_snvs 里面追加 pinctrl_beep 内容,如下图所示:
然后搜索一下“pinctrl_beep”节点,发现有 pinctrl_beep 被使用的话要注释掉,如下图所示:
修改完后保存文件,参考 53.3 编译设备树文件章节编译设备树。
更多内容可以关注公众号:北京迅为
边栏推荐
- 基于鲲鹏原生安全,打造安全可信的计算平台
- Conversion from non partitioned table to partitioned table and precautions
- 关于 appium 如何关闭 app (已解决)
- [learn wechat from 0] [00] Course Overview
- [crawler] avoid script detection when using selenium
- @Resource和@Autowired的区别?
- 国泰君安证券开户怎么开的?开户安全吗?
- .Net下极限生产力之efcore分表分库全自动化迁移CodeFirst
- Guangzhou held work safety conference
- Adopt a cow to sprint A shares: it plans to raise 1.85 billion yuan, and Xu Xiaobo holds nearly 40%
猜你喜欢
ACL 2022 | small sample ner of sequence annotation: dual tower Bert model integrating tag semantics
- Oui. Migration entièrement automatisée de la Sous - base de données des tableaux d'effets sous net
Blog recommendation | Apache pulsar cross regional replication scheme selection practice
Lingyunguang of Dachen and Xiaomi investment is listed: the market value is 15.3 billion, and the machine is implanted into the eyes and brain
How to continue after handling chain interruption / sub chain error removed from scheduling
Importance of database security
How to apply @transactional transaction annotation to perfection?
认养一头牛冲刺A股:拟募资18.5亿 徐晓波持股近40%
DHCP 动态主机设置协议 分析
. Net ultimate productivity of efcore sub table sub database fully automated migration codefirst
随机推荐
线程池拒绝策略最佳实践
About the problem of APP flash back after appium starts the app - (solved)
Leetcode skimming: binary tree 20 (search in binary search tree)
test
DHCP 动态主机设置协议 分析
Cookie
.Net下极限生产力之efcore分表分库全自动化迁移CodeFirst
.Net下极限生产力之efcore分表分库全自动化迁移CodeFirst
xshell评估期已过怎么办
Leetcode skimming: binary tree 23 (mode in binary search tree)
Initialization script
Talk about four cluster schemes of redis cache, and their advantages and disadvantages
2022a special equipment related management (boiler, pressure vessel and pressure pipeline) simulated examination question bank simulated examination platform operation
高瓴投的澳斯康生物冲刺科创板:年营收4.5亿 丢掉与康希诺合作
【无标题】
Lingyunguang of Dachen and Xiaomi investment is listed: the market value is 15.3 billion, and the machine is implanted into the eyes and brain
测试下摘要
. Net ultimate productivity of efcore sub table sub database fully automated migration codefirst
环境配置篇
Ogre入门尝鲜