1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&pinctrl {
8	i2c0_default_alt: i2c0_default_alt {
9		group1 {
10			psels = <NRF_PSEL(TWIM_SDA, 0, 25)>,
11				<NRF_PSEL(TWIM_SCL, 0, 26)>;
12		};
13	};
14
15	i2c0_sleep_alt: i2c0_sleep_alt {
16		group1 {
17			psels = <NRF_PSEL(TWIM_SDA, 0, 25)>,
18				<NRF_PSEL(TWIM_SCL, 0, 26)>;
19			low-power-enable;
20		};
21	};
22
23	i2s0_default_alt: i2s0_default_alt {
24		group1 {
25			psels = <NRF_PSEL(I2S_SCK_M, 1, 15)>,
26				<NRF_PSEL(I2S_LRCK_M, 1, 12)>,
27				<NRF_PSEL(I2S_SDOUT, 1, 13)>,
28				<NRF_PSEL(I2S_SDIN, 1, 14)>;
29		};
30	};
31};
32
33&i2c1 {
34	status = "okay";
35	pinctrl-0 = <&i2c0_default_alt>;
36	pinctrl-1 = <&i2c0_sleep_alt>;
37	pinctrl-names = "default", "sleep";
38
39	wm8731: wm8731@1a {
40		compatible = "wolfson,wm8731";
41		reg = <0x1a>;
42	};
43};
44
45&clock {
46	hfclkaudio-frequency = <11289600>;
47};
48
49i2s_rxtx: &i2s0 {
50	status = "okay";
51	pinctrl-0 = <&i2s0_default_alt>;
52	pinctrl-names = "default";
53	clock-source = "ACLK";
54};
55