190e8e50fSKuninori MorimotoRenesas R-Car sound 290e8e50fSKuninori Morimoto 390e8e50fSKuninori MorimotoRequired properties: 490e8e50fSKuninori Morimoto- compatible : "renesas,rcar_sound-gen1" if generation1 590e8e50fSKuninori Morimoto "renesas,rcar_sound-gen2" if generation2 690e8e50fSKuninori Morimoto- reg : Should contain the register physical address. 790e8e50fSKuninori Morimoto required register is 890e8e50fSKuninori Morimoto SRU/ADG/SSI if generation1 990e8e50fSKuninori Morimoto SRU/ADG/SSIU/SSI if generation2 108bab0dd5SKuninori Morimoto- rcar_sound,ssi : Should contain SSI feature. 118bab0dd5SKuninori Morimoto The number of SSI subnode should be same as HW. 128bab0dd5SKuninori Morimoto see below for detail. 138bab0dd5SKuninori Morimoto- rcar_sound,src : Should contain SRC feature. 148bab0dd5SKuninori Morimoto The number of SRC subnode should be same as HW. 158bab0dd5SKuninori Morimoto see below for detail. 168bab0dd5SKuninori Morimoto- rcar_sound,dai : DAI contents. 178bab0dd5SKuninori Morimoto The number of DAI subnode should be same as HW. 188bab0dd5SKuninori Morimoto see below for detail. 1990e8e50fSKuninori Morimoto 2090e8e50fSKuninori MorimotoSSI subnode properties: 2190e8e50fSKuninori Morimoto- interrupts : Should contain SSI interrupt for PIO transfer 2290e8e50fSKuninori Morimoto- shared-pin : if shared clock pin 23*199e7688SKuninori Morimoto- pio-transfer : use PIO transfer mode 2490e8e50fSKuninori Morimoto 258bab0dd5SKuninori MorimotoSRC subnode properties: 268bab0dd5SKuninori Morimotono properties at this point 278bab0dd5SKuninori Morimoto 2890e8e50fSKuninori MorimotoDAI subnode properties: 2990e8e50fSKuninori Morimoto- playback : list of playback modules 3090e8e50fSKuninori Morimoto- capture : list of capture modules 3190e8e50fSKuninori Morimoto 3290e8e50fSKuninori MorimotoExample: 3390e8e50fSKuninori Morimoto 3490e8e50fSKuninori Morimotorcar_sound: rcar_sound@0xffd90000 { 3590e8e50fSKuninori Morimoto #sound-dai-cells = <1>; 3690e8e50fSKuninori Morimoto compatible = "renesas,rcar_sound-gen2"; 3790e8e50fSKuninori Morimoto reg = <0 0xec500000 0 0x1000>, /* SCU */ 3890e8e50fSKuninori Morimoto <0 0xec5a0000 0 0x100>, /* ADG */ 3990e8e50fSKuninori Morimoto <0 0xec540000 0 0x1000>, /* SSIU */ 4090e8e50fSKuninori Morimoto <0 0xec541000 0 0x1280>; /* SSI */ 4190e8e50fSKuninori Morimoto 4290e8e50fSKuninori Morimoto rcar_sound,src { 4390e8e50fSKuninori Morimoto src0: src@0 { }; 4490e8e50fSKuninori Morimoto src1: src@1 { }; 4590e8e50fSKuninori Morimoto src2: src@2 { }; 4690e8e50fSKuninori Morimoto src3: src@3 { }; 4790e8e50fSKuninori Morimoto src4: src@4 { }; 4890e8e50fSKuninori Morimoto src5: src@5 { }; 4990e8e50fSKuninori Morimoto src6: src@6 { }; 5090e8e50fSKuninori Morimoto src7: src@7 { }; 5190e8e50fSKuninori Morimoto src8: src@8 { }; 5290e8e50fSKuninori Morimoto src9: src@9 { }; 5390e8e50fSKuninori Morimoto }; 5490e8e50fSKuninori Morimoto 5590e8e50fSKuninori Morimoto rcar_sound,ssi { 5690e8e50fSKuninori Morimoto ssi0: ssi@0 { 5790e8e50fSKuninori Morimoto interrupts = <0 370 IRQ_TYPE_LEVEL_HIGH>; 5890e8e50fSKuninori Morimoto }; 5990e8e50fSKuninori Morimoto ssi1: ssi@1 { 6090e8e50fSKuninori Morimoto interrupts = <0 371 IRQ_TYPE_LEVEL_HIGH>; 6190e8e50fSKuninori Morimoto }; 6290e8e50fSKuninori Morimoto ssi2: ssi@2 { 6390e8e50fSKuninori Morimoto interrupts = <0 372 IRQ_TYPE_LEVEL_HIGH>; 6490e8e50fSKuninori Morimoto }; 6590e8e50fSKuninori Morimoto ssi3: ssi@3 { 6690e8e50fSKuninori Morimoto interrupts = <0 373 IRQ_TYPE_LEVEL_HIGH>; 6790e8e50fSKuninori Morimoto }; 6890e8e50fSKuninori Morimoto ssi4: ssi@4 { 6990e8e50fSKuninori Morimoto interrupts = <0 374 IRQ_TYPE_LEVEL_HIGH>; 7090e8e50fSKuninori Morimoto }; 7190e8e50fSKuninori Morimoto ssi5: ssi@5 { 7290e8e50fSKuninori Morimoto interrupts = <0 375 IRQ_TYPE_LEVEL_HIGH>; 7390e8e50fSKuninori Morimoto }; 7490e8e50fSKuninori Morimoto ssi6: ssi@6 { 7590e8e50fSKuninori Morimoto interrupts = <0 376 IRQ_TYPE_LEVEL_HIGH>; 7690e8e50fSKuninori Morimoto }; 7790e8e50fSKuninori Morimoto ssi7: ssi@7 { 7890e8e50fSKuninori Morimoto interrupts = <0 377 IRQ_TYPE_LEVEL_HIGH>; 7990e8e50fSKuninori Morimoto }; 8090e8e50fSKuninori Morimoto ssi8: ssi@8 { 8190e8e50fSKuninori Morimoto interrupts = <0 378 IRQ_TYPE_LEVEL_HIGH>; 8290e8e50fSKuninori Morimoto }; 8390e8e50fSKuninori Morimoto ssi9: ssi@9 { 8490e8e50fSKuninori Morimoto interrupts = <0 379 IRQ_TYPE_LEVEL_HIGH>; 8590e8e50fSKuninori Morimoto }; 8690e8e50fSKuninori Morimoto }; 8790e8e50fSKuninori Morimoto 8890e8e50fSKuninori Morimoto rcar_sound,dai { 8990e8e50fSKuninori Morimoto dai0 { 9090e8e50fSKuninori Morimoto playback = <&ssi5 &src5>; 9190e8e50fSKuninori Morimoto capture = <&ssi6>; 9290e8e50fSKuninori Morimoto }; 9390e8e50fSKuninori Morimoto dai1 { 9490e8e50fSKuninori Morimoto playback = <&ssi3>; 9590e8e50fSKuninori Morimoto }; 9690e8e50fSKuninori Morimoto dai2 { 9790e8e50fSKuninori Morimoto capture = <&ssi4>; 9890e8e50fSKuninori Morimoto }; 9990e8e50fSKuninori Morimoto dai3 { 10090e8e50fSKuninori Morimoto playback = <&ssi7>; 10190e8e50fSKuninori Morimoto }; 10290e8e50fSKuninori Morimoto dai4 { 10390e8e50fSKuninori Morimoto capture = <&ssi8>; 10490e8e50fSKuninori Morimoto }; 10590e8e50fSKuninori Morimoto }; 10690e8e50fSKuninori Morimoto}; 107