2IO增加edp触摸的设备树插件
This commit is contained in:
@ -0,0 +1,34 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/pinctrl/rockchip.h>
|
||||
#include <dt-bindings/display/drm_mipi_dsi.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
|
||||
|
||||
/ {
|
||||
compatible = "rockchip,rk3568";
|
||||
|
||||
fragment@0 {
|
||||
target = <&i2c5>;
|
||||
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
clock-frequency = <100000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
edp-gt911: edp-gt911@5d {
|
||||
status = "okay";
|
||||
compatible = "goodix,gt911";
|
||||
reg = <0x5d>;
|
||||
interrupt-parent = <&gpio3>;
|
||||
interrupts = <RK_PA7 IRQ_TYPE_LEVEL_LOW>;
|
||||
reset-gpios = <&gpio3 RK_PA0 GPIO_ACTIVE_LOW>;
|
||||
irq-gpios = <&gpio3 RK_PA7 GPIO_ACTIVE_HIGH>;
|
||||
touchscreen-inverted-x = <1>;
|
||||
touchscreen-inverted-y = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -15,6 +15,7 @@ enable_uboot_overlays=1
|
||||
#dtoverlay=/dtb/overlay/rk356x-lubancat-uart4-m1-overlay.dtbo
|
||||
#dtoverlay=/dtb/overlay/rk356x-lubancat-uart7-m1-overlay.dtbo
|
||||
#dtoverlay=/dtb/overlay/rk356x-lubancat-uart9-m1-overlay.dtbo
|
||||
#dtoverlay=/dtb/overlay/rk3568-lubancat-edp-touch-overlay.dtbo
|
||||
#display
|
||||
#dtoverlay=/dtb/overlay/rk3568-lubancat-hdmi-disabled-overlay.dtbo
|
||||
#dtoverlay=/dtb/overlay/rk3568-lubancat-2io-dsi0-in-vp0-1080p-overlay.dtbo
|
||||
|
||||
Reference in New Issue
Block a user