OSDN Git Service

arm64: dts: rockchip: fix I2S conflict on rk3399-rock-pi-4
authorVicente Bergas <vicencb@gmail.com>
Tue, 1 Dec 2020 15:41:31 +0000 (16:41 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 4 Dec 2020 10:23:52 +0000 (11:23 +0100)
Based on the board schematics at
https://dl.radxa.com/rockpi4/docs/hw/rockpi4/rockpi_4c_v12_sch_20200620.pdf
on page 14:
Only two channels of I2S are connected and the extra
I2S pins are in conflict with other functions like USB power.

Signed-off-by: Vicente Bergas <vicencb@gmail.com>
Link: https://lore.kernel.org/r/20201201154132.1286-3-vicencb@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi

index 06df239..63b029a 100644 (file)
 };
 
 &i2s0 {
-       rockchip,playback-channels = <8>;
-       rockchip,capture-channels = <8>;
+       pinctrl-0 = <&i2s0_2ch_bus>;
+       rockchip,capture-channels = <2>;
+       rockchip,playback-channels = <2>;
        status = "okay";
 };