From 709425305c2081e54871f7d77327d88aef356167 Mon Sep 17 00:00:00 2001 From: Jakob Krantz Date: Thu, 1 Aug 2024 09:48:22 +0200 Subject: [PATCH] Change pins for touch chip to make sure it works properly on nRF5340dk. --- app/boards/nrf5340dk_nrf5340_cpuapp.overlay | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/boards/nrf5340dk_nrf5340_cpuapp.overlay b/app/boards/nrf5340dk_nrf5340_cpuapp.overlay index 5c5cc42b..e52a82b4 100644 --- a/app/boards/nrf5340dk_nrf5340_cpuapp.overlay +++ b/app/boards/nrf5340dk_nrf5340_cpuapp.overlay @@ -180,8 +180,8 @@ cst816s: cst816s@15 { compatible = "hynitron,cst816s"; reg = <0x15>; - irq-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; - rst-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; + irq-gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; + rst-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; }; }; @@ -195,6 +195,12 @@ }; }; +&i2c2_default { + group1 { + bias-pull-up; + }; +}; + &spi4 { status = "okay";