Commit 667bbd53 authored by Mark Brown's avatar Mark Brown Committed by Arnd Bergmann

ARM: bcm2835: add I2S pinctrl to device tree

Signed-off-by: default avatarFlorian Meier <florian.meier@koalo.de>
[Tweaked slightly to disable by default -- broonie]
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
[swarren, removed duplicate i2s node]
Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 0bee2b6f
...@@ -23,7 +23,7 @@ act { ...@@ -23,7 +23,7 @@ act {
&gpio { &gpio {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&gpioout &alt0 &alt3>; pinctrl-0 = <&gpioout &alt0 &alt2 &alt3>;
gpioout: gpioout { gpioout: gpioout {
brcm,pins = <6>; brcm,pins = <6>;
...@@ -39,6 +39,12 @@ alt3: alt3 { ...@@ -39,6 +39,12 @@ alt3: alt3 {
brcm,pins = <48 49 50 51 52 53>; brcm,pins = <48 49 50 51 52 53>;
brcm,function = <7>; /* alt3 */ brcm,function = <7>; /* alt3 */
}; };
/* I2S interface */
alt2: alt2 {
brcm,pins = <28 29 30 31>;
brcm,function = <6>; /* alt2 */
};
}; };
&i2c0 { &i2c0 {
......
...@@ -99,6 +99,7 @@ i2s: i2s@7e203000 { ...@@ -99,6 +99,7 @@ i2s: i2s@7e203000 {
dmas = <&dma 2>, dmas = <&dma 2>,
<&dma 3>; <&dma 3>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
status = "disabled";
}; };
spi: spi@7e204000 { spi: spi@7e204000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment