#include "waipio-qrd.dtsi"

&sdhc_2 {
	cd-gpios = <&tlmm 92 GPIO_ACTIVE_HIGH>;
};

&redriver {
	status = "disabled";
};

&usb_qmp_dp_phy {
	pinctrl-names = "default";
};

&qupv3_se4_spi {
	status = "ok";
	qcom,spi-touch-active = "novatek,NVT-ts";
	qcom,la-vm;

	focaltech@0 {
		reg = <0xFF>;
	};

	novatek@0 {
		compatible = "novatek,NVT-ts";
		reg = <0x0>;
		spi-max-frequency = <12800000>;
		interrupt-parent = <&tlmm>;
		interrupts = <21 0x2008>;
		novatek,reset-gpio = <&tlmm 20 0x00>;
		novatek,irq-gpio = <&tlmm 21 0x2008>;
		novatek,swrst-n8-addr = <0x03F0FE>;
		novatek,spi-rd-fast-addr = <0x03F310>;

		pinctrl-names = "pmx_ts_active", "pmx_ts_suspend", "pmx_ts_release";
		pinctrl-0 = <&ts_active>;
		pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
		pinctrl-2 = <&ts_release>;

		novatek,trusted-touch-mode = "vm_mode";
		novatek,touch-environment = "pvm";
	};
};
