1*4882a593Smuzhiyun* Hisilicon 6210 i2s controller 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun- compatible: should be one of the following: 6*4882a593Smuzhiyun - "hisilicon,hi3660-i2s-1.0" 7*4882a593Smuzhiyun- reg: physical base address of the i2s controller unit and length of 8*4882a593Smuzhiyun memory mapped region. 9*4882a593Smuzhiyun- interrupts: should contain the i2s interrupt. 10*4882a593Smuzhiyun- clocks: a list of phandle + clock-specifier pairs, one for each entry 11*4882a593Smuzhiyun in clock-names. 12*4882a593Smuzhiyun- clock-names: should contain following: 13*4882a593Smuzhiyun - "dacodec" 14*4882a593Smuzhiyun - "i2s-base" 15*4882a593Smuzhiyun- dmas: DMA specifiers for tx dma. See the DMA client binding, 16*4882a593Smuzhiyun Documentation/devicetree/bindings/dma/dma.txt 17*4882a593Smuzhiyun- dma-names: should be "tx" and "rx" 18*4882a593Smuzhiyun- hisilicon,sysctrl-syscon: phandle to sysctrl syscon 19*4882a593Smuzhiyun- #sound-dai-cells: Should be set to 1 (for multi-dai) 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunExample for the hi3660 i2s controller: 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun i2s2: hisi_i2s { 24*4882a593Smuzhiyun compatible = "hisilicon,hi3660-i2s-1.0"; 25*4882a593Smuzhiyun reg = <0x0 0xe804f800 0x0 0x400>, 26*4882a593Smuzhiyun <0x0 0xe804e000 0x0 0x400>; 27*4882a593Smuzhiyun pinctrl-names = "default"; 28*4882a593Smuzhiyun pinctrl-0 = <&i2s2_pmx_func &i2s2_cfg_func>; 29*4882a593Smuzhiyun dmas = <&asp_dmac 18 &asp_dmac 19>; 30*4882a593Smuzhiyun dma-names = "rx", "tx"; 31*4882a593Smuzhiyun #sound-dai-cells = <0>; 32*4882a593Smuzhiyun }; 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun sound { 35*4882a593Smuzhiyun compatible = "simple-audio-card"; 36*4882a593Smuzhiyun simple-audio-card,name = "hikey-hdmi"; 37*4882a593Smuzhiyun simple-audio-card,format = "i2s"; 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun simple-audio-card,bitclock-master = <&sound_master>; 40*4882a593Smuzhiyun simple-audio-card,frame-master = <&sound_master>; 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun sound_master: simple-audio-card,cpu { 43*4882a593Smuzhiyun sound-dai = <&i2s2>; 44*4882a593Smuzhiyun }; 45*4882a593Smuzhiyun 46*4882a593Smuzhiyun simple-audio-card,codec { 47*4882a593Smuzhiyun sound-dai = <&adv7533>; 48*4882a593Smuzhiyun }; 49*4882a593Smuzhiyun }; 50