diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-11-25 01:36:25 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2015-11-25 21:31:42 -0500 |
commit | 623197b90c7aa97c0626b0aec06f95d05666b3e0 (patch) | |
tree | bdd813f9936f8e9281f7a0cf0fa54864ab09b6e9 | |
parent | b281f4c8c198533d3e7dfb0f0302a2c3d96f6bc8 (diff) |
arm64: renesas: r8a7795: Sound SSI PIO support
This patch adds SSI for PIO sound support
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm64/boot/dts/renesas/r8a7795.dtsi | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 2cc58114d1ef..15753f4dcf4e 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi | |||
@@ -52,6 +52,29 @@ | |||
52 | clock-frequency = <0>; | 52 | clock-frequency = <0>; |
53 | }; | 53 | }; |
54 | 54 | ||
55 | /* | ||
56 | * The external audio clocks are configured as 0 Hz fixed frequency | ||
57 | * clocks by default. | ||
58 | * Boards that provide audio clocks should override them. | ||
59 | */ | ||
60 | audio_clk_a: audio_clk_a { | ||
61 | compatible = "fixed-clock"; | ||
62 | #clock-cells = <0>; | ||
63 | clock-frequency = <0>; | ||
64 | }; | ||
65 | |||
66 | audio_clk_b: audio_clk_b { | ||
67 | compatible = "fixed-clock"; | ||
68 | #clock-cells = <0>; | ||
69 | clock-frequency = <0>; | ||
70 | }; | ||
71 | |||
72 | audio_clk_c: audio_clk_c { | ||
73 | compatible = "fixed-clock"; | ||
74 | #clock-cells = <0>; | ||
75 | clock-frequency = <0>; | ||
76 | }; | ||
77 | |||
55 | soc { | 78 | soc { |
56 | compatible = "simple-bus"; | 79 | compatible = "simple-bus"; |
57 | interrupt-parent = <&gic>; | 80 | interrupt-parent = <&gic>; |
@@ -534,5 +557,77 @@ | |||
534 | power-domains = <&cpg>; | 557 | power-domains = <&cpg>; |
535 | status = "disabled"; | 558 | status = "disabled"; |
536 | }; | 559 | }; |
560 | |||
561 | rcar_sound: sound@ec500000 { | ||
562 | /* | ||
563 | * #sound-dai-cells is required | ||
564 | * | ||
565 | * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>; | ||
566 | * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>; | ||
567 | */ | ||
568 | /* | ||
569 | * #clock-cells is required for audio_clkout0/1/2/3 | ||
570 | * | ||
571 | * clkout : #clock-cells = <0>; <&rcar_sound>; | ||
572 | * clkout0/1/2/3: #clock-cells = <1>; <&rcar_sound N>; | ||
573 | */ | ||
574 | compatible = "renesas,rcar_sound-r8a7795", "renesas,rcar_sound-gen3"; | ||
575 | reg = <0 0xec500000 0 0x1000>, /* SCU */ | ||
576 | <0 0xec5a0000 0 0x100>, /* ADG */ | ||
577 | <0 0xec540000 0 0x1000>, /* SSIU */ | ||
578 | <0 0xec541000 0 0x280>, /* SSI */ | ||
579 | <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/ | ||
580 | reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; | ||
581 | |||
582 | clocks = <&cpg CPG_MOD 1005>, | ||
583 | <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>, | ||
584 | <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>, | ||
585 | <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>, | ||
586 | <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>, | ||
587 | <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>, | ||
588 | <&audio_clk_a>, <&audio_clk_b>, | ||
589 | <&audio_clk_c>, | ||
590 | <&cpg CPG_CORE R8A7795_CLK_S0D4>; | ||
591 | clock-names = "ssi-all", | ||
592 | "ssi.9", "ssi.8", "ssi.7", "ssi.6", | ||
593 | "ssi.5", "ssi.4", "ssi.3", "ssi.2", | ||
594 | "ssi.1", "ssi.0", | ||
595 | "clk_a", "clk_b", "clk_c", "clk_i"; | ||
596 | power-domains = <&cpg>; | ||
597 | status = "disabled"; | ||
598 | |||
599 | rcar_sound,ssi { | ||
600 | ssi0: ssi@0 { | ||
601 | interrupts = <0 370 IRQ_TYPE_LEVEL_HIGH>; | ||
602 | }; | ||
603 | ssi1: ssi@1 { | ||
604 | interrupts = <0 371 IRQ_TYPE_LEVEL_HIGH>; | ||
605 | }; | ||
606 | ssi2: ssi@2 { | ||
607 | interrupts = <0 372 IRQ_TYPE_LEVEL_HIGH>; | ||
608 | }; | ||
609 | ssi3: ssi@3 { | ||
610 | interrupts = <0 373 IRQ_TYPE_LEVEL_HIGH>; | ||
611 | }; | ||
612 | ssi4: ssi@4 { | ||
613 | interrupts = <0 374 IRQ_TYPE_LEVEL_HIGH>; | ||
614 | }; | ||
615 | ssi5: ssi@5 { | ||
616 | interrupts = <0 375 IRQ_TYPE_LEVEL_HIGH>; | ||
617 | }; | ||
618 | ssi6: ssi@6 { | ||
619 | interrupts = <0 376 IRQ_TYPE_LEVEL_HIGH>; | ||
620 | }; | ||
621 | ssi7: ssi@7 { | ||
622 | interrupts = <0 377 IRQ_TYPE_LEVEL_HIGH>; | ||
623 | }; | ||
624 | ssi8: ssi@8 { | ||
625 | interrupts = <0 378 IRQ_TYPE_LEVEL_HIGH>; | ||
626 | }; | ||
627 | ssi9: ssi@9 { | ||
628 | interrupts = <0 379 IRQ_TYPE_LEVEL_HIGH>; | ||
629 | }; | ||
630 | }; | ||
631 | }; | ||
537 | }; | 632 | }; |
538 | }; | 633 | }; |