Skip to content

Commit

Permalink
arm64: dts: rockchip: px30: add i2s, pdm node
Browse files Browse the repository at this point in the history
Change-Id: I601ea599353c1bd6c904aacbb554c776c7eeb7c6
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
  • Loading branch information
Sugar Zhang authored and rkhuangtao committed Jan 30, 2018
1 parent ec9f03f commit 7b43537
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions arch/arm64/boot/dts/rockchip/px30.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,49 @@
status = "disabled";
};

i2s0_8ch: i2s@ff060000 {
compatible = "rockchip,px30-i2s", "rockchip,rk3066-i2s";
reg = <0x0 0xff060000 0x0 0x1000>;
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru SCLK_I2S0_TX>, <&cru HCLK_I2S0>;
clock-names = "i2s_clk", "i2s_hclk";
dmas = <&dmac 16>, <&dmac 17>;
dma-names = "tx", "rx";
status = "disabled";
};

i2s1_2ch: i2s@ff070000 {
compatible = "rockchip,px30-i2s", "rockchip,rk3066-i2s";
reg = <0x0 0xff070000 0x0 0x1000>;
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru SCLK_I2S1>, <&cru HCLK_I2S1>;
clock-names = "i2s_clk", "i2s_hclk";
dmas = <&dmac 18>, <&dmac 19>;
dma-names = "tx", "rx";
status = "disabled";
};

i2s2_2ch: i2s@ff080000 {
compatible = "rockchip,px30-i2s", "rockchip,rk3066-i2s";
reg = <0x0 0xff080000 0x0 0x1000>;
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru SCLK_I2S2>, <&cru HCLK_I2S2>;
clock-names = "i2s_clk", "i2s_hclk";
dmas = <&dmac 20>, <&dmac 21>;
dma-names = "tx", "rx";
status = "disabled";
};

pdm: pdm@ff0a0000 {
compatible = "rockchip,pdm";
reg = <0x0 0xff0a0000 0x0 0x1000>;
clocks = <&cru SCLK_PDM>, <&cru HCLK_PDM>;
clock-names = "pdm_clk", "pdm_hclk";
dmas = <&dmac 24>;
dma-names = "rx";
status = "disabled";
};

gic: interrupt-controller@ff131000 {
compatible = "arm,gic-400";
#interrupt-cells = <3>;
Expand Down

0 comments on commit 7b43537

Please sign in to comment.