Skip to contentSkip to conversation

ARM: bcm2835: add I2S pinctrl to device tree

PATCH New Stephen Warren 2 participants 2 messages Sep 17, 2014 – Sep 25, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: bcm2835: add I2S pinctrl to device tree

From: Mark Brown <[email protected]>

[Tweaked slightly to disable by default -- broonie]
[swarren, removed duplicate i2s node]

---
These two patches are all I expect to have for RPi for 3.18, so I figure it's easiest to just forward them on to you rather than sending tiny pull requests.

 arch/arm/boot/dts/bcm2835-rpi-b.dts | 8 +++++++-
 arch/arm/boot/dts/bcm2835.dtsi      | 1 +
 2 files changed, 8 insertions(+), 1 deletion(-)
arch/arm/boot/dts/bcm2835-rpi-b.dts +7 -1
index 2a3b1c1..58a0d60 100644
@@ -23,7 +23,7 @@
 
 &gpio {
 	pinctrl-names = "default";
-	pinctrl-0 = <&gpioout &alt0 &alt3>;
+	pinctrl-0 = <&gpioout &alt0 &alt2 &alt3>;
 
 	gpioout: gpioout {
 		brcm,pins = <6>;
@@ -39,6 +39,12 @@
 		brcm,pins = <48 49 50 51 52 53>;
 		brcm,function = <7>; /* alt3 */
 	};
+
+	/* I2S interface */
+	alt2: alt2 {
+		brcm,pins = <28 29 30 31>;
+		brcm,function = <6>; /* alt2 */
+	};
 };
 
 &i2c0 {
arch/arm/boot/dts/bcm2835.dtsi +1 -0
index b8473c4..3342cb1 100644
@@ -99,6 +99,7 @@
 			dmas = <&dma 2>,
 			       <&dma 3>;
 			dma-names = "tx", "rx";
+			status = "disabled";
 		};
 
 		spi: spi at 7e204000 {
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM: bcm2835: add I2S pinctrl to device tree

Quoted 11 lines · Stephen Warren

From: Mark Brown <[email protected]>

[Tweaked slightly to disable by default -- broonie]
[swarren, removed duplicate i2s node]

---
These two patches are all I expect to have for RPi for 3.18, so I figure it's easiest to just forward them on to you rather than sending tiny pull requests.

Applied to next/dt, thanks!

Arnd