diff --git a/tests/drivers/adc/adc_accuracy_test/boards/ek_ra4e2.overlay b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra4e2.overlay new file mode 100644 index 00000000000000..83209ee3b9ecca --- /dev/null +++ b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra4e2.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + zephyr,user { + io-channels = <&adc0 0>; + reference_mv = <3300>; + expected_accuracy = <32>; + }; +}; + +&adc0{ + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,acquisition-time = ; + zephyr,resolution = <12>; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_accuracy_test/boards/ek_ra4m2.overlay b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra4m2.overlay new file mode 100644 index 00000000000000..83209ee3b9ecca --- /dev/null +++ b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra4m2.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + zephyr,user { + io-channels = <&adc0 0>; + reference_mv = <3300>; + expected_accuracy = <32>; + }; +}; + +&adc0{ + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,acquisition-time = ; + zephyr,resolution = <12>; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_accuracy_test/boards/ek_ra4m3.overlay b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra4m3.overlay new file mode 100644 index 00000000000000..83209ee3b9ecca --- /dev/null +++ b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra4m3.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + zephyr,user { + io-channels = <&adc0 0>; + reference_mv = <3300>; + expected_accuracy = <32>; + }; +}; + +&adc0{ + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,acquisition-time = ; + zephyr,resolution = <12>; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_accuracy_test/boards/ek_ra4w1.overlay b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra4w1.overlay new file mode 100644 index 00000000000000..7fce9ba7871dbd --- /dev/null +++ b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra4w1.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + zephyr,user { + io-channels = <&adc0 4>; + reference_mv = <3300>; + expected_accuracy = <32>; + }; +}; + +&adc0{ + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@4 { + reg = <4>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,acquisition-time = ; + zephyr,resolution = <12>; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6e2.overlay b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6e2.overlay new file mode 100644 index 00000000000000..83209ee3b9ecca --- /dev/null +++ b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6e2.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + zephyr,user { + io-channels = <&adc0 0>; + reference_mv = <3300>; + expected_accuracy = <32>; + }; +}; + +&adc0{ + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,acquisition-time = ; + zephyr,resolution = <12>; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m1.overlay b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m1.overlay new file mode 100644 index 00000000000000..83209ee3b9ecca --- /dev/null +++ b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m1.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + zephyr,user { + io-channels = <&adc0 0>; + reference_mv = <3300>; + expected_accuracy = <32>; + }; +}; + +&adc0{ + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,acquisition-time = ; + zephyr,resolution = <12>; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m2.overlay b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m2.overlay new file mode 100644 index 00000000000000..83209ee3b9ecca --- /dev/null +++ b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m2.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + zephyr,user { + io-channels = <&adc0 0>; + reference_mv = <3300>; + expected_accuracy = <32>; + }; +}; + +&adc0{ + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,acquisition-time = ; + zephyr,resolution = <12>; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m3.overlay b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m3.overlay new file mode 100644 index 00000000000000..83209ee3b9ecca --- /dev/null +++ b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m3.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + zephyr,user { + io-channels = <&adc0 0>; + reference_mv = <3300>; + expected_accuracy = <32>; + }; +}; + +&adc0{ + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,acquisition-time = ; + zephyr,resolution = <12>; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m4.overlay b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m4.overlay new file mode 100644 index 00000000000000..83209ee3b9ecca --- /dev/null +++ b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m4.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + zephyr,user { + io-channels = <&adc0 0>; + reference_mv = <3300>; + expected_accuracy = <32>; + }; +}; + +&adc0{ + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,acquisition-time = ; + zephyr,resolution = <12>; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m5.overlay b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m5.overlay new file mode 100644 index 00000000000000..83209ee3b9ecca --- /dev/null +++ b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra6m5.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + zephyr,user { + io-channels = <&adc0 0>; + reference_mv = <3300>; + expected_accuracy = <32>; + }; +}; + +&adc0{ + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,acquisition-time = ; + zephyr,resolution = <12>; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_accuracy_test/boards/ek_ra8d1.overlay b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra8d1.overlay new file mode 100644 index 00000000000000..83209ee3b9ecca --- /dev/null +++ b/tests/drivers/adc/adc_accuracy_test/boards/ek_ra8d1.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + zephyr,user { + io-channels = <&adc0 0>; + reference_mv = <3300>; + expected_accuracy = <32>; + }; +}; + +&adc0{ + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,acquisition-time = ; + zephyr,resolution = <12>; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_accuracy_test/boards/fpb_ra6e1.overlay b/tests/drivers/adc/adc_accuracy_test/boards/fpb_ra6e1.overlay new file mode 100644 index 00000000000000..83209ee3b9ecca --- /dev/null +++ b/tests/drivers/adc/adc_accuracy_test/boards/fpb_ra6e1.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + zephyr,user { + io-channels = <&adc0 0>; + reference_mv = <3300>; + expected_accuracy = <32>; + }; +}; + +&adc0{ + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,acquisition-time = ; + zephyr,resolution = <12>; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_accuracy_test/boards/fpb_ra6e2.overlay b/tests/drivers/adc/adc_accuracy_test/boards/fpb_ra6e2.overlay new file mode 100644 index 00000000000000..83209ee3b9ecca --- /dev/null +++ b/tests/drivers/adc/adc_accuracy_test/boards/fpb_ra6e2.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + zephyr,user { + io-channels = <&adc0 0>; + reference_mv = <3300>; + expected_accuracy = <32>; + }; +}; + +&adc0{ + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,acquisition-time = ; + zephyr,resolution = <12>; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_accuracy_test/boards/mck_ra8t1.overlay b/tests/drivers/adc/adc_accuracy_test/boards/mck_ra8t1.overlay new file mode 100644 index 00000000000000..83209ee3b9ecca --- /dev/null +++ b/tests/drivers/adc/adc_accuracy_test/boards/mck_ra8t1.overlay @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + +/ { + zephyr,user { + io-channels = <&adc0 0>; + reference_mv = <3300>; + expected_accuracy = <32>; + }; +}; + +&adc0{ + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,acquisition-time = ; + zephyr,resolution = <12>; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_accuracy_test/testcase.yaml b/tests/drivers/adc/adc_accuracy_test/testcase.yaml index 1fad00aa898af9..8c79c499d75266 100644 --- a/tests/drivers/adc/adc_accuracy_test/testcase.yaml +++ b/tests/drivers/adc/adc_accuracy_test/testcase.yaml @@ -22,5 +22,19 @@ tests: - nrf52840dk/nrf52840 - nrf54l15dk/nrf54l15/cpuapp - nrf54h20dk/nrf54h20/cpuapp + - ek_ra8d1 + - mck_ra8t1 + - ek_ra6e2 + - ek_ra6m1 + - ek_ra6m2 + - ek_ra6m3 + - ek_ra6m4 + - ek_ra6m5 + - fpb_ra6e1 + - fpb_ra6e2 + - ek_ra4e2 + - ek_ra4m2 + - ek_ra4m3 + - ek_ra4w1 integration_platforms: - frdm_kl25z diff --git a/tests/drivers/adc/adc_api/boards/ek_ra4e2.overlay b/tests/drivers/adc/adc_api/boards/ek_ra4e2.overlay new file mode 100644 index 00000000000000..987197ae02a05e --- /dev/null +++ b/tests/drivers/adc/adc_api/boards/ek_ra4e2.overlay @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + zephyr,user { + io-channels = <&adc0 0>, <&adc0 2>; + }; +}; + +&adc0 { + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; + + channel@2 { + reg = <2>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_api/boards/ek_ra4m2.overlay b/tests/drivers/adc/adc_api/boards/ek_ra4m2.overlay new file mode 100644 index 00000000000000..987197ae02a05e --- /dev/null +++ b/tests/drivers/adc/adc_api/boards/ek_ra4m2.overlay @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + zephyr,user { + io-channels = <&adc0 0>, <&adc0 2>; + }; +}; + +&adc0 { + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; + + channel@2 { + reg = <2>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_api/boards/ek_ra4m3.overlay b/tests/drivers/adc/adc_api/boards/ek_ra4m3.overlay new file mode 100644 index 00000000000000..07924ac5c84ca0 --- /dev/null +++ b/tests/drivers/adc/adc_api/boards/ek_ra4m3.overlay @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + zephyr,user { + io-channels = <&adc1 0>, <&adc1 2>; + }; +}; + +&pinctrl { + adc1_default: adc1_default { + group1 { + /* input */ + psels = ; + renesas,analog-enable; + }; + }; +}; + +&adc1 { + pinctrl-0 = <&adc1_default>; + pinctrl-names = "default"; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; + + channel@2 { + reg = <2>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_api/boards/ek_ra4w1.overlay b/tests/drivers/adc/adc_api/boards/ek_ra4w1.overlay new file mode 100644 index 00000000000000..6c6955106803eb --- /dev/null +++ b/tests/drivers/adc/adc_api/boards/ek_ra4w1.overlay @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + zephyr,user { + io-channels = <&adc0 4>, <&adc0 6>; + }; +}; + +&adc0 { + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + channel@4 { + reg = <4>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; + + channel@6 { + reg = <6>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_api/boards/ek_ra6e2.overlay b/tests/drivers/adc/adc_api/boards/ek_ra6e2.overlay new file mode 100644 index 00000000000000..987197ae02a05e --- /dev/null +++ b/tests/drivers/adc/adc_api/boards/ek_ra6e2.overlay @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + zephyr,user { + io-channels = <&adc0 0>, <&adc0 2>; + }; +}; + +&adc0 { + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; + + channel@2 { + reg = <2>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_api/boards/ek_ra6m1.overlay b/tests/drivers/adc/adc_api/boards/ek_ra6m1.overlay new file mode 100644 index 00000000000000..07924ac5c84ca0 --- /dev/null +++ b/tests/drivers/adc/adc_api/boards/ek_ra6m1.overlay @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + zephyr,user { + io-channels = <&adc1 0>, <&adc1 2>; + }; +}; + +&pinctrl { + adc1_default: adc1_default { + group1 { + /* input */ + psels = ; + renesas,analog-enable; + }; + }; +}; + +&adc1 { + pinctrl-0 = <&adc1_default>; + pinctrl-names = "default"; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; + + channel@2 { + reg = <2>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_api/boards/ek_ra6m2.overlay b/tests/drivers/adc/adc_api/boards/ek_ra6m2.overlay new file mode 100644 index 00000000000000..07924ac5c84ca0 --- /dev/null +++ b/tests/drivers/adc/adc_api/boards/ek_ra6m2.overlay @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + zephyr,user { + io-channels = <&adc1 0>, <&adc1 2>; + }; +}; + +&pinctrl { + adc1_default: adc1_default { + group1 { + /* input */ + psels = ; + renesas,analog-enable; + }; + }; +}; + +&adc1 { + pinctrl-0 = <&adc1_default>; + pinctrl-names = "default"; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; + + channel@2 { + reg = <2>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_api/boards/ek_ra6m3.overlay b/tests/drivers/adc/adc_api/boards/ek_ra6m3.overlay new file mode 100644 index 00000000000000..07924ac5c84ca0 --- /dev/null +++ b/tests/drivers/adc/adc_api/boards/ek_ra6m3.overlay @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + zephyr,user { + io-channels = <&adc1 0>, <&adc1 2>; + }; +}; + +&pinctrl { + adc1_default: adc1_default { + group1 { + /* input */ + psels = ; + renesas,analog-enable; + }; + }; +}; + +&adc1 { + pinctrl-0 = <&adc1_default>; + pinctrl-names = "default"; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; + + channel@2 { + reg = <2>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_api/boards/ek_ra6m4.overlay b/tests/drivers/adc/adc_api/boards/ek_ra6m4.overlay new file mode 100644 index 00000000000000..07924ac5c84ca0 --- /dev/null +++ b/tests/drivers/adc/adc_api/boards/ek_ra6m4.overlay @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + zephyr,user { + io-channels = <&adc1 0>, <&adc1 2>; + }; +}; + +&pinctrl { + adc1_default: adc1_default { + group1 { + /* input */ + psels = ; + renesas,analog-enable; + }; + }; +}; + +&adc1 { + pinctrl-0 = <&adc1_default>; + pinctrl-names = "default"; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; + + channel@2 { + reg = <2>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_api/boards/ek_ra6m5.overlay b/tests/drivers/adc/adc_api/boards/ek_ra6m5.overlay new file mode 100644 index 00000000000000..07924ac5c84ca0 --- /dev/null +++ b/tests/drivers/adc/adc_api/boards/ek_ra6m5.overlay @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + zephyr,user { + io-channels = <&adc1 0>, <&adc1 2>; + }; +}; + +&pinctrl { + adc1_default: adc1_default { + group1 { + /* input */ + psels = ; + renesas,analog-enable; + }; + }; +}; + +&adc1 { + pinctrl-0 = <&adc1_default>; + pinctrl-names = "default"; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; + + channel@2 { + reg = <2>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_api/boards/ek_ra8d1.overlay b/tests/drivers/adc/adc_api/boards/ek_ra8d1.overlay new file mode 100644 index 00000000000000..07924ac5c84ca0 --- /dev/null +++ b/tests/drivers/adc/adc_api/boards/ek_ra8d1.overlay @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + zephyr,user { + io-channels = <&adc1 0>, <&adc1 2>; + }; +}; + +&pinctrl { + adc1_default: adc1_default { + group1 { + /* input */ + psels = ; + renesas,analog-enable; + }; + }; +}; + +&adc1 { + pinctrl-0 = <&adc1_default>; + pinctrl-names = "default"; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; + + channel@2 { + reg = <2>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_api/boards/fpb_ra6e1.overlay b/tests/drivers/adc/adc_api/boards/fpb_ra6e1.overlay new file mode 100644 index 00000000000000..987197ae02a05e --- /dev/null +++ b/tests/drivers/adc/adc_api/boards/fpb_ra6e1.overlay @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + zephyr,user { + io-channels = <&adc0 0>, <&adc0 2>; + }; +}; + +&adc0 { + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; + + channel@2 { + reg = <2>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_api/boards/fpb_ra6e2.overlay b/tests/drivers/adc/adc_api/boards/fpb_ra6e2.overlay new file mode 100644 index 00000000000000..987197ae02a05e --- /dev/null +++ b/tests/drivers/adc/adc_api/boards/fpb_ra6e2.overlay @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + zephyr,user { + io-channels = <&adc0 0>, <&adc0 2>; + }; +}; + +&adc0 { + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; + + channel@2 { + reg = <2>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; +}; diff --git a/tests/drivers/adc/adc_api/boards/mck_ra8t1.overlay b/tests/drivers/adc/adc_api/boards/mck_ra8t1.overlay new file mode 100644 index 00000000000000..07924ac5c84ca0 --- /dev/null +++ b/tests/drivers/adc/adc_api/boards/mck_ra8t1.overlay @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2024 Renesas Electronics Corporation + * + * SPDX-License-Identifier: Apache-2.0 + */ + + +/ { + zephyr,user { + io-channels = <&adc1 0>, <&adc1 2>; + }; +}; + +&pinctrl { + adc1_default: adc1_default { + group1 { + /* input */ + psels = ; + renesas,analog-enable; + }; + }; +}; + +&adc1 { + pinctrl-0 = <&adc1_default>; + pinctrl-names = "default"; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; + + channel@2 { + reg = <2>; + zephyr,gain = "ADC_GAIN_1"; + zephyr,reference = "ADC_REF_INTERNAL"; + zephyr,resolution = <12>; + zephyr,acquisition-time = ; + zephyr,vref-mv = <3300>; + }; +};