1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2019 BayLibre, SAS 3 * Copyright (c) 2019 BayLibre, SAS 4 * Author: Jerome Brunet <jbrunet@baylibre.com> 4 * Author: Jerome Brunet <jbrunet@baylibre.com> 5 */ 5 */ 6 6 7 #include "meson-g12-common.dtsi" 7 #include "meson-g12-common.dtsi" 8 #include <dt-bindings/clock/axg-audio-clkc.h> 8 #include <dt-bindings/clock/axg-audio-clkc.h> 9 #include <dt-bindings/power/meson-g12a-power.h 9 #include <dt-bindings/power/meson-g12a-power.h> 10 #include <dt-bindings/reset/amlogic,meson-axg- 10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 11 #include <dt-bindings/reset/amlogic,meson-g12a 11 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h> 12 12 13 / { 13 / { 14 tdmif_a: audio-controller-0 { 14 tdmif_a: audio-controller-0 { 15 compatible = "amlogic,axg-tdm- 15 compatible = "amlogic,axg-tdm-iface"; 16 #sound-dai-cells = <0>; 16 #sound-dai-cells = <0>; 17 sound-name-prefix = "TDM_A"; 17 sound-name-prefix = "TDM_A"; 18 clocks = <&clkc_audio AUD_CLKI !! 18 clocks = <&clkc_audio AUD_CLKID_MST_A_MCLK>, 19 <&clkc_audio AUD_CLKI !! 19 <&clkc_audio AUD_CLKID_MST_A_SCLK>, 20 <&clkc_audio AUD_CLKI !! 20 <&clkc_audio AUD_CLKID_MST_A_LRCLK>; 21 clock-names = "sclk", "lrclk", !! 21 clock-names = "mclk", "sclk", "lrclk"; 22 status = "disabled"; 22 status = "disabled"; 23 }; 23 }; 24 24 25 tdmif_b: audio-controller-1 { 25 tdmif_b: audio-controller-1 { 26 compatible = "amlogic,axg-tdm- 26 compatible = "amlogic,axg-tdm-iface"; 27 #sound-dai-cells = <0>; 27 #sound-dai-cells = <0>; 28 sound-name-prefix = "TDM_B"; 28 sound-name-prefix = "TDM_B"; 29 clocks = <&clkc_audio AUD_CLKI !! 29 clocks = <&clkc_audio AUD_CLKID_MST_B_MCLK>, 30 <&clkc_audio AUD_CLKI !! 30 <&clkc_audio AUD_CLKID_MST_B_SCLK>, 31 <&clkc_audio AUD_CLKI !! 31 <&clkc_audio AUD_CLKID_MST_B_LRCLK>; 32 clock-names = "sclk", "lrclk", !! 32 clock-names = "mclk", "sclk", "lrclk"; 33 status = "disabled"; 33 status = "disabled"; 34 }; 34 }; 35 35 36 tdmif_c: audio-controller-2 { 36 tdmif_c: audio-controller-2 { 37 compatible = "amlogic,axg-tdm- 37 compatible = "amlogic,axg-tdm-iface"; 38 #sound-dai-cells = <0>; 38 #sound-dai-cells = <0>; 39 sound-name-prefix = "TDM_C"; 39 sound-name-prefix = "TDM_C"; 40 clocks = <&clkc_audio AUD_CLKI !! 40 clocks = <&clkc_audio AUD_CLKID_MST_C_MCLK>, 41 <&clkc_audio AUD_CLKI !! 41 <&clkc_audio AUD_CLKID_MST_C_SCLK>, 42 <&clkc_audio AUD_CLKI !! 42 <&clkc_audio AUD_CLKID_MST_C_LRCLK>; 43 clock-names = "sclk", "lrclk", !! 43 clock-names = "mclk", "sclk", "lrclk"; 44 status = "disabled"; 44 status = "disabled"; 45 }; 45 }; 46 }; 46 }; 47 47 48 &apb { 48 &apb { 49 pdm: audio-controller@40000 { 49 pdm: audio-controller@40000 { 50 compatible = "amlogic,g12a-pdm 50 compatible = "amlogic,g12a-pdm", 51 "amlogic,axg-pdm" 51 "amlogic,axg-pdm"; 52 reg = <0x0 0x40000 0x0 0x34>; 52 reg = <0x0 0x40000 0x0 0x34>; 53 #sound-dai-cells = <0>; 53 #sound-dai-cells = <0>; 54 sound-name-prefix = "PDM"; 54 sound-name-prefix = "PDM"; 55 clocks = <&clkc_audio AUD_CLKI 55 clocks = <&clkc_audio AUD_CLKID_PDM>, 56 <&clkc_audio AUD_CLKI 56 <&clkc_audio AUD_CLKID_PDM_DCLK>, 57 <&clkc_audio AUD_CLKI 57 <&clkc_audio AUD_CLKID_PDM_SYSCLK>; 58 clock-names = "pclk", "dclk", 58 clock-names = "pclk", "dclk", "sysclk"; 59 resets = <&clkc_audio AUD_RESE 59 resets = <&clkc_audio AUD_RESET_PDM>; 60 status = "disabled"; 60 status = "disabled"; 61 }; 61 }; 62 62 63 audio: bus@42000 { 63 audio: bus@42000 { 64 compatible = "simple-bus"; 64 compatible = "simple-bus"; 65 reg = <0x0 0x42000 0x0 0x2000> 65 reg = <0x0 0x42000 0x0 0x2000>; 66 #address-cells = <2>; 66 #address-cells = <2>; 67 #size-cells = <2>; 67 #size-cells = <2>; 68 ranges = <0x0 0x0 0x0 0x42000 68 ranges = <0x0 0x0 0x0 0x42000 0x0 0x2000>; 69 69 70 clkc_audio: clock-controller@0 70 clkc_audio: clock-controller@0 { 71 status = "disabled"; 71 status = "disabled"; 72 compatible = "amlogic, 72 compatible = "amlogic,g12a-audio-clkc"; 73 reg = <0x0 0x0 0x0 0xb 73 reg = <0x0 0x0 0x0 0xb4>; 74 #clock-cells = <1>; 74 #clock-cells = <1>; 75 #reset-cells = <1>; 75 #reset-cells = <1>; 76 76 77 clocks = <&clkc CLKID_ 77 clocks = <&clkc CLKID_AUDIO>, 78 <&clkc CLKID_ 78 <&clkc CLKID_MPLL0>, 79 <&clkc CLKID_ 79 <&clkc CLKID_MPLL1>, 80 <&clkc CLKID_ 80 <&clkc CLKID_MPLL2>, 81 <&clkc CLKID_ 81 <&clkc CLKID_MPLL3>, 82 <&clkc CLKID_ 82 <&clkc CLKID_HIFI_PLL>, 83 <&clkc CLKID_ 83 <&clkc CLKID_FCLK_DIV3>, 84 <&clkc CLKID_ 84 <&clkc CLKID_FCLK_DIV4>, 85 <&clkc CLKID_ 85 <&clkc CLKID_GP0_PLL>; 86 clock-names = "pclk", 86 clock-names = "pclk", 87 "mst_in0 87 "mst_in0", 88 "mst_in1 88 "mst_in1", 89 "mst_in2 89 "mst_in2", 90 "mst_in3 90 "mst_in3", 91 "mst_in4 91 "mst_in4", 92 "mst_in5 92 "mst_in5", 93 "mst_in6 93 "mst_in6", 94 "mst_in7 94 "mst_in7"; 95 95 96 resets = <&reset RESET 96 resets = <&reset RESET_AUDIO>; 97 }; 97 }; 98 98 99 toddr_a: audio-controller@100 99 toddr_a: audio-controller@100 { 100 compatible = "amlogic, 100 compatible = "amlogic,g12a-toddr", 101 "amlogic, 101 "amlogic,axg-toddr"; 102 reg = <0x0 0x100 0x0 0 102 reg = <0x0 0x100 0x0 0x2c>; 103 #sound-dai-cells = <0> 103 #sound-dai-cells = <0>; 104 sound-name-prefix = "T 104 sound-name-prefix = "TODDR_A"; 105 interrupts = <GIC_SPI 105 interrupts = <GIC_SPI 148 IRQ_TYPE_EDGE_RISING>; 106 clocks = <&clkc_audio 106 clocks = <&clkc_audio AUD_CLKID_TODDR_A>; 107 resets = <&arb AXG_ARB 107 resets = <&arb AXG_ARB_TODDR_A>, 108 <&clkc_audio 108 <&clkc_audio AUD_RESET_TODDR_A>; 109 reset-names = "arb", " 109 reset-names = "arb", "rst"; 110 amlogic,fifo-depth = < 110 amlogic,fifo-depth = <512>; 111 status = "disabled"; 111 status = "disabled"; 112 }; 112 }; 113 113 114 toddr_b: audio-controller@140 114 toddr_b: audio-controller@140 { 115 compatible = "amlogic, 115 compatible = "amlogic,g12a-toddr", 116 "amlogic, 116 "amlogic,axg-toddr"; 117 reg = <0x0 0x140 0x0 0 117 reg = <0x0 0x140 0x0 0x2c>; 118 #sound-dai-cells = <0> 118 #sound-dai-cells = <0>; 119 sound-name-prefix = "T 119 sound-name-prefix = "TODDR_B"; 120 interrupts = <GIC_SPI 120 interrupts = <GIC_SPI 149 IRQ_TYPE_EDGE_RISING>; 121 clocks = <&clkc_audio 121 clocks = <&clkc_audio AUD_CLKID_TODDR_B>; 122 resets = <&arb AXG_ARB 122 resets = <&arb AXG_ARB_TODDR_B>, 123 <&clkc_audio 123 <&clkc_audio AUD_RESET_TODDR_B>; 124 reset-names = "arb", " 124 reset-names = "arb", "rst"; 125 amlogic,fifo-depth = < 125 amlogic,fifo-depth = <256>; 126 status = "disabled"; 126 status = "disabled"; 127 }; 127 }; 128 128 129 toddr_c: audio-controller@180 129 toddr_c: audio-controller@180 { 130 compatible = "amlogic, 130 compatible = "amlogic,g12a-toddr", 131 "amlogic, 131 "amlogic,axg-toddr"; 132 reg = <0x0 0x180 0x0 0 132 reg = <0x0 0x180 0x0 0x2c>; 133 #sound-dai-cells = <0> 133 #sound-dai-cells = <0>; 134 sound-name-prefix = "T 134 sound-name-prefix = "TODDR_C"; 135 interrupts = <GIC_SPI 135 interrupts = <GIC_SPI 150 IRQ_TYPE_EDGE_RISING>; 136 clocks = <&clkc_audio 136 clocks = <&clkc_audio AUD_CLKID_TODDR_C>; 137 resets = <&arb AXG_ARB 137 resets = <&arb AXG_ARB_TODDR_C>, 138 <&clkc_audio 138 <&clkc_audio AUD_RESET_TODDR_C>; 139 reset-names = "arb", " 139 reset-names = "arb", "rst"; 140 amlogic,fifo-depth = < 140 amlogic,fifo-depth = <256>; 141 status = "disabled"; 141 status = "disabled"; 142 }; 142 }; 143 143 144 frddr_a: audio-controller@1c0 144 frddr_a: audio-controller@1c0 { 145 compatible = "amlogic, 145 compatible = "amlogic,g12a-frddr", 146 "amlogic, 146 "amlogic,axg-frddr"; 147 reg = <0x0 0x1c0 0x0 0 147 reg = <0x0 0x1c0 0x0 0x2c>; 148 #sound-dai-cells = <0> 148 #sound-dai-cells = <0>; 149 sound-name-prefix = "F 149 sound-name-prefix = "FRDDR_A"; 150 interrupts = <GIC_SPI 150 interrupts = <GIC_SPI 152 IRQ_TYPE_EDGE_RISING>; 151 clocks = <&clkc_audio 151 clocks = <&clkc_audio AUD_CLKID_FRDDR_A>; 152 resets = <&arb AXG_ARB 152 resets = <&arb AXG_ARB_FRDDR_A>, 153 <&clkc_audio 153 <&clkc_audio AUD_RESET_FRDDR_A>; 154 reset-names = "arb", " 154 reset-names = "arb", "rst"; 155 amlogic,fifo-depth = < 155 amlogic,fifo-depth = <512>; 156 status = "disabled"; 156 status = "disabled"; 157 }; 157 }; 158 158 159 frddr_b: audio-controller@200 159 frddr_b: audio-controller@200 { 160 compatible = "amlogic, 160 compatible = "amlogic,g12a-frddr", 161 "amlogic, 161 "amlogic,axg-frddr"; 162 reg = <0x0 0x200 0x0 0 162 reg = <0x0 0x200 0x0 0x2c>; 163 #sound-dai-cells = <0> 163 #sound-dai-cells = <0>; 164 sound-name-prefix = "F 164 sound-name-prefix = "FRDDR_B"; 165 interrupts = <GIC_SPI 165 interrupts = <GIC_SPI 153 IRQ_TYPE_EDGE_RISING>; 166 clocks = <&clkc_audio 166 clocks = <&clkc_audio AUD_CLKID_FRDDR_B>; 167 resets = <&arb AXG_ARB 167 resets = <&arb AXG_ARB_FRDDR_B>, 168 <&clkc_audio 168 <&clkc_audio AUD_RESET_FRDDR_B>; 169 reset-names = "arb", " 169 reset-names = "arb", "rst"; 170 amlogic,fifo-depth = < 170 amlogic,fifo-depth = <256>; 171 status = "disabled"; 171 status = "disabled"; 172 }; 172 }; 173 173 174 frddr_c: audio-controller@240 174 frddr_c: audio-controller@240 { 175 compatible = "amlogic, 175 compatible = "amlogic,g12a-frddr", 176 "amlogic, 176 "amlogic,axg-frddr"; 177 reg = <0x0 0x240 0x0 0 177 reg = <0x0 0x240 0x0 0x2c>; 178 #sound-dai-cells = <0> 178 #sound-dai-cells = <0>; 179 sound-name-prefix = "F 179 sound-name-prefix = "FRDDR_C"; 180 interrupts = <GIC_SPI 180 interrupts = <GIC_SPI 154 IRQ_TYPE_EDGE_RISING>; 181 clocks = <&clkc_audio 181 clocks = <&clkc_audio AUD_CLKID_FRDDR_C>; 182 resets = <&arb AXG_ARB 182 resets = <&arb AXG_ARB_FRDDR_C>, 183 <&clkc_audio 183 <&clkc_audio AUD_RESET_FRDDR_C>; 184 reset-names = "arb", " 184 reset-names = "arb", "rst"; 185 amlogic,fifo-depth = < 185 amlogic,fifo-depth = <256>; 186 status = "disabled"; 186 status = "disabled"; 187 }; 187 }; 188 188 189 arb: reset-controller@280 { 189 arb: reset-controller@280 { 190 status = "disabled"; 190 status = "disabled"; 191 compatible = "amlogic, 191 compatible = "amlogic,meson-axg-audio-arb"; 192 reg = <0x0 0x280 0x0 0 192 reg = <0x0 0x280 0x0 0x4>; 193 #reset-cells = <1>; 193 #reset-cells = <1>; 194 clocks = <&clkc_audio 194 clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; 195 }; 195 }; 196 196 197 tdmin_a: audio-controller@300 197 tdmin_a: audio-controller@300 { 198 compatible = "amlogic, !! 198 compatible = "amlogic,g12a-tdmin", >> 199 "amlogic,axg-tdmin"; 199 reg = <0x0 0x300 0x0 0 200 reg = <0x0 0x300 0x0 0x40>; 200 sound-name-prefix = "T 201 sound-name-prefix = "TDMIN_A"; 201 resets = <&clkc_audio 202 resets = <&clkc_audio AUD_RESET_TDMIN_A>; 202 clocks = <&clkc_audio 203 clocks = <&clkc_audio AUD_CLKID_TDMIN_A>, 203 <&clkc_audio 204 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK>, 204 <&clkc_audio 205 <&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>, 205 <&clkc_audio 206 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>, 206 <&clkc_audio 207 <&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>; 207 clock-names = "pclk", 208 clock-names = "pclk", "sclk", "sclk_sel", 208 "lrclk", 209 "lrclk", "lrclk_sel"; 209 status = "disabled"; 210 status = "disabled"; 210 }; 211 }; 211 212 212 tdmin_b: audio-controller@340 213 tdmin_b: audio-controller@340 { 213 compatible = "amlogic, !! 214 compatible = "amlogic,g12a-tdmin", >> 215 "amlogic,axg-tdmin"; 214 reg = <0x0 0x340 0x0 0 216 reg = <0x0 0x340 0x0 0x40>; 215 sound-name-prefix = "T 217 sound-name-prefix = "TDMIN_B"; 216 resets = <&clkc_audio 218 resets = <&clkc_audio AUD_RESET_TDMIN_B>; 217 clocks = <&clkc_audio 219 clocks = <&clkc_audio AUD_CLKID_TDMIN_B>, 218 <&clkc_audio 220 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK>, 219 <&clkc_audio 221 <&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>, 220 <&clkc_audio 222 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>, 221 <&clkc_audio 223 <&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>; 222 clock-names = "pclk", 224 clock-names = "pclk", "sclk", "sclk_sel", 223 "lrclk", 225 "lrclk", "lrclk_sel"; 224 status = "disabled"; 226 status = "disabled"; 225 }; 227 }; 226 228 227 tdmin_c: audio-controller@380 229 tdmin_c: audio-controller@380 { 228 compatible = "amlogic, !! 230 compatible = "amlogic,g12a-tdmin", >> 231 "amlogic,axg-tdmin"; 229 reg = <0x0 0x380 0x0 0 232 reg = <0x0 0x380 0x0 0x40>; 230 sound-name-prefix = "T 233 sound-name-prefix = "TDMIN_C"; 231 resets = <&clkc_audio 234 resets = <&clkc_audio AUD_RESET_TDMIN_C>; 232 clocks = <&clkc_audio 235 clocks = <&clkc_audio AUD_CLKID_TDMIN_C>, 233 <&clkc_audio 236 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK>, 234 <&clkc_audio 237 <&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>, 235 <&clkc_audio 238 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>, 236 <&clkc_audio 239 <&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>; 237 clock-names = "pclk", 240 clock-names = "pclk", "sclk", "sclk_sel", 238 "lrclk", 241 "lrclk", "lrclk_sel"; 239 status = "disabled"; 242 status = "disabled"; 240 }; 243 }; 241 244 242 tdmin_lb: audio-controller@3c0 245 tdmin_lb: audio-controller@3c0 { 243 compatible = "amlogic, !! 246 compatible = "amlogic,g12a-tdmin", >> 247 "amlogic,axg-tdmin"; 244 reg = <0x0 0x3c0 0x0 0 248 reg = <0x0 0x3c0 0x0 0x40>; 245 sound-name-prefix = "T 249 sound-name-prefix = "TDMIN_LB"; 246 resets = <&clkc_audio 250 resets = <&clkc_audio AUD_RESET_TDMIN_LB>; 247 clocks = <&clkc_audio 251 clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>, 248 <&clkc_audio 252 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>, 249 <&clkc_audio 253 <&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>, 250 <&clkc_audio 254 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>, 251 <&clkc_audio 255 <&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>; 252 clock-names = "pclk", 256 clock-names = "pclk", "sclk", "sclk_sel", 253 "lrclk", 257 "lrclk", "lrclk_sel"; 254 status = "disabled"; 258 status = "disabled"; 255 }; 259 }; 256 260 257 spdifin: audio-controller@400 261 spdifin: audio-controller@400 { 258 compatible = "amlogic, 262 compatible = "amlogic,g12a-spdifin", 259 "amlogic, 263 "amlogic,axg-spdifin"; 260 reg = <0x0 0x400 0x0 0 264 reg = <0x0 0x400 0x0 0x30>; 261 #sound-dai-cells = <0> 265 #sound-dai-cells = <0>; 262 sound-name-prefix = "S 266 sound-name-prefix = "SPDIFIN"; 263 interrupts = <GIC_SPI 267 interrupts = <GIC_SPI 151 IRQ_TYPE_EDGE_RISING>; 264 clocks = <&clkc_audio 268 clocks = <&clkc_audio AUD_CLKID_SPDIFIN>, 265 <&clkc_audio 269 <&clkc_audio AUD_CLKID_SPDIFIN_CLK>; 266 clock-names = "pclk", 270 clock-names = "pclk", "refclk"; 267 resets = <&clkc_audio 271 resets = <&clkc_audio AUD_RESET_SPDIFIN>; 268 status = "disabled"; 272 status = "disabled"; 269 }; 273 }; 270 274 271 spdifout_a: audio-controller@4 !! 275 spdifout: audio-controller@480 { 272 compatible = "amlogic, 276 compatible = "amlogic,g12a-spdifout", 273 "amlogic, 277 "amlogic,axg-spdifout"; 274 reg = <0x0 0x480 0x0 0 278 reg = <0x0 0x480 0x0 0x50>; 275 #sound-dai-cells = <0> 279 #sound-dai-cells = <0>; 276 sound-name-prefix = "S !! 280 sound-name-prefix = "SPDIFOUT"; 277 clocks = <&clkc_audio 281 clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>, 278 <&clkc_audio 282 <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>; 279 clock-names = "pclk", 283 clock-names = "pclk", "mclk"; 280 resets = <&clkc_audio 284 resets = <&clkc_audio AUD_RESET_SPDIFOUT>; 281 status = "disabled"; 285 status = "disabled"; 282 }; 286 }; 283 287 284 tdmout_a: audio-controller@500 288 tdmout_a: audio-controller@500 { 285 compatible = "amlogic, 289 compatible = "amlogic,g12a-tdmout"; 286 reg = <0x0 0x500 0x0 0 290 reg = <0x0 0x500 0x0 0x40>; 287 sound-name-prefix = "T 291 sound-name-prefix = "TDMOUT_A"; 288 resets = <&clkc_audio 292 resets = <&clkc_audio AUD_RESET_TDMOUT_A>; 289 clocks = <&clkc_audio 293 clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>, 290 <&clkc_audio 294 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>, 291 <&clkc_audio 295 <&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>, 292 <&clkc_audio 296 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>, 293 <&clkc_audio 297 <&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>; 294 clock-names = "pclk", 298 clock-names = "pclk", "sclk", "sclk_sel", 295 "lrclk", 299 "lrclk", "lrclk_sel"; 296 status = "disabled"; 300 status = "disabled"; 297 }; 301 }; 298 302 299 tdmout_b: audio-controller@540 303 tdmout_b: audio-controller@540 { 300 compatible = "amlogic, 304 compatible = "amlogic,g12a-tdmout"; 301 reg = <0x0 0x540 0x0 0 305 reg = <0x0 0x540 0x0 0x40>; 302 sound-name-prefix = "T 306 sound-name-prefix = "TDMOUT_B"; 303 resets = <&clkc_audio 307 resets = <&clkc_audio AUD_RESET_TDMOUT_B>; 304 clocks = <&clkc_audio 308 clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>, 305 <&clkc_audio 309 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>, 306 <&clkc_audio 310 <&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>, 307 <&clkc_audio 311 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>, 308 <&clkc_audio 312 <&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>; 309 clock-names = "pclk", 313 clock-names = "pclk", "sclk", "sclk_sel", 310 "lrclk", 314 "lrclk", "lrclk_sel"; 311 status = "disabled"; 315 status = "disabled"; 312 }; 316 }; 313 317 314 tdmout_c: audio-controller@580 318 tdmout_c: audio-controller@580 { 315 compatible = "amlogic, 319 compatible = "amlogic,g12a-tdmout"; 316 reg = <0x0 0x580 0x0 0 320 reg = <0x0 0x580 0x0 0x40>; 317 sound-name-prefix = "T 321 sound-name-prefix = "TDMOUT_C"; 318 resets = <&clkc_audio 322 resets = <&clkc_audio AUD_RESET_TDMOUT_C>; 319 clocks = <&clkc_audio 323 clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>, 320 <&clkc_audio 324 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>, 321 <&clkc_audio 325 <&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>, 322 <&clkc_audio 326 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>, 323 <&clkc_audio 327 <&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>; 324 clock-names = "pclk", 328 clock-names = "pclk", "sclk", "sclk_sel", 325 "lrclk", 329 "lrclk", "lrclk_sel"; 326 status = "disabled"; 330 status = "disabled"; 327 }; 331 }; 328 332 329 spdifout_b: audio-controller@6 333 spdifout_b: audio-controller@680 { 330 compatible = "amlogic, 334 compatible = "amlogic,g12a-spdifout", 331 "amlogic, 335 "amlogic,axg-spdifout"; 332 reg = <0x0 0x680 0x0 0 336 reg = <0x0 0x680 0x0 0x50>; 333 #sound-dai-cells = <0> 337 #sound-dai-cells = <0>; 334 sound-name-prefix = "S 338 sound-name-prefix = "SPDIFOUT_B"; 335 clocks = <&clkc_audio 339 clocks = <&clkc_audio AUD_CLKID_SPDIFOUT_B>, 336 <&clkc_audio 340 <&clkc_audio AUD_CLKID_SPDIFOUT_B_CLK>; 337 clock-names = "pclk", 341 clock-names = "pclk", "mclk"; 338 resets = <&clkc_audio 342 resets = <&clkc_audio AUD_RESET_SPDIFOUT_B>; 339 status = "disabled"; 343 status = "disabled"; 340 }; 344 }; 341 345 342 toacodec: audio-controller@740 346 toacodec: audio-controller@740 { 343 compatible = "amlogic, 347 compatible = "amlogic,g12a-toacodec"; 344 reg = <0x0 0x740 0x0 0 348 reg = <0x0 0x740 0x0 0x4>; 345 #sound-dai-cells = <1> 349 #sound-dai-cells = <1>; 346 sound-name-prefix = "T 350 sound-name-prefix = "TOACODEC"; 347 resets = <&clkc_audio 351 resets = <&clkc_audio AUD_RESET_TOACODEC>; 348 status = "disabled"; 352 status = "disabled"; 349 }; 353 }; 350 354 351 tohdmitx: audio-controller@744 355 tohdmitx: audio-controller@744 { 352 compatible = "amlogic, 356 compatible = "amlogic,g12a-tohdmitx"; 353 reg = <0x0 0x744 0x0 0 357 reg = <0x0 0x744 0x0 0x4>; 354 #sound-dai-cells = <1> 358 #sound-dai-cells = <1>; 355 sound-name-prefix = "T 359 sound-name-prefix = "TOHDMITX"; 356 resets = <&clkc_audio 360 resets = <&clkc_audio AUD_RESET_TOHDMITX>; 357 status = "disabled"; 361 status = "disabled"; 358 }; 362 }; 359 }; 363 }; 360 }; 364 }; 361 365 362 ðmac { 366 ðmac { 363 power-domains = <&pwrc PWRC_G12A_ETH_I 367 power-domains = <&pwrc PWRC_G12A_ETH_ID>; 364 }; << 365 << 366 &hdmi_tx { << 367 power-domains = <&pwrc PWRC_G12A_VPU_I << 368 }; 368 }; 369 369 370 &vpu { 370 &vpu { 371 power-domains = <&pwrc PWRC_G12A_VPU_I 371 power-domains = <&pwrc PWRC_G12A_VPU_ID>; 372 }; 372 }; 373 373 374 &sd_emmc_a { 374 &sd_emmc_a { 375 amlogic,dram-access-quirk; 375 amlogic,dram-access-quirk; 376 }; 376 }; 377 377 378 &simplefb_cvbs { 378 &simplefb_cvbs { 379 power-domains = <&pwrc PWRC_G12A_VPU_I 379 power-domains = <&pwrc PWRC_G12A_VPU_ID>; 380 }; 380 }; 381 381 382 &simplefb_hdmi { 382 &simplefb_hdmi { 383 power-domains = <&pwrc PWRC_G12A_VPU_I 383 power-domains = <&pwrc PWRC_G12A_VPU_ID>; 384 }; 384 }; 385 385
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.