1/*
2 * Copyright (c) 2022 Renesas Electronics Corporation and/or its affiliates
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6#include <zephyr/dt-bindings/pinctrl/smartbond-pinctrl.h>
7
8&pinctrl {
9	uart_default: uart_default {
10		group1 {
11			pinmux = <SMARTBOND_PINMUX(UART_TX, 0, 9)>;
12		};
13		group2 {
14			pinmux = <SMARTBOND_PINMUX(UART_RX, 0, 8)>;
15			bias-pull-up;
16		};
17	};
18
19	i2c_default: i2c_default {
20		group1 {
21			pinmux = <SMARTBOND_PINMUX(I2C_SDA, 0, 31)>,
22				<SMARTBOND_PINMUX(I2C_SCL, 0, 30)>;
23			bias-pull-up;
24		};
25	};
26
27	i2c2_default: i2c2_default {
28		group1 {
29			pinmux = <SMARTBOND_PINMUX(I2C2_SDA, 0, 19)>,
30				<SMARTBOND_PINMUX(I2C2_SCL, 0, 18)>;
31			bias-pull-up;
32		};
33	};
34
35	spi_controller: spi_controller {
36		group1 {
37			pinmux = < SMARTBOND_PINMUX(SPI_CLK, 0, 21) >,
38				<SMARTBOND_PINMUX(SPI_DO, 0, 26)>;
39			output-enable;
40		};
41		group2 {
42			pinmux = <SMARTBOND_PINMUX(SPI_DI, 0, 24)>;
43			input-enable;
44		};
45	};
46
47	spi2_controller: spi2_controller {
48		group1 {
49			pinmux = < SMARTBOND_PINMUX(SPI2_CLK, 1, 3) >,
50				<SMARTBOND_PINMUX(SPI2_DO, 1, 5)>;
51			output-enable;
52		};
53		group2 {
54			pinmux = <SMARTBOND_PINMUX(SPI2_DI, 1, 4)>;
55			input-enable;
56		};
57	};
58};
59