According to the phyCORE - RK3288 Hardware Manual, GPIO5_B4 corresponds to
the touchscreen interrupt line:
https://www.phytec.eu/fileadmin/legacy/downloads/Manuals/L-826e_1.pdf
Describe it to improve the devicetree representation.
This fixes the following dt-schema warning:
'interrupts' is a required property
'interrupts-extended' is a required property
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://patch.msgid.link/20260303193855.828892-1-festevam@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
touchscreen@44 {
compatible = "st,stmpe811";
reg = <0x44>;
+ interrupt-parent = <&gpio5>;
+ interrupts = <RK_PB4 IRQ_TYPE_EDGE_FALLING>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&ts_irq_pin>;
};
adc@64 {
touchscreen {
ts_irq_pin: ts-irq-pin {
- rockchip,pins = <5 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
+ rockchip,pins = <5 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>;
};
};