| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (c) 2019 BayLibre, SAS |
| 4 |
* Author: Neil Armstrong <[email protected]> |
| 5 |
*/ |
| 6 |
|
| 7 |
#include "meson-g12-common.dtsi" |
| 8 |
#include <dt-bindings/clock/axg-audio-clkc.h> |
| 9 |
#include <dt-bindings/power/meson-sm1-power.h> |
| 10 |
#include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> |
| 11 |
#include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h> |
| 12 |
|
| 13 |
/ { |
| 14 |
compatible = "amlogic,sm1"; |
| 15 |
|
| 16 |
tdmif_a: audio-controller-0 { |
| 17 |
compatible = "amlogic,axg-tdm-iface"; |
| 18 |
#sound-dai-cells = <0>; |
| 19 |
sound-name-prefix = "TDM_A"; |
| 20 |
clocks = <&clkc_audio AUD_CLKID_MST_A_SCLK>, |
| 21 |
<&clkc_audio AUD_CLKID_MST_A_LRCLK>, |
| 22 |
<&clkc_audio AUD_CLKID_MST_A_MCLK>; |
| 23 |
clock-names = "sclk", "lrclk", "mclk"; |
| 24 |
status = "disabled"; |
| 25 |
}; |
| 26 |
|
| 27 |
tdmif_b: audio-controller-1 { |
| 28 |
compatible = "amlogic,axg-tdm-iface"; |
| 29 |
#sound-dai-cells = <0>; |
| 30 |
sound-name-prefix = "TDM_B"; |
| 31 |
clocks = <&clkc_audio AUD_CLKID_MST_B_SCLK>, |
| 32 |
<&clkc_audio AUD_CLKID_MST_B_LRCLK>, |
| 33 |
<&clkc_audio AUD_CLKID_MST_B_MCLK>; |
| 34 |
clock-names = "sclk", "lrclk", "mclk"; |
| 35 |
status = "disabled"; |
| 36 |
}; |
| 37 |
|
| 38 |
tdmif_c: audio-controller-2 { |
| 39 |
compatible = "amlogic,axg-tdm-iface"; |
| 40 |
#sound-dai-cells = <0>; |
| 41 |
sound-name-prefix = "TDM_C"; |
| 42 |
clocks = <&clkc_audio AUD_CLKID_MST_C_SCLK>, |
| 43 |
<&clkc_audio AUD_CLKID_MST_C_LRCLK>, |
| 44 |
<&clkc_audio AUD_CLKID_MST_C_MCLK>; |
| 45 |
clock-names = "sclk", "lrclk", "mclk"; |
| 46 |
status = "disabled"; |
| 47 |
}; |
| 48 |
|
| 49 |
cpus { |
| 50 |
#address-cells = <0x2>; |
| 51 |
#size-cells = <0x0>; |
| 52 |
|
| 53 |
cpu0: cpu@0 { |
| 54 |
device_type = "cpu"; |
| 55 |
compatible = "arm,cortex-a55"; |
| 56 |
reg = <0x0 0x0>; |
| 57 |
enable-method = "psci"; |
| 58 |
d-cache-line-size = <32>; |
| 59 |
d-cache-size = <0x8000>; |
| 60 |
d-cache-sets = <32>; |
| 61 |
i-cache-line-size = <32>; |
| 62 |
i-cache-size = <0x8000>; |
| 63 |
i-cache-sets = <32>; |
| 64 |
next-level-cache = <&l2>; |
| 65 |
#cooling-cells = <2>; |
| 66 |
operating-points-v2 = <&cpu_opp_table>; |
| 67 |
clocks = <&clkc CLKID_CPU_CLK>; |
| 68 |
}; |
| 69 |
|
| 70 |
cpu1: cpu@1 { |
| 71 |
device_type = "cpu"; |
| 72 |
compatible = "arm,cortex-a55"; |
| 73 |
reg = <0x0 0x1>; |
| 74 |
enable-method = "psci"; |
| 75 |
d-cache-line-size = <32>; |
| 76 |
d-cache-size = <0x8000>; |
| 77 |
d-cache-sets = <32>; |
| 78 |
i-cache-line-size = <32>; |
| 79 |
i-cache-size = <0x8000>; |
| 80 |
i-cache-sets = <32>; |
| 81 |
next-level-cache = <&l2>; |
| 82 |
#cooling-cells = <2>; |
| 83 |
operating-points-v2 = <&cpu_opp_table>; |
| 84 |
clocks = <&clkc CLKID_CPU1_CLK>; |
| 85 |
}; |
| 86 |
|
| 87 |
cpu2: cpu@2 { |
| 88 |
device_type = "cpu"; |
| 89 |
compatible = "arm,cortex-a55"; |
| 90 |
reg = <0x0 0x2>; |
| 91 |
enable-method = "psci"; |
| 92 |
d-cache-line-size = <32>; |
| 93 |
d-cache-size = <0x8000>; |
| 94 |
d-cache-sets = <32>; |
| 95 |
i-cache-line-size = <32>; |
| 96 |
i-cache-size = <0x8000>; |
| 97 |
i-cache-sets = <32>; |
| 98 |
next-level-cache = <&l2>; |
| 99 |
#cooling-cells = <2>; |
| 100 |
operating-points-v2 = <&cpu_opp_table>; |
| 101 |
clocks = <&clkc CLKID_CPU2_CLK>; |
| 102 |
}; |
| 103 |
|
| 104 |
cpu3: cpu@3 { |
| 105 |
device_type = "cpu"; |
| 106 |
compatible = "arm,cortex-a55"; |
| 107 |
reg = <0x0 0x3>; |
| 108 |
enable-method = "psci"; |
| 109 |
d-cache-line-size = <32>; |
| 110 |
d-cache-size = <0x8000>; |
| 111 |
d-cache-sets = <32>; |
| 112 |
i-cache-line-size = <32>; |
| 113 |
i-cache-size = <0x8000>; |
| 114 |
i-cache-sets = <32>; |
| 115 |
next-level-cache = <&l2>; |
| 116 |
#cooling-cells = <2>; |
| 117 |
operating-points-v2 = <&cpu_opp_table>; |
| 118 |
clocks = <&clkc CLKID_CPU3_CLK>; |
| 119 |
}; |
| 120 |
|
| 121 |
l2: l2-cache0 { |
| 122 |
compatible = "cache"; |
| 123 |
cache-level = <2>; |
| 124 |
cache-unified; |
| 125 |
cache-size = <0x40000>; /* L2. 256 KB */ |
| 126 |
cache-line-size = <64>; |
| 127 |
cache-sets = <256>; |
| 128 |
}; |
| 129 |
}; |
| 130 |
|
| 131 |
cpu_opp_table: opp-table { |
| 132 |
compatible = "operating-points-v2"; |
| 133 |
opp-shared; |
| 134 |
|
| 135 |
opp-1000000000 { |
| 136 |
opp-hz = /bits/ 64 <1000000000>; |
| 137 |
opp-microvolt = <770000>; |
| 138 |
clock-latency-ns = <50000>; |
| 139 |
}; |
| 140 |
|
| 141 |
opp-1200000000 { |
| 142 |
opp-hz = /bits/ 64 <1200000000>; |
| 143 |
opp-microvolt = <780000>; |
| 144 |
}; |
| 145 |
|
| 146 |
opp-1404000000 { |
| 147 |
opp-hz = /bits/ 64 <1404000000>; |
| 148 |
opp-microvolt = <790000>; |
| 149 |
}; |
| 150 |
|
| 151 |
opp-1500000000 { |
| 152 |
opp-hz = /bits/ 64 <1500000000>; |
| 153 |
opp-microvolt = <800000>; |
| 154 |
}; |
| 155 |
|
| 156 |
opp-1608000000 { |
| 157 |
opp-hz = /bits/ 64 <1608000000>; |
| 158 |
opp-microvolt = <810000>; |
| 159 |
}; |
| 160 |
|
| 161 |
opp-1704000000 { |
| 162 |
opp-hz = /bits/ 64 <1704000000>; |
| 163 |
opp-microvolt = <850000>; |
| 164 |
}; |
| 165 |
|
| 166 |
opp-1800000000 { |
| 167 |
opp-hz = /bits/ 64 <1800000000>; |
| 168 |
opp-microvolt = <900000>; |
| 169 |
}; |
| 170 |
|
| 171 |
opp-1908000000 { |
| 172 |
opp-hz = /bits/ 64 <1908000000>; |
| 173 |
opp-microvolt = <950000>; |
| 174 |
}; |
| 175 |
}; |
| 176 |
}; |
| 177 |
|
| 178 |
&apb { |
| 179 |
audio: bus@60000 { |
| 180 |
compatible = "simple-bus"; |
| 181 |
reg = <0x0 0x60000 0x0 0x1000>; |
| 182 |
#address-cells = <2>; |
| 183 |
#size-cells = <2>; |
| 184 |
ranges = <0x0 0x0 0x0 0x60000 0x0 0x1000>; |
| 185 |
|
| 186 |
clkc_audio: clock-controller@0 { |
| 187 |
status = "disabled"; |
| 188 |
compatible = "amlogic,sm1-audio-clkc"; |
| 189 |
reg = <0x0 0x0 0x0 0xb4>; |
| 190 |
#clock-cells = <1>; |
| 191 |
#reset-cells = <1>; |
| 192 |
|
| 193 |
clocks = <&clkc CLKID_AUDIO>, |
| 194 |
<&clkc CLKID_MPLL0>, |
| 195 |
<&clkc CLKID_MPLL1>, |
| 196 |
<&clkc CLKID_MPLL2>, |
| 197 |
<&clkc CLKID_MPLL3>, |
| 198 |
<&clkc CLKID_HIFI_PLL>, |
| 199 |
<&clkc CLKID_FCLK_DIV3>, |
| 200 |
<&clkc CLKID_FCLK_DIV4>, |
| 201 |
<&clkc CLKID_FCLK_DIV5>; |
| 202 |
clock-names = "pclk", |
| 203 |
"mst_in0", |
| 204 |
"mst_in1", |
| 205 |
"mst_in2", |
| 206 |
"mst_in3", |
| 207 |
"mst_in4", |
| 208 |
"mst_in5", |
| 209 |
"mst_in6", |
| 210 |
"mst_in7"; |
| 211 |
|
| 212 |
resets = <&reset RESET_AUDIO>; |
| 213 |
}; |
| 214 |
|
| 215 |
toddr_a: audio-controller@100 { |
| 216 |
compatible = "amlogic,sm1-toddr", |
| 217 |
"amlogic,axg-toddr"; |
| 218 |
reg = <0x0 0x100 0x0 0x2c>; |
| 219 |
#sound-dai-cells = <0>; |
| 220 |
sound-name-prefix = "TODDR_A"; |
| 221 |
interrupts = <GIC_SPI 148 IRQ_TYPE_EDGE_RISING>; |
| 222 |
clocks = <&clkc_audio AUD_CLKID_TODDR_A>; |
| 223 |
resets = <&arb AXG_ARB_TODDR_A>, |
| 224 |
<&clkc_audio AUD_RESET_TODDR_A>; |
| 225 |
reset-names = "arb", "rst"; |
| 226 |
amlogic,fifo-depth = <8192>; |
| 227 |
status = "disabled"; |
| 228 |
}; |
| 229 |
|
| 230 |
toddr_b: audio-controller@140 { |
| 231 |
compatible = "amlogic,sm1-toddr", |
| 232 |
"amlogic,axg-toddr"; |
| 233 |
reg = <0x0 0x140 0x0 0x2c>; |
| 234 |
#sound-dai-cells = <0>; |
| 235 |
sound-name-prefix = "TODDR_B"; |
| 236 |
interrupts = <GIC_SPI 149 IRQ_TYPE_EDGE_RISING>; |
| 237 |
clocks = <&clkc_audio AUD_CLKID_TODDR_B>; |
| 238 |
resets = <&arb AXG_ARB_TODDR_B>, |
| 239 |
<&clkc_audio AUD_RESET_TODDR_B>; |
| 240 |
reset-names = "arb", "rst"; |
| 241 |
amlogic,fifo-depth = <256>; |
| 242 |
status = "disabled"; |
| 243 |
}; |
| 244 |
|
| 245 |
toddr_c: audio-controller@180 { |
| 246 |
compatible = "amlogic,sm1-toddr", |
| 247 |
"amlogic,axg-toddr"; |
| 248 |
reg = <0x0 0x180 0x0 0x2c>; |
| 249 |
#sound-dai-cells = <0>; |
| 250 |
sound-name-prefix = "TODDR_C"; |
| 251 |
interrupts = <GIC_SPI 150 IRQ_TYPE_EDGE_RISING>; |
| 252 |
clocks = <&clkc_audio AUD_CLKID_TODDR_C>; |
| 253 |
resets = <&arb AXG_ARB_TODDR_C>, |
| 254 |
<&clkc_audio AUD_RESET_TODDR_C>; |
| 255 |
reset-names = "arb", "rst"; |
| 256 |
amlogic,fifo-depth = <256>; |
| 257 |
status = "disabled"; |
| 258 |
}; |
| 259 |
|
| 260 |
frddr_a: audio-controller@1c0 { |
| 261 |
compatible = "amlogic,sm1-frddr", |
| 262 |
"amlogic,axg-frddr"; |
| 263 |
reg = <0x0 0x1c0 0x0 0x2c>; |
| 264 |
#sound-dai-cells = <0>; |
| 265 |
sound-name-prefix = "FRDDR_A"; |
| 266 |
interrupts = <GIC_SPI 152 IRQ_TYPE_EDGE_RISING>; |
| 267 |
clocks = <&clkc_audio AUD_CLKID_FRDDR_A>; |
| 268 |
resets = <&arb AXG_ARB_FRDDR_A>, |
| 269 |
<&clkc_audio AUD_RESET_FRDDR_A>; |
| 270 |
reset-names = "arb", "rst"; |
| 271 |
amlogic,fifo-depth = <512>; |
| 272 |
status = "disabled"; |
| 273 |
}; |
| 274 |
|
| 275 |
frddr_b: audio-controller@200 { |
| 276 |
compatible = "amlogic,sm1-frddr", |
| 277 |
"amlogic,axg-frddr"; |
| 278 |
reg = <0x0 0x200 0x0 0x2c>; |
| 279 |
#sound-dai-cells = <0>; |
| 280 |
sound-name-prefix = "FRDDR_B"; |
| 281 |
interrupts = <GIC_SPI 153 IRQ_TYPE_EDGE_RISING>; |
| 282 |
clocks = <&clkc_audio AUD_CLKID_FRDDR_B>; |
| 283 |
resets = <&arb AXG_ARB_FRDDR_B>, |
| 284 |
<&clkc_audio AUD_RESET_FRDDR_B>; |
| 285 |
reset-names = "arb", "rst"; |
| 286 |
amlogic,fifo-depth = <256>; |
| 287 |
status = "disabled"; |
| 288 |
}; |
| 289 |
|
| 290 |
frddr_c: audio-controller@240 { |
| 291 |
compatible = "amlogic,sm1-frddr", |
| 292 |
"amlogic,axg-frddr"; |
| 293 |
reg = <0x0 0x240 0x0 0x2c>; |
| 294 |
#sound-dai-cells = <0>; |
| 295 |
sound-name-prefix = "FRDDR_C"; |
| 296 |
interrupts = <GIC_SPI 154 IRQ_TYPE_EDGE_RISING>; |
| 297 |
clocks = <&clkc_audio AUD_CLKID_FRDDR_C>; |
| 298 |
resets = <&arb AXG_ARB_FRDDR_C>, |
| 299 |
<&clkc_audio AUD_RESET_FRDDR_C>; |
| 300 |
reset-names = "arb", "rst"; |
| 301 |
amlogic,fifo-depth = <256>; |
| 302 |
status = "disabled"; |
| 303 |
}; |
| 304 |
|
| 305 |
arb: reset-controller@280 { |
| 306 |
status = "disabled"; |
| 307 |
compatible = "amlogic,meson-sm1-audio-arb"; |
| 308 |
reg = <0x0 0x280 0x0 0x4>; |
| 309 |
#reset-cells = <1>; |
| 310 |
clocks = <&clkc_audio AUD_CLKID_DDR_ARB>; |
| 311 |
}; |
| 312 |
|
| 313 |
tdmin_a: audio-controller@300 { |
| 314 |
compatible = "amlogic,sm1-tdmin"; |
| 315 |
reg = <0x0 0x300 0x0 0x40>; |
| 316 |
sound-name-prefix = "TDMIN_A"; |
| 317 |
resets = <&clkc_audio AUD_RESET_TDMIN_A>; |
| 318 |
clocks = <&clkc_audio AUD_CLKID_TDMIN_A>, |
| 319 |
<&clkc_audio AUD_CLKID_TDMIN_A_SCLK>, |
| 320 |
<&clkc_audio AUD_CLKID_TDMIN_A_SCLK_SEL>, |
| 321 |
<&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>, |
| 322 |
<&clkc_audio AUD_CLKID_TDMIN_A_LRCLK>; |
| 323 |
clock-names = "pclk", "sclk", "sclk_sel", |
| 324 |
"lrclk", "lrclk_sel"; |
| 325 |
status = "disabled"; |
| 326 |
}; |
| 327 |
|
| 328 |
tdmin_b: audio-controller@340 { |
| 329 |
compatible = "amlogic,sm1-tdmin"; |
| 330 |
reg = <0x0 0x340 0x0 0x40>; |
| 331 |
sound-name-prefix = "TDMIN_B"; |
| 332 |
resets = <&clkc_audio AUD_RESET_TDMIN_B>; |
| 333 |
clocks = <&clkc_audio AUD_CLKID_TDMIN_B>, |
| 334 |
<&clkc_audio AUD_CLKID_TDMIN_B_SCLK>, |
| 335 |
<&clkc_audio AUD_CLKID_TDMIN_B_SCLK_SEL>, |
| 336 |
<&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>, |
| 337 |
<&clkc_audio AUD_CLKID_TDMIN_B_LRCLK>; |
| 338 |
clock-names = "pclk", "sclk", "sclk_sel", |
| 339 |
"lrclk", "lrclk_sel"; |
| 340 |
status = "disabled"; |
| 341 |
}; |
| 342 |
|
| 343 |
tdmin_c: audio-controller@380 { |
| 344 |
compatible = "amlogic,sm1-tdmin"; |
| 345 |
reg = <0x0 0x380 0x0 0x40>; |
| 346 |
sound-name-prefix = "TDMIN_C"; |
| 347 |
resets = <&clkc_audio AUD_RESET_TDMIN_C>; |
| 348 |
clocks = <&clkc_audio AUD_CLKID_TDMIN_C>, |
| 349 |
<&clkc_audio AUD_CLKID_TDMIN_C_SCLK>, |
| 350 |
<&clkc_audio AUD_CLKID_TDMIN_C_SCLK_SEL>, |
| 351 |
<&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>, |
| 352 |
<&clkc_audio AUD_CLKID_TDMIN_C_LRCLK>; |
| 353 |
clock-names = "pclk", "sclk", "sclk_sel", |
| 354 |
"lrclk", "lrclk_sel"; |
| 355 |
status = "disabled"; |
| 356 |
}; |
| 357 |
|
| 358 |
tdmin_lb: audio-controller@3c0 { |
| 359 |
compatible = "amlogic,sm1-tdmin"; |
| 360 |
reg = <0x0 0x3c0 0x0 0x40>; |
| 361 |
sound-name-prefix = "TDMIN_LB"; |
| 362 |
resets = <&clkc_audio AUD_RESET_TDMIN_LB>; |
| 363 |
clocks = <&clkc_audio AUD_CLKID_TDMIN_LB>, |
| 364 |
<&clkc_audio AUD_CLKID_TDMIN_LB_SCLK>, |
| 365 |
<&clkc_audio AUD_CLKID_TDMIN_LB_SCLK_SEL>, |
| 366 |
<&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>, |
| 367 |
<&clkc_audio AUD_CLKID_TDMIN_LB_LRCLK>; |
| 368 |
clock-names = "pclk", "sclk", "sclk_sel", |
| 369 |
"lrclk", "lrclk_sel"; |
| 370 |
status = "disabled"; |
| 371 |
}; |
| 372 |
|
| 373 |
spdifin: audio-controller@400 { |
| 374 |
compatible = "amlogic,sm1-spdifin", |
| 375 |
"amlogic,axg-spdifin"; |
| 376 |
reg = <0x0 0x400 0x0 0x30>; |
| 377 |
#sound-dai-cells = <0>; |
| 378 |
sound-name-prefix = "SPDIFIN"; |
| 379 |
interrupts = <GIC_SPI 151 IRQ_TYPE_EDGE_RISING>; |
| 380 |
clocks = <&clkc_audio AUD_CLKID_SPDIFIN>, |
| 381 |
<&clkc_audio AUD_CLKID_SPDIFIN_CLK>; |
| 382 |
clock-names = "pclk", "refclk"; |
| 383 |
resets = <&clkc_audio AUD_RESET_SPDIFIN>; |
| 384 |
status = "disabled"; |
| 385 |
}; |
| 386 |
|
| 387 |
spdifout_a: audio-controller@480 { |
| 388 |
compatible = "amlogic,sm1-spdifout", |
| 389 |
"amlogic,axg-spdifout"; |
| 390 |
reg = <0x0 0x480 0x0 0x50>; |
| 391 |
#sound-dai-cells = <0>; |
| 392 |
sound-name-prefix = "SPDIFOUT_A"; |
| 393 |
clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>, |
| 394 |
<&clkc_audio AUD_CLKID_SPDIFOUT_CLK>; |
| 395 |
clock-names = "pclk", "mclk"; |
| 396 |
resets = <&clkc_audio AUD_RESET_SPDIFOUT>; |
| 397 |
status = "disabled"; |
| 398 |
}; |
| 399 |
|
| 400 |
tdmout_a: audio-controller@500 { |
| 401 |
compatible = "amlogic,sm1-tdmout"; |
| 402 |
reg = <0x0 0x500 0x0 0x40>; |
| 403 |
sound-name-prefix = "TDMOUT_A"; |
| 404 |
resets = <&clkc_audio AUD_RESET_TDMOUT_A>; |
| 405 |
clocks = <&clkc_audio AUD_CLKID_TDMOUT_A>, |
| 406 |
<&clkc_audio AUD_CLKID_TDMOUT_A_SCLK>, |
| 407 |
<&clkc_audio AUD_CLKID_TDMOUT_A_SCLK_SEL>, |
| 408 |
<&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>, |
| 409 |
<&clkc_audio AUD_CLKID_TDMOUT_A_LRCLK>; |
| 410 |
clock-names = "pclk", "sclk", "sclk_sel", |
| 411 |
"lrclk", "lrclk_sel"; |
| 412 |
status = "disabled"; |
| 413 |
}; |
| 414 |
|
| 415 |
tdmout_b: audio-controller@540 { |
| 416 |
compatible = "amlogic,sm1-tdmout"; |
| 417 |
reg = <0x0 0x540 0x0 0x40>; |
| 418 |
sound-name-prefix = "TDMOUT_B"; |
| 419 |
resets = <&clkc_audio AUD_RESET_TDMOUT_B>; |
| 420 |
clocks = <&clkc_audio AUD_CLKID_TDMOUT_B>, |
| 421 |
<&clkc_audio AUD_CLKID_TDMOUT_B_SCLK>, |
| 422 |
<&clkc_audio AUD_CLKID_TDMOUT_B_SCLK_SEL>, |
| 423 |
<&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>, |
| 424 |
<&clkc_audio AUD_CLKID_TDMOUT_B_LRCLK>; |
| 425 |
clock-names = "pclk", "sclk", "sclk_sel", |
| 426 |
"lrclk", "lrclk_sel"; |
| 427 |
status = "disabled"; |
| 428 |
}; |
| 429 |
|
| 430 |
tdmout_c: audio-controller@580 { |
| 431 |
compatible = "amlogic,sm1-tdmout"; |
| 432 |
reg = <0x0 0x580 0x0 0x40>; |
| 433 |
sound-name-prefix = "TDMOUT_C"; |
| 434 |
resets = <&clkc_audio AUD_RESET_TDMOUT_C>; |
| 435 |
clocks = <&clkc_audio AUD_CLKID_TDMOUT_C>, |
| 436 |
<&clkc_audio AUD_CLKID_TDMOUT_C_SCLK>, |
| 437 |
<&clkc_audio AUD_CLKID_TDMOUT_C_SCLK_SEL>, |
| 438 |
<&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>, |
| 439 |
<&clkc_audio AUD_CLKID_TDMOUT_C_LRCLK>; |
| 440 |
clock-names = "pclk", "sclk", "sclk_sel", |
| 441 |
"lrclk", "lrclk_sel"; |
| 442 |
status = "disabled"; |
| 443 |
}; |
| 444 |
|
| 445 |
toacodec: audio-controller@740 { |
| 446 |
compatible = "amlogic,sm1-toacodec", |
| 447 |
"amlogic,g12a-toacodec"; |
| 448 |
reg = <0x0 0x740 0x0 0x4>; |
| 449 |
#sound-dai-cells = <1>; |
| 450 |
sound-name-prefix = "TOACODEC"; |
| 451 |
resets = <&clkc_audio AUD_RESET_TOACODEC>; |
| 452 |
status = "disabled"; |
| 453 |
}; |
| 454 |
|
| 455 |
tohdmitx: audio-controller@744 { |
| 456 |
compatible = "amlogic,sm1-tohdmitx", |
| 457 |
"amlogic,g12a-tohdmitx"; |
| 458 |
reg = <0x0 0x744 0x0 0x4>; |
| 459 |
#sound-dai-cells = <1>; |
| 460 |
sound-name-prefix = "TOHDMITX"; |
| 461 |
resets = <&clkc_audio AUD_RESET_TOHDMITX>; |
| 462 |
status = "disabled"; |
| 463 |
}; |
| 464 |
|
| 465 |
toddr_d: audio-controller@840 { |
| 466 |
compatible = "amlogic,sm1-toddr", |
| 467 |
"amlogic,axg-toddr"; |
| 468 |
reg = <0x0 0x840 0x0 0x2c>; |
| 469 |
#sound-dai-cells = <0>; |
| 470 |
sound-name-prefix = "TODDR_D"; |
| 471 |
interrupts = <GIC_SPI 49 IRQ_TYPE_EDGE_RISING>; |
| 472 |
clocks = <&clkc_audio AUD_CLKID_TODDR_D>; |
| 473 |
resets = <&arb AXG_ARB_TODDR_D>, |
| 474 |
<&clkc_audio AUD_RESET_TODDR_D>; |
| 475 |
reset-names = "arb", "rst"; |
| 476 |
amlogic,fifo-depth = <256>; |
| 477 |
status = "disabled"; |
| 478 |
}; |
| 479 |
|
| 480 |
frddr_d: audio-controller@880 { |
| 481 |
compatible = "amlogic,sm1-frddr", |
| 482 |
"amlogic,axg-frddr"; |
| 483 |
reg = <0x0 0x880 0x0 0x2c>; |
| 484 |
#sound-dai-cells = <0>; |
| 485 |
sound-name-prefix = "FRDDR_D"; |
| 486 |
interrupts = <GIC_SPI 50 IRQ_TYPE_EDGE_RISING>; |
| 487 |
clocks = <&clkc_audio AUD_CLKID_FRDDR_D>; |
| 488 |
resets = <&arb AXG_ARB_FRDDR_D>, |
| 489 |
<&clkc_audio AUD_RESET_FRDDR_D>; |
| 490 |
reset-names = "arb", "rst"; |
| 491 |
amlogic,fifo-depth = <256>; |
| 492 |
status = "disabled"; |
| 493 |
}; |
| 494 |
}; |
| 495 |
|
| 496 |
pdm: audio-controller@61000 { |
| 497 |
compatible = "amlogic,sm1-pdm", |
| 498 |
"amlogic,axg-pdm"; |
| 499 |
reg = <0x0 0x61000 0x0 0x34>; |
| 500 |
#sound-dai-cells = <0>; |
| 501 |
sound-name-prefix = "PDM"; |
| 502 |
clocks = <&clkc_audio AUD_CLKID_PDM>, |
| 503 |
<&clkc_audio AUD_CLKID_PDM_DCLK>, |
| 504 |
<&clkc_audio AUD_CLKID_PDM_SYSCLK>; |
| 505 |
clock-names = "pclk", "dclk", "sysclk"; |
| 506 |
resets = <&clkc_audio AUD_RESET_PDM>; |
| 507 |
status = "disabled"; |
| 508 |
}; |
| 509 |
}; |
| 510 |
|
| 511 |
&cecb_AO { |
| 512 |
compatible = "amlogic,meson-sm1-ao-cec"; |
| 513 |
}; |
| 514 |
|
| 515 |
&clk_msr { |
| 516 |
compatible = "amlogic,meson-sm1-clk-measure"; |
| 517 |
}; |
| 518 |
|
| 519 |
|
| 520 |
&clkc { |
| 521 |
compatible = "amlogic,sm1-clkc"; |
| 522 |
}; |
| 523 |
|
| 524 |
&cpu_thermal { |
| 525 |
cooling-maps { |
| 526 |
map0 { |
| 527 |
trip = <&cpu_passive>; |
| 528 |
cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 529 |
<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 530 |
<&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 531 |
<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 532 |
}; |
| 533 |
|
| 534 |
map1 { |
| 535 |
trip = <&cpu_hot>; |
| 536 |
cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 537 |
<&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 538 |
<&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, |
| 539 |
<&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 540 |
}; |
| 541 |
}; |
| 542 |
}; |
| 543 |
|
| 544 |
ðmac { |
| 545 |
power-domains = <&pwrc PWRC_SM1_ETH_ID>; |
| 546 |
}; |
| 547 |
|
| 548 |
&gpio_intc { |
| 549 |
compatible = "amlogic,meson-sm1-gpio-intc", |
| 550 |
"amlogic,meson-gpio-intc"; |
| 551 |
}; |
| 552 |
|
| 553 |
&hdmi_tx { |
| 554 |
power-domains = <&pwrc PWRC_SM1_VPU_ID>; |
| 555 |
}; |
| 556 |
|
| 557 |
&pcie { |
| 558 |
power-domains = <&pwrc PWRC_SM1_PCIE_ID>; |
| 559 |
}; |
| 560 |
|
| 561 |
&pmu { |
| 562 |
compatible = "amlogic,sm1-ddr-pmu"; |
| 563 |
}; |
| 564 |
|
| 565 |
&pwrc { |
| 566 |
compatible = "amlogic,meson-sm1-pwrc"; |
| 567 |
}; |
| 568 |
|
| 569 |
&simplefb_cvbs { |
| 570 |
power-domains = <&pwrc PWRC_SM1_VPU_ID>; |
| 571 |
}; |
| 572 |
|
| 573 |
&simplefb_hdmi { |
| 574 |
power-domains = <&pwrc PWRC_SM1_VPU_ID>; |
| 575 |
}; |
| 576 |
|
| 577 |
&vdec { |
| 578 |
compatible = "amlogic,sm1-vdec"; |
| 579 |
}; |
| 580 |
|
| 581 |
&vpu { |
| 582 |
power-domains = <&pwrc PWRC_SM1_VPU_ID>; |
| 583 |
}; |
| 584 |
|
| 585 |
&usb { |
| 586 |
power-domains = <&pwrc PWRC_SM1_USB_ID>; |
| 587 |
}; |
| 588 |
|
| 589 |
&npu { |
| 590 |
power-domains = <&pwrc PWRC_SM1_NNA_ID>; |
| 591 |
}; |