Skip to content

Commit fcac9a5

Browse files
buluessrkhuangtao
authored andcommitted
arm64: dts: rockchip: rk3368: add spdif node
Change-Id: Ife612c36f3249cc44a97525eff9f4d3c3d751812 Signed-off-by: Xinhuang Li <buluess.li@rock-chips.com>
1 parent 03194ab commit fcac9a5

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3368.dtsi

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1274,6 +1274,19 @@
12741274
interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
12751275
};
12761276

1277+
spdif: spdif@ff880000 {
1278+
compatible = "rockchip,rk3368-spdif";
1279+
reg = <0x0 0xff880000 0x0 0x1000>;
1280+
interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
1281+
dmas = <&dmac_bus 3>;
1282+
dma-names = "tx";
1283+
clock-names = "mclk", "hclk";
1284+
clocks = <&cru SCLK_SPDIF_8CH>, <&cru HCLK_SPDIF>;
1285+
pinctrl-names = "default";
1286+
pinctrl-0 = <&spdif_bus>;
1287+
status = "disabled";
1288+
};
1289+
12771290
i2s_2ch: i2s-2ch@ff890000 {
12781291
compatible = "rockchip,rk3368-i2s", "rockchip,rk3066-i2s";
12791292
reg = <0x0 0xff890000 0x0 0x1000>;
@@ -2099,6 +2112,12 @@
20992112
};
21002113
};
21012114

2115+
spdif {
2116+
spdif_bus: spdif-bus {
2117+
rockchip,pins = <2 23 RK_FUNC_1 &pcfg_pull_none>;
2118+
};
2119+
};
2120+
21022121
spi0 {
21032122
spi0_clk: spi0-clk {
21042123
rockchip,pins = <1 29 RK_FUNC_2 &pcfg_pull_up>;

0 commit comments

Comments
 (0)