Skip to content

Commit 93d4f33

Browse files
ARM: dts: at91: sam9x75_curiosity: add support for i2s audio
Enable support and add pinmux for i2s audio in sam9x75_curiosity board. Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
1 parent 54d0876 commit 93d4f33

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

arch/arm/boot/dts/at91-sam9x75_curiosity.dts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,13 @@
227227
};
228228
};
229229

230+
&i2s {
231+
pinctrl-names = "default";
232+
pinctrl-0 = <&pinctrl_i2s_default>;
233+
#sound-dai-cells = <0>;
234+
status = "disabled";
235+
};
236+
230237
&main_xtal {
231238
clock-frequency = <24000000>;
232239
};
@@ -304,6 +311,17 @@
304311
};
305312
};
306313

314+
i2s {
315+
pinctrl_i2s_default: i2s {
316+
atmel,pins =
317+
<AT91_PIOB 26 AT91_PERIPH_D AT91_PINCTRL_NONE /* I2SCK */
318+
AT91_PIOB 15 AT91_PERIPH_D AT91_PINCTRL_NONE /* I2SWS */
319+
AT91_PIOB 16 AT91_PERIPH_D AT91_PINCTRL_NONE /* I2SDIN */
320+
AT91_PIOB 17 AT91_PERIPH_D AT91_PINCTRL_NONE /* I2SDOUT */
321+
AT91_PIOB 25 AT91_PERIPH_D AT91_PINCTRL_NONE>; /* I2SMCK */
322+
};
323+
};
324+
307325
leds {
308326
pinctrl_led_gpio_default: led-gpio-default {
309327
atmel,pins = <AT91_PIOC 19 AT91_PERIPH_GPIO AT91_PINCTRL_NONE

0 commit comments

Comments
 (0)