mcxn947: touch: Enable touch panel on frdm_mcxn947
- Enable the touch panel of lcd_par_s035 Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
This commit is contained in:
parent
3b82edbf71
commit
aa8c0f0f73
|
@ -52,6 +52,19 @@
|
|||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
* This node describes the GPIO pins of the LCD-PAR-S035 panel 8080 interface.
|
||||
*/
|
||||
nxp_lcd_8080_connector: lcd-8080-connector {
|
||||
compatible = "nxp,lcd-8080";
|
||||
#gpio-cells = <2>;
|
||||
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||
gpio-map-pass-thru = <0 0x3f>;
|
||||
gpio-map = <9 0 &gpio4 6 0>, /* Pin 9, LCD touch INT */
|
||||
<10 0 &gpio4 5 0>, /* Pin 10, LCD backlight control */
|
||||
<11 0 &gpio4 7 0>; /* Pin 11, LCD and touch reset */
|
||||
};
|
||||
};
|
||||
|
||||
&flexcomm1_lpspi1 {
|
||||
|
@ -59,7 +72,7 @@
|
|||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&flexcomm2_lpi2c2 {
|
||||
nxp_8080_touch_panel_i2c: &flexcomm2_lpi2c2 {
|
||||
pinctrl-0 = <&pinmux_flexcomm2_lpi2c>;
|
||||
pinctrl-names = "default";
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
|
|
Loading…
Reference in New Issue