Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sun8i: V3: add I2S interface to V3 dts

The Allwinner V3 SoC features an I2S interface. The I2S peripheral is
identical to that in the Allwinner H3 SoC.
This commit adds it to the Allwinner V3 dts.

Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210514134405.2097464-8-t.schramm@manjaro.org

authored by

Tobias Schramm and committed by
Maxime Ripard
65a50bca ce09d1a6

+26
+26
arch/arm/boot/dts/sun8i-v3.dtsi
··· 1 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 2 /* 3 3 * Copyright (C) 2019 Icenowy Zheng <icenowy@aosc.io> 4 + * Copyright (C) 2021 Tobias Schramm <t.schramm@manjaro.org> 4 5 */ 5 6 6 7 #include "sun8i-v3s.dtsi" 8 + 9 + / { 10 + soc { 11 + i2s0: i2s@1c22000 { 12 + #sound-dai-cells = <0>; 13 + compatible = "allwinner,sun8i-v3-i2s", 14 + "allwinner,sun8i-h3-i2s"; 15 + reg = <0x01c22000 0x400>; 16 + interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 17 + clocks = <&ccu CLK_BUS_I2S0>, <&ccu CLK_I2S0>; 18 + clock-names = "apb", "mod"; 19 + dmas = <&dma 3>, <&dma 3>; 20 + dma-names = "rx", "tx"; 21 + pinctrl-names = "default"; 22 + pinctrl-0 = <&i2s0_pins>; 23 + resets = <&ccu RST_BUS_I2S0>; 24 + status = "disabled"; 25 + }; 26 + }; 27 + }; 7 28 8 29 &ccu { 9 30 compatible = "allwinner,sun8i-v3-ccu"; ··· 50 29 51 30 &pio { 52 31 compatible = "allwinner,sun8i-v3-pinctrl"; 32 + 33 + i2s0_pins: i2s0-pins { 34 + pins = "PG10", "PG11", "PG12", "PG13"; 35 + function = "i2s"; 36 + }; 53 37 54 38 uart1_pg_pins: uart1-pg-pins { 55 39 pins = "PG6", "PG7";