diff options
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | 2018-08-06 07:19:48 -0400 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2018-08-27 10:40:20 -0400 |
commit | bb837a434e6e3fce9e9d453271dd65fc79e74a42 (patch) | |
tree | bab06792e349d6bb9f71a90648070051a4d77970 | |
parent | 1ca81883c557642f1a6312e95298931722689149 (diff) |
ARM: dts: at91: sama5d2 Xplained: add pin muxing for I2S
This patch sets the pin muxing for the I2S controllers
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
[codrin.ciubotariu@microchip.com: added pin muxing for the second
controller]
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r-- | arch/arm/boot/dts/at91-sama5d2_xplained.dts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts index fcc85d70f36e..518e2b095ccf 100644 --- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts | |||
@@ -281,6 +281,12 @@ | |||
281 | status = "okay"; | 281 | status = "okay"; |
282 | }; | 282 | }; |
283 | 283 | ||
284 | i2s0: i2s@f8050000 { | ||
285 | pinctrl-names = "default"; | ||
286 | pinctrl-0 = <&pinctrl_i2s0_default>; | ||
287 | status = "disabled"; /* conflict with can0 */ | ||
288 | }; | ||
289 | |||
284 | can0: can@f8054000 { | 290 | can0: can@f8054000 { |
285 | pinctrl-names = "default"; | 291 | pinctrl-names = "default"; |
286 | pinctrl-0 = <&pinctrl_can0_default>; | 292 | pinctrl-0 = <&pinctrl_can0_default>; |
@@ -424,6 +430,24 @@ | |||
424 | bias-disable; | 430 | bias-disable; |
425 | }; | 431 | }; |
426 | 432 | ||
433 | pinctrl_i2s0_default: i2s0_default { | ||
434 | pinmux = <PIN_PC1__I2SC0_CK>, | ||
435 | <PIN_PC2__I2SC0_MCK>, | ||
436 | <PIN_PC3__I2SC0_WS>, | ||
437 | <PIN_PC4__I2SC0_DI0>, | ||
438 | <PIN_PC5__I2SC0_DO0>; | ||
439 | bias-disable; | ||
440 | }; | ||
441 | |||
442 | pinctrl_i2s1_default: i2s1_default { | ||
443 | pinmux = <PIN_PA15__I2SC1_CK>, | ||
444 | <PIN_PA14__I2SC1_MCK>, | ||
445 | <PIN_PA16__I2SC1_WS>, | ||
446 | <PIN_PA17__I2SC1_DI0>, | ||
447 | <PIN_PA18__I2SC1_DO0>; | ||
448 | bias-disable; | ||
449 | }; | ||
450 | |||
427 | pinctrl_key_gpio_default: key_gpio_default { | 451 | pinctrl_key_gpio_default: key_gpio_default { |
428 | pinmux = <PIN_PB9__GPIO>; | 452 | pinmux = <PIN_PB9__GPIO>; |
429 | bias-pull-up; | 453 | bias-pull-up; |
@@ -546,6 +570,12 @@ | |||
546 | status = "okay"; | 570 | status = "okay"; |
547 | }; | 571 | }; |
548 | 572 | ||
573 | i2s1: i2s@fc04c000 { | ||
574 | pinctrl-names = "default"; | ||
575 | pinctrl-0 = <&pinctrl_i2s1_default>; | ||
576 | status = "disabled"; /* conflict with spi0, sdmmc1 */ | ||
577 | }; | ||
578 | |||
549 | can1: can@fc050000 { | 579 | can1: can@fc050000 { |
550 | pinctrl-names = "default"; | 580 | pinctrl-names = "default"; |
551 | pinctrl-0 = <&pinctrl_can1_default>; | 581 | pinctrl-0 = <&pinctrl_can1_default>; |