当前位置:网站首页>Fast development board pinctrl and GPIO subsystem experiment for itop-imx6ull - modify the device tree file
Fast development board pinctrl and GPIO subsystem experiment for itop-imx6ull - modify the device tree file
2022-07-07 13:24:00 【mucheni】
We modify the device tree file imx6ull-14x14-evk.dts, The path is in the source directory arch/arm/boot/dts/ Under the table of contents , modify test node
As shown in the figure below :
test1:test{
#adress-cells = <1>;
#size-cells = <1>;
compatible = "test";
reg = <0x20ac000 0x0000004>; // The address of the register
pinctrl-0 = <&pinctrl_beep>; //
beep-gpio = <&gpio5 1 GPIO_ACTIVE_LOW>
};
};
&test1{
compatible = "test1234";
status = "okay";
};
stay &iomuxc_snvs Add pinctrl_beep Content , As shown in the figure below :
And search for it “pinctrl_beep” node , Found to have pinctrl_beep If it is used, it should be commented out , As shown in the figure below :
Save the file after modification , Reference resources 53.3 Compile device tree file chapter compile device tree .
More content can be paid to official account. : Beijing Xunwei
边栏推荐
猜你喜欢
Cinnamon 任务栏网速
Smart cloud health listed: with a market value of HK $15billion, SIG Jingwei and Jingxin fund are shareholders
[untitled]
Sed of three swordsmen in text processing
LED light of single chip microcomputer learning notes
Scripy tutorial classic practice [New Concept English]
Practical example of propeller easydl: automatic scratch recognition of industrial parts
如何让join跑得更快?
Write it down once Net a new energy system thread surge analysis
【学习笔记】zkw 线段树
随机推荐
《开源圆桌派》第十一期“冰与火之歌”——如何平衡开源与安全间的天然矛盾?
error LNK2019: 无法解析的外部符号
QQ的药,腾讯的票
Introduce six open source protocols in detail (instructions for programmers)
API query interface for free mobile phone number ownership
Ogre入门尝鲜
[learning notes] segment tree selection
High end for 8 years, how is Yadi now?
[learning notes] zkw segment tree
DrawerLayout禁止侧滑显示
为租客提供帮助
Shortcut key of Bash
JS中为什么基础数据类型可以调用方法
数字ic设计——SPI
工具箱之 IKVM.NET 项目新进展
[untitled]
Coscon'22 community convening order is coming! Open the world, invite all communities to embrace open source and open a new world~
服务器到服务器 (S2S) 事件 (Adjust)
Read PG in data warehouse in one article_ stat
日本政企员工喝醉丢失46万信息U盘,公开道歉又透露密码规则