diff --git a/boards/st/stm32u5g9j_dk2/doc/index.rst b/boards/st/stm32u5g9j_dk2/doc/index.rst index d70a7eea876..344de846a53 100644 --- a/boards/st/stm32u5g9j_dk2/doc/index.rst +++ b/boards/st/stm32u5g9j_dk2/doc/index.rst @@ -53,7 +53,7 @@ Default Zephyr Peripheral Mapping: - LD3 : PD4 - User Button: PC13 - I2C1 SCL/SDA : PG14/PG13 -- I2C2 SCL/SDA : PB10/PB11 +- I2C2 SCL/SDA : PF1/PF0 - SPI1 SCK/MISO/MOSI/CS : PA5/PA6/PB5/PA3 - ADC1 : channel5 PA0, channel12 PA7 - ADC4 : channel4 PC3 diff --git a/boards/st/stm32u5g9j_dk2/stm32u5g9j_dk2.dts b/boards/st/stm32u5g9j_dk2/stm32u5g9j_dk2.dts index 368dd1d04f7..351e9030bff 100644 --- a/boards/st/stm32u5g9j_dk2/stm32u5g9j_dk2.dts +++ b/boards/st/stm32u5g9j_dk2/stm32u5g9j_dk2.dts @@ -21,6 +21,7 @@ zephyr,flash = &flash0; zephyr,code-partition = &slot0_partition; zephyr,display = <dc; + zephyr,touch = >911; }; leds { @@ -175,10 +176,17 @@ }; &i2c2 { - pinctrl-0 = <&i2c2_scl_pb10 &i2c2_sda_pb11>; pinctrl-names = "default"; + pinctrl-0 = <&i2c2_scl_pf1 &i2c2_sda_pf0>; status = "okay"; - clock-frequency = ; + clock-frequency = ; + + gt911: gt911@5d { + compatible = "goodix,gt911"; + reg = <0x5d>; + irq-gpios = <&gpioe 5 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpiod 2 GPIO_ACTIVE_LOW>; + }; }; &spi1 {