Skip to content

Commit 9118192

Browse files
committed
Merge pull request #1430 from msperl/i2s-on-gpio-28-31
ARM: bcm2708: add overlay to move i2s to gpio28-31 for compute module
2 parents 36bb5f1 + da10873 commit 9118192

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

arch/arm/boot/dts/overlays/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ dtbo-$(RPI_DT_OVERLAYS) += i2c-mux-pca9548a.dtbo
3737
dtbo-$(RPI_DT_OVERLAYS) += i2c-pwm-pca9685a.dtbo
3838
dtbo-$(RPI_DT_OVERLAYS) += i2c0-bcm2708.dtbo
3939
dtbo-$(RPI_DT_OVERLAYS) += i2c1-bcm2708.dtbo
40+
dtbo-$(RPI_DT_OVERLAYS) += i2s-gpio28-31.dtbo
4041
dtbo-$(RPI_DT_OVERLAYS) += i2s-mmap.dtbo
4142
dtbo-$(RPI_DT_OVERLAYS) += iqaudio-dac.dtbo
4243
dtbo-$(RPI_DT_OVERLAYS) += iqaudio-dacplus.dtbo

arch/arm/boot/dts/overlays/README

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,12 @@ Params: sda1_pin GPIO pin for SDA1 (2 or 44 - default 2)
464464
default 4)
465465

466466

467+
Name: i2s-gpio28-31
468+
Info: move I2S function block to GPIO 28 to 31
469+
Load: dtoverlay=i2s-gpio28-31
470+
Params: <None>
471+
472+
467473
Name: i2s-mmap
468474
Info: Enables mmap support in the bcm2708-i2s driver
469475
Load: dtoverlay=i2s-mmap
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Device tree overlay to move i2s to gpio 28 to 31 on CM
3+
*/
4+
5+
/dts-v1/;
6+
/plugin/;
7+
8+
/ {
9+
compatible = "brcm,bcm2835", "brcm,bcm2836", "brcm,bcm2708", "brcm,bcm2709";
10+
11+
fragment@0 {
12+
target = <&i2s_pins>;
13+
__overlay__ {
14+
brcm,pins = <28 29 30 31>;
15+
brcm,function = <6>; /* alt2 */
16+
};
17+
};
18+
};

0 commit comments

Comments
 (0)