aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2021-07-22 18:59:42 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2021-07-22 18:59:42 +0200
commit2698bee80ca79f8b14af7111047f6411114698dd (patch)
tree8f6e960d0f0456c8bcc3900d49fee2efe19bad63
parentc0681989e65a3116a0da212aa36db0996405a29f (diff)
bcm2711-rpi-4-b.dts: fix i2s pin confighdmi-dbg
The i2s pins were apparently not in the alt0 mode, force them to that mode. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
-rw-r--r--arch/arm/boot/dts/bcm2711-rpi-4-b.dts17
1 files changed, 14 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
index 259e4f24ef94..15ba7c598c95 100644
--- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
+++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
@@ -57,9 +57,6 @@
hifiberry_dacplusadc {
compatible = "hifiberry,hifiberry-dacplusadc";
i2s-controller = <&i2s>;
- //hifiberry,24db_digital_gain;
- //hifiberry-dacplusadc,slave;
- //hifiberry-dacplusadc,leds_off;
status = "okay";
};
};
@@ -257,7 +254,21 @@
status = "okay";
};
+&gpio {
+ i2s_gpio18: i2s_gpio18 {
+ pins-i2s {
+ pins = "gpio18",
+ "gpio19",
+ "gpio20",
+ "gpio21";
+ function = "alt0";
+ };
+ };
+};
+
&i2s {
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2s_gpio18>;
dmas = <&dma 2>, <&dma 3>;
dma-names = "tx", "rx";
status = "okay";

Privacy Policy