1/* 2 * Copyright (c) 2024 Arif Balik <arifbalik@outlook.com> 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6/ { 7 zephyr,user { 8 /* This will be used to trigger the SYNC pin high and low programmatically. 9 * They have to be connected. 10 */ 11 signal-gpios = <&gpioa 10 GPIO_ACTIVE_HIGH>; 12 }; 13}; 14 15&tsc { 16 status = "okay"; 17 18 pinctrl-0 = <&tsc_g1_io1_pb12 &tsc_g1_io2_pb13 &tsc_g6_io1_pd10 19 &tsc_g6_io2_pd11 &tsc_sync_pd2>; 20 pinctrl-names = "default"; 21 22 st,pulse-generator-prescaler = <128>; 23 24 st,spread-spectrum; 25 st,spread-spectrum-prescaler = <2>; 26 st,spread-spectrum-deviation = <10>; 27 28 st,max-count-value = <16383>; 29 30 st,synced-acquisition; 31 st,syncpol-rising; 32}; 33