新手上路
- 积分
- 20
- 金钱
- 20
- 注册时间
- 2021-11-25
- 在线时间
- 7 小时
|

楼主 |
发表于 2024-4-7 21:11:46
|
显示全部楼层
设备树如下:
&i2c0 {
clock-frequency = <100000>;
gt911@5d {
compatible = "goodix,gt911";
status = "okay";
reg = <0x5d>;
interrupt-parent = <&gpio0>;
interrupts = <0 0>;
irq-gpios = <&gpio0 0 0>;
reset-gpios = <&gpio0 1 0>;
};
gt911@14 {
compatible = "goodix,gt911";
status = "okay";
reg = <0x14>;
interrupt-parent = <&gpio0>;
interrupts = <0 0>;
irq-gpios = <&gpio0 0 0>;
reset-gpios = <&gpio0 1 0>;
};
}; |
|