当前位置:网站首页>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
边栏推荐
猜你喜欢
单片机原理期末复习笔记
Awk of three swordsmen in text processing
Introduction and basic use of stored procedures
为租客提供帮助
My "troublesome" subordinates after 00: not bad for money, against leaders, and resist overtime
Smart cloud health listed: with a market value of HK $15billion, SIG Jingwei and Jingxin fund are shareholders
Sed of three swordsmen in text processing
Cinnamon 任务栏网速
【黑马早报】华为辟谣“军师”陈春花;恒驰5预售价17.9万元;周杰伦新专辑MV 3小时播放量破亿;法华寺回应万元月薪招人...
High end for 8 years, how is Yadi now?
随机推荐
[learning notes] agc010
PAcP learning note 3: pcap method description
ORACLE进阶(五)SCHEMA解惑
PCAP学习笔记二:pcap4j源码笔记
Pay close attention to the work of safety production and make every effort to ensure the safety of people's lives and property
RealBasicVSR测试图片、视频
JS function 返回多个值
The difference between cache and buffer
解决缓存击穿问题
How to continue after handling chain interruption / sub chain error removed from scheduling
About how appium closes apps (resolved)
Write it down once Net a new energy system thread surge analysis
leecode3. 无重复字符的最长子串
QQ的药,腾讯的票
LIS 最长上升子序列问题(动态规划、贪心+二分)
人均瑞数系列,瑞数 4 代 JS 逆向分析
将数学公式在el-table里面展示出来
我那“不好惹”的00后下属:不差钱,怼领导,抵制加班
How to reset Google browser? Google Chrome restore default settings?
centso7 openssl 报错Verify return code: 20 (unable to get local issuer certificate)