diff --git a/samples/drivers/adc/boards/cy8cproto_063_ble.overlay b/samples/drivers/adc/boards/cy8cproto_063_ble.overlay index 48b2befb803..c2f70eff7e8 100644 --- a/samples/drivers/adc/boards/cy8cproto_063_ble.overlay +++ b/samples/drivers/adc/boards/cy8cproto_063_ble.overlay @@ -24,7 +24,7 @@ zephyr,gain = "ADC_GAIN_1"; zephyr,reference = "ADC_REF_INTERNAL"; zephyr,resolution = <12>; - zephyr,input-positive = <0>; /* P10.0 */ + zephyr,input-positive = <2>; /* P10.2 */ }; channel@1 { @@ -33,7 +33,7 @@ zephyr,gain = "ADC_GAIN_1"; zephyr,reference = "ADC_REF_INTERNAL"; zephyr,resolution = <12>; - zephyr,input-positive = <1>; /* P10.1 */ + zephyr,input-positive = <3>; /* P10.3 */ }; channel@2 { @@ -42,7 +42,7 @@ zephyr,gain = "ADC_GAIN_1"; zephyr,reference = "ADC_REF_INTERNAL"; zephyr,resolution = <12>; - zephyr,input-positive = <2>; /* P10.2 */ + zephyr,input-positive = <4>; /* P10.4 */ }; channel@3 { @@ -51,6 +51,6 @@ zephyr,gain = "ADC_GAIN_1"; zephyr,reference = "ADC_REF_INTERNAL"; zephyr,resolution = <12>; - zephyr,input-positive = <3>; /* P10.3 */ + zephyr,input-positive = <5>; /* P10.5 */ }; }; diff --git a/samples/drivers/adc/sample.yaml b/samples/drivers/adc/sample.yaml index fd3807fad99..46b88fa6040 100644 --- a/samples/drivers/adc/sample.yaml +++ b/samples/drivers/adc/sample.yaml @@ -9,6 +9,7 @@ tests: - disco_l475_iot1 - cc3220sf_launchxl - cc3235sf_launchxl + - cy8cproto_063_ble - stm32l496g_disco - stm32h735g_disco - nrf51dk_nrf51422 diff --git a/tests/drivers/adc/adc_api/boards/cy8cproto_063_ble.overlay b/tests/drivers/adc/adc_api/boards/cy8cproto_063_ble.overlay index 4863af8b2c8..b8f7b78001e 100644 --- a/tests/drivers/adc/adc_api/boards/cy8cproto_063_ble.overlay +++ b/tests/drivers/adc/adc_api/boards/cy8cproto_063_ble.overlay @@ -24,7 +24,7 @@ zephyr,gain = "ADC_GAIN_1"; zephyr,reference = "ADC_REF_INTERNAL"; zephyr,resolution = <12>; - zephyr,input-positive = <0>; /* P10.0 */ + zephyr,input-positive = <2>; /* P10.2 */ }; channel@1 { @@ -33,6 +33,6 @@ zephyr,gain = "ADC_GAIN_1"; zephyr,reference = "ADC_REF_INTERNAL"; zephyr,resolution = <12>; - zephyr,input-positive = <1>; /* P10.1 */ + zephyr,input-positive = <3>; /* P10.3 */ }; }; diff --git a/tests/drivers/gpio/gpio_basic_api/boards/cy8cproto_063_ble.overlay b/tests/drivers/gpio/gpio_basic_api/boards/cy8cproto_063_ble.overlay new file mode 100644 index 00000000000..a01e0d692c5 --- /dev/null +++ b/tests/drivers/gpio/gpio_basic_api/boards/cy8cproto_063_ble.overlay @@ -0,0 +1,18 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or + * an affiliate of Cypress Semiconductor Corporation + */ + +/ { + resources { + compatible = "test-gpio-basic-api"; + out-gpios = <&gpio_prt9 4 0>; + in-gpios = <&gpio_prt9 2 0>; + }; +}; + +&gpio_prt9 { + status = "okay"; +}; diff --git a/tests/drivers/i2c/i2c_api/boards/cy8cproto_063_ble.overlay b/tests/drivers/i2c/i2c_api/boards/cy8cproto_063_ble.overlay new file mode 100644 index 00000000000..17df1697469 --- /dev/null +++ b/tests/drivers/i2c/i2c_api/boards/cy8cproto_063_ble.overlay @@ -0,0 +1,32 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * Copyright (c) 2023 Cypress Semiconductor Corporation (an Infineon company) or + * an affiliate of Cypress Semiconductor Corporation + */ + +/ { + aliases { + gy271 = &i2c1; + i2c-0 =&i2c1; + }; +}; + +i2c1: &scb1 { + compatible = "infineon,cat1-i2c"; + + status = "okay"; + pinctrl-0 = <&p10_0_scb1_i2c_scl &p10_1_scb1_i2c_sda>; + pinctrl-names = "default"; +}; + +/* Configure pin control bias mode for i2c pins */ +&p10_0_scb1_i2c_scl { + drive-open-drain; + input-enable; +}; + +&p10_1_scb1_i2c_sda { + drive-open-drain; + input-enable; +};