魔塔13吧 关注:11贴子:515
  • 0回复贴,共1
#include "imx6ull-14x14-emmc-4.3-800x480-c.dts"
/ {
mygpiotest {
compatible = "mygpiotest,myboard2";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mygpiotest>;
gpios = <&gpio4 26 GPIO_ACTIVE_HIGH /* 引脚名: CSI_DATA05, 板上丝印: CAMERA D5 */
&gpio4 25 GPIO_ACTIVE_HIGH /* 引脚名: CSI_DATA04, 板上丝印: CAMERA D4 */
&gpio4 28 GPIO_ACTIVE_HIGH /* 引脚名: CSI_DATA07, 板上丝印: CAMERA D7 */
&gpio4 27 GPIO_ACTIVE_HIGH /* 引脚名: CSI_DATA06, 板上丝印: CAMERA D6 */
>;
};
};
&iomuxc {
imx6ul-evk {
/delete-node/csi1grp;
pinctrl_mygpiotest: mygpiotestgrp {
fsl,pins = <
MX6UL_PAD_CSI_DATA05__GPIO4_IO26 0x10b0 /* 引脚名为CSI_DATA05的引脚复用为GPIO4_IO26 */
MX6UL_PAD_CSI_DATA04__GPIO4_IO25 0x10b0
MX6UL_PAD_CSI_DATA07__GPIO4_IO28 0x10b0
MX6UL_PAD_CSI_DATA06__GPIO4_IO27 0x10b0
>;
};
};
};
/* 删除不需要的节点 */
&i2c2 {
/delete-node/ov5640@3c;
};
&csi {
status = "disabled";
/delete-node/port;
};


IP属地:内蒙古1楼2022-06-22 21:37回复