|
15 | 15 | #address-cells = <2>; |
16 | 16 | #size-cells = <2>; |
17 | 17 |
|
| 18 | + /* |
| 19 | + * The external audio clocks are configured as 0 Hz fixed frequency |
| 20 | + * clocks by default. |
| 21 | + * Boards that provide audio clocks should override them. |
| 22 | + */ |
| 23 | + audio_clk_a: audio_clk_a { |
| 24 | + compatible = "fixed-clock"; |
| 25 | + #clock-cells = <0>; |
| 26 | + clock-frequency = <0>; |
| 27 | + }; |
| 28 | + |
| 29 | + audio_clk_b: audio_clk_b { |
| 30 | + compatible = "fixed-clock"; |
| 31 | + #clock-cells = <0>; |
| 32 | + clock-frequency = <0>; |
| 33 | + }; |
| 34 | + |
18 | 35 | /* External CAN clock - to be overridden by boards that provide it */ |
19 | 36 | can_clk: can { |
20 | 37 | compatible = "fixed-clock"; |
|
1016 | 1033 | status = "disabled"; |
1017 | 1034 | }; |
1018 | 1035 |
|
| 1036 | + rcar_sound: sound@ec500000 { |
| 1037 | + /* |
| 1038 | + * #sound-dai-cells is required |
| 1039 | + * |
| 1040 | + * Single DAI : #sound-dai-cells = <0>; <&rcar_sound>; |
| 1041 | + * Multi DAI : #sound-dai-cells = <1>; <&rcar_sound N>; |
| 1042 | + */ |
| 1043 | + /* |
| 1044 | + * #clock-cells is required for audio_clkout0/1/2/3 |
| 1045 | + * |
| 1046 | + * clkout : #clock-cells = <0>; <&rcar_sound>; |
| 1047 | + * clkout0/1/2/3: #clock-cells = <1>; <&rcar_sound N>; |
| 1048 | + */ |
| 1049 | + compatible = "renesas,rcar_sound-r8a77995", "renesas,rcar_sound-gen3"; |
| 1050 | + reg = <0 0xec500000 0 0x1000>, /* SCU */ |
| 1051 | + <0 0xec5a0000 0 0x100>, /* ADG */ |
| 1052 | + <0 0xec540000 0 0x1000>, /* SSIU */ |
| 1053 | + <0 0xec541000 0 0x280>, /* SSI */ |
| 1054 | + <0 0xec740000 0 0x200>; /* Audio DMAC peri peri*/ |
| 1055 | + reg-names = "scu", "adg", "ssiu", "ssi", "audmapp"; |
| 1056 | + |
| 1057 | + clocks = <&cpg CPG_MOD 1005>, |
| 1058 | + <&cpg CPG_MOD 1011>, <&cpg CPG_MOD 1012>, |
| 1059 | + <&cpg CPG_MOD 1025>, <&cpg CPG_MOD 1026>, |
| 1060 | + <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, |
| 1061 | + <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, |
| 1062 | + <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>, |
| 1063 | + <&audio_clk_a>, <&audio_clk_b>, |
| 1064 | + <&cpg CPG_CORE R8A77995_CLK_ZA2>; |
| 1065 | + clock-names = "ssi-all", |
| 1066 | + "ssi.4", "ssi.3", |
| 1067 | + "src.6", "src.5", |
| 1068 | + "mix.1", "mix.0", |
| 1069 | + "ctu.1", "ctu.0", |
| 1070 | + "dvc.0", "dvc.1", |
| 1071 | + "clk_a", "clk_b", "clk_i"; |
| 1072 | + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; |
| 1073 | + resets = <&cpg 1005>, |
| 1074 | + <&cpg 1011>, <&cpg 1012>; |
| 1075 | + reset-names = "ssi-all", |
| 1076 | + "ssi.4", "ssi.3"; |
| 1077 | + status = "disabled"; |
| 1078 | + |
| 1079 | + rcar_sound,ctu { |
| 1080 | + ctu00: ctu-0 { }; |
| 1081 | + ctu01: ctu-1 { }; |
| 1082 | + ctu02: ctu-2 { }; |
| 1083 | + ctu03: ctu-3 { }; |
| 1084 | + ctu10: ctu-4 { }; |
| 1085 | + ctu11: ctu-5 { }; |
| 1086 | + ctu12: ctu-6 { }; |
| 1087 | + ctu13: ctu-7 { }; |
| 1088 | + }; |
| 1089 | + |
| 1090 | + rcar_sound,dvc { |
| 1091 | + dvc0: dvc-0 { |
| 1092 | + dmas = <&audma0 0xbc>; |
| 1093 | + dma-names = "tx"; |
| 1094 | + }; |
| 1095 | + dvc1: dvc-1 { |
| 1096 | + dmas = <&audma0 0xbe>; |
| 1097 | + dma-names = "tx"; |
| 1098 | + }; |
| 1099 | + }; |
| 1100 | + |
| 1101 | + rcar_sound,mix { |
| 1102 | + mix0: mix-0 { }; |
| 1103 | + mix1: mix-1 { }; |
| 1104 | + }; |
| 1105 | + |
| 1106 | + rcar_sound,src { |
| 1107 | + src5: src-5 { |
| 1108 | + interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; |
| 1109 | + dmas = <&audma0 0x8f>, <&audma0 0xb2>; |
| 1110 | + dma-names = "rx", "tx"; |
| 1111 | + }; |
| 1112 | + src6: src-6 { |
| 1113 | + interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; |
| 1114 | + dmas = <&audma0 0x91>, <&audma0 0xb4>; |
| 1115 | + dma-names = "rx", "tx"; |
| 1116 | + }; |
| 1117 | + }; |
| 1118 | + |
| 1119 | + rcar_sound,ssi { |
| 1120 | + ssi3: ssi-3 { |
| 1121 | + interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>; |
| 1122 | + dmas = <&audma0 0x07>, <&audma0 0x08>, |
| 1123 | + <&audma0 0x6f>, <&audma0 0x70>; |
| 1124 | + dma-names = "rx", "tx", "rxu", "txu"; |
| 1125 | + }; |
| 1126 | + ssi4: ssi-4 { |
| 1127 | + interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>; |
| 1128 | + dmas = <&audma0 0x09>, <&audma0 0x0a>, |
| 1129 | + <&audma0 0x71>, <&audma0 0x72>; |
| 1130 | + dma-names = "rx", "tx", "rxu", "txu"; |
| 1131 | + }; |
| 1132 | + }; |
| 1133 | + }; |
| 1134 | + |
| 1135 | + audma0: dma-controller@ec700000 { |
| 1136 | + compatible = "renesas,dmac-r8a77995", |
| 1137 | + "renesas,rcar-dmac"; |
| 1138 | + reg = <0 0xec700000 0 0x10000>; |
| 1139 | + interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>, |
| 1140 | + <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>, |
| 1141 | + <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>, |
| 1142 | + <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>, |
| 1143 | + <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>, |
| 1144 | + <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>, |
| 1145 | + <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>, |
| 1146 | + <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>, |
| 1147 | + <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>, |
| 1148 | + <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>, |
| 1149 | + <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, |
| 1150 | + <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, |
| 1151 | + <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, |
| 1152 | + <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>, |
| 1153 | + <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>, |
| 1154 | + <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>, |
| 1155 | + <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>; |
| 1156 | + interrupt-names = "error", |
| 1157 | + "ch0", "ch1", "ch2", "ch3", |
| 1158 | + "ch4", "ch5", "ch6", "ch7", |
| 1159 | + "ch8", "ch9", "ch10", "ch11", |
| 1160 | + "ch12", "ch13", "ch14", "ch15"; |
| 1161 | + clocks = <&cpg CPG_MOD 502>; |
| 1162 | + clock-names = "fck"; |
| 1163 | + power-domains = <&sysc R8A77995_PD_ALWAYS_ON>; |
| 1164 | + resets = <&cpg 502>; |
| 1165 | + #dma-cells = <1>; |
| 1166 | + dma-channels = <16>; |
| 1167 | + iommus = <&ipmmu_mp 0>, <&ipmmu_mp 1>, |
| 1168 | + <&ipmmu_mp 2>, <&ipmmu_mp 3>, |
| 1169 | + <&ipmmu_mp 4>, <&ipmmu_mp 5>, |
| 1170 | + <&ipmmu_mp 6>, <&ipmmu_mp 7>, |
| 1171 | + <&ipmmu_mp 8>, <&ipmmu_mp 9>, |
| 1172 | + <&ipmmu_mp 10>, <&ipmmu_mp 11>, |
| 1173 | + <&ipmmu_mp 12>, <&ipmmu_mp 13>, |
| 1174 | + <&ipmmu_mp 14>, <&ipmmu_mp 15>; |
| 1175 | + }; |
| 1176 | + |
1019 | 1177 | ohci0: usb@ee080000 { |
1020 | 1178 | compatible = "generic-ohci"; |
1021 | 1179 | reg = <0 0xee080000 0 0x100>; |
|
0 commit comments