[ 1.207374] i2c /dev entries driver
[ 1.211108] sun8i-v3s-pinctrl 1c20800.pinctrl: unknown pin E21
[ 1.217028] sun8i-v3s-pinctrl 1c20800.pinctrl: unknown pin E22
[ 1.224095] input: ns2009_ts as /devices/platform/soc/1c2b000.i2c/i2c-0/0-0048/input/input0
[ 1.233918] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
设备树是
&pio
{
i2c1_pins: i2c1-pins {
pins = "E21", "E22";
function = "i2c1";
};
}
&i2c1 {
pinctrl-0 = <&i2c1_pins>;
status = "okay";
ns2009: ns2009@48 {
compatible = "nsiway,ns2009";
reg = <0x48>;
};
};
内核是用5.2的
最近编辑记录 hai2599 (2024-08-17 20:12:29)
离线
全志v3s TWI1 能PB8 PB9 也能 PE21 PE22的吗??
串口已经用PB8 PB9了
内核是用5.2的。。
离线