diff options
author | John Crispin <john@openwrt.org> | 2015-10-19 10:07:54 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-10-19 10:07:54 +0000 |
commit | 7295e9fb8be958913764eea2e6c467464dba4c41 (patch) | |
tree | a7f68a63830c8acd77cf7915c775815f99c9ca5e /target/linux/ramips/dts/mt7628an.dtsi | |
parent | f5d5cb0114a18c854d3bbd19560a84f8b077521c (diff) | |
download | mtk-20170518-7295e9fb8be958913764eea2e6c467464dba4c41.zip mtk-20170518-7295e9fb8be958913764eea2e6c467464dba4c41.tar.gz mtk-20170518-7295e9fb8be958913764eea2e6c467464dba4c41.tar.bz2 |
ramips: add alsa support
add the SDK alsa driver. this has only been tested on mt7628/88 and wm8960.
mt7620 is only compile tested.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47205
Diffstat (limited to 'target/linux/ramips/dts/mt7628an.dtsi')
-rw-r--r-- | target/linux/ramips/dts/mt7628an.dtsi | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index 0f59cb7..b0d9d80 100644 --- a/target/linux/ramips/dts/mt7628an.dtsi +++ b/target/linux/ramips/dts/mt7628an.dtsi @@ -105,6 +105,39 @@ }; }; + i2c@900 { + compatible = "mediatek,mt7628-i2c"; + reg = <0x900 0x100>; + + resets = <&rstctrl 16>; + reset-names = "i2c"; + + #address-cells = <1>; + #size-cells = <0>; + + status = "disabled"; + + pinctrl-names = "default"; + pinctrl-0 = <&i2c_pins>; + }; + + i2s@a00 { + compatible = "ralink,mt7620a-i2s"; + reg = <0xa00 0x100>; + + resets = <&rstctrl 17>; + reset-names = "i2s"; + + interrupt-parent = <&intc>; + interrupts = <10>; + + dmas = <&gdma 2>, + <&gdma 3>; + dma-names = "tx", "rx"; + + status = "disabled"; + }; + spi@b00 { compatible = "ralink,mt7621-spi"; reg = <0xb00 0x100>; @@ -178,6 +211,49 @@ status = "disabled"; }; + + pwm@5000 { + compatible = "mediatek,mt7628-pwm"; + reg = <0x5000 0x1000>; + + resets = <&rstctrl 31>; + reset-names = "pwm"; + + pinctrl-names = "default"; + pinctrl-0 = <&pwm0_pins>, <&pwm1_pins>; + + status = "disabled"; + }; + + pcm@2000 { + compatible = "ralink,mt7620a-pcm"; + reg = <0x2000 0x800>; + + resets = <&rstctrl 11>; + reset-names = "pcm"; + + interrupt-parent = <&intc>; + interrupts = <4>; + + status = "disabled"; + }; + + gdma: gdma@2800 { + compatible = "ralink,mt7620a-gdma", "ralink,rt2880-gdma"; + reg = <0x2800 0x800>; + + resets = <&rstctrl 14>; + reset-names = "dma"; + + interrupt-parent = <&intc>; + interrupts = <7>; + + #dma-cells = <1>; + #dma-channels = <16>; + #dma-requests = <16>; + + status = "disabled"; + }; }; pinctrl { @@ -195,6 +271,20 @@ }; }; + spi_cs1_pins: spi_cs1 { + spi_cs1 { + ralink,group = "spi cs1"; + ralink,function = "spi cs1"; + }; + }; + + i2c_pins: i2c { + i2c { + ralink,group = "i2c"; + ralink,function = "i2c"; + }; + }; + uart0_pins: uartlite { uartlite { ralink,group = "uart0"; @@ -222,6 +312,27 @@ ralink,function = "sdxc"; }; }; + + pwm0_pins: pwm0 { + pwm0 { + ralink,group = "pwm0"; + ralink,function = "pwm0"; + }; + }; + + pwm1_pins: pwm1 { + pwm1 { + ralink,group = "pwm1"; + ralink,function = "pwm1"; + }; + }; + + pcm_i2s_pins: i2s { + i2s { + ralink,group = "i2s"; + ralink,function = "pcm"; + }; + }; }; rstctrl: rstctrl { |