zx296718.dtsi 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628
  1. /*
  2. * Copyright 2016 ZTE Corporation.
  3. * Copyright 2016 Linaro Ltd.
  4. *
  5. * This file is dual-licensed: you can use it either under the terms
  6. * of the GPL or the X11 license, at your option. Note that this dual
  7. * licensing only applies to this file, and not this project as a
  8. * whole.
  9. *
  10. * a) This library is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU General Public License as
  12. * published by the Free Software Foundation; either version 2 of the
  13. * License, or (at your option) any later version.
  14. *
  15. * This library is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. * GNU General Public License for more details.
  19. *
  20. * Or, alternatively,
  21. *
  22. * b) Permission is hereby granted, free of charge, to any person
  23. * obtaining a copy of this software and associated documentation
  24. * files (the "Software"), to deal in the Software without
  25. * restriction, including without limitation the rights to use,
  26. * copy, modify, merge, publish, distribute, sublicense, and/or
  27. * sell copies of the Software, and to permit persons to whom the
  28. * Software is furnished to do so, subject to the following
  29. * conditions:
  30. *
  31. * The above copyright notice and this permission notice shall be
  32. * included in all copies or substantial portions of the Software.
  33. *
  34. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  35. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  36. * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  37. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  38. * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  39. * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  40. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  41. * OTHER DEALINGS IN THE SOFTWARE.
  42. */
  43. #include <dt-bindings/input/input.h>
  44. #include <dt-bindings/interrupt-controller/arm-gic.h>
  45. #include <dt-bindings/gpio/gpio.h>
  46. #include <dt-bindings/clock/zx296718-clock.h>
  47. / {
  48. compatible = "zte,zx296718";
  49. #address-cells = <1>;
  50. #size-cells = <1>;
  51. interrupt-parent = <&gic>;
  52. aliases {
  53. gpio0 = &bgpio0;
  54. gpio1 = &bgpio1;
  55. gpio2 = &bgpio2;
  56. gpio3 = &bgpio3;
  57. gpio4 = &bgpio4;
  58. gpio5 = &bgpio5;
  59. gpio6 = &bgpio6;
  60. serial0 = &uart0;
  61. };
  62. cpus {
  63. #address-cells = <2>;
  64. #size-cells = <0>;
  65. cpu-map {
  66. cluster0 {
  67. core0 {
  68. cpu = <&cpu0>;
  69. };
  70. core1 {
  71. cpu = <&cpu1>;
  72. };
  73. core2 {
  74. cpu = <&cpu2>;
  75. };
  76. core3 {
  77. cpu = <&cpu3>;
  78. };
  79. };
  80. };
  81. cpu0: cpu@0 {
  82. device_type = "cpu";
  83. compatible = "arm,cortex-a53","arm,armv8";
  84. reg = <0x0 0x0>;
  85. enable-method = "psci";
  86. clocks = <&topcrm A53_GATE>;
  87. operating-points-v2 = <&cluster0_opp>;
  88. };
  89. cpu1: cpu@1 {
  90. device_type = "cpu";
  91. compatible = "arm,cortex-a53","arm,armv8";
  92. reg = <0x0 0x1>;
  93. enable-method = "psci";
  94. clocks = <&topcrm A53_GATE>;
  95. operating-points-v2 = <&cluster0_opp>;
  96. };
  97. cpu2: cpu@2 {
  98. device_type = "cpu";
  99. compatible = "arm,cortex-a53","arm,armv8";
  100. reg = <0x0 0x2>;
  101. enable-method = "psci";
  102. clocks = <&topcrm A53_GATE>;
  103. operating-points-v2 = <&cluster0_opp>;
  104. };
  105. cpu3: cpu@3 {
  106. device_type = "cpu";
  107. compatible = "arm,cortex-a53","arm,armv8";
  108. reg = <0x0 0x3>;
  109. enable-method = "psci";
  110. clocks = <&topcrm A53_GATE>;
  111. operating-points-v2 = <&cluster0_opp>;
  112. };
  113. };
  114. cluster0_opp: opp-table0 {
  115. compatible = "operating-points-v2";
  116. opp-shared;
  117. opp-500000000 {
  118. opp-hz = /bits/ 64 <500000000>;
  119. opp-microvolt = <866000>;
  120. clock-latency-ns = <500000>;
  121. };
  122. opp-648000000 {
  123. opp-hz = /bits/ 64 <648000000>;
  124. opp-microvolt = <866000>;
  125. clock-latency-ns = <500000>;
  126. };
  127. opp-800000000 {
  128. opp-hz = /bits/ 64 <800000000>;
  129. opp-microvolt = <888000>;
  130. clock-latency-ns = <500000>;
  131. };
  132. opp-1000000000 {
  133. opp-hz = /bits/ 64 <1000000000>;
  134. opp-microvolt = <898000>;
  135. clock-latency-ns = <500000>;
  136. };
  137. opp-1188000000 {
  138. opp-hz = /bits/ 64 <1188000000>;
  139. opp-microvolt = <1015000>;
  140. clock-latency-ns = <500000>;
  141. };
  142. };
  143. clk24k: clk-24k {
  144. compatible = "fixed-clock";
  145. #clock-cells = <0>;
  146. clock-frequency = <24000>;
  147. clock-output-names = "rtcclk";
  148. };
  149. osc32k: clk-osc32k {
  150. compatible = "fixed-clock";
  151. #clock-cells = <0>;
  152. clock-frequency = <32000>;
  153. clock-output-names = "osc32k";
  154. };
  155. osc12m: clk-osc12m {
  156. compatible = "fixed-clock";
  157. #clock-cells = <0>;
  158. clock-frequency = <12000000>;
  159. clock-output-names = "osc12m";
  160. };
  161. osc24m: clk-osc24m {
  162. compatible = "fixed-clock";
  163. #clock-cells = <0>;
  164. clock-frequency = <24000000>;
  165. clock-output-names = "osc24m";
  166. };
  167. osc25m: clk-osc25m {
  168. compatible = "fixed-clock";
  169. #clock-cells = <0>;
  170. clock-frequency = <25000000>;
  171. clock-output-names = "osc25m";
  172. };
  173. osc60m: clk-osc60m {
  174. compatible = "fixed-clock";
  175. #clock-cells = <0>;
  176. clock-frequency = <60000000>;
  177. clock-output-names = "osc60m";
  178. };
  179. osc99m: clk-osc99m {
  180. compatible = "fixed-clock";
  181. #clock-cells = <0>;
  182. clock-frequency = <99000000>;
  183. clock-output-names = "osc99m";
  184. };
  185. osc125m: clk-osc125m {
  186. compatible = "fixed-clock";
  187. #clock-cells = <0>;
  188. clock-frequency = <125000000>;
  189. clock-output-names = "osc125m";
  190. };
  191. osc198m: clk-osc198m {
  192. compatible = "fixed-clock";
  193. #clock-cells = <0>;
  194. clock-frequency = <198000000>;
  195. clock-output-names = "osc198m";
  196. };
  197. pll_audio: clk-pll-884m {
  198. compatible = "fixed-clock";
  199. #clock-cells = <0>;
  200. clock-frequency = <884000000>;
  201. clock-output-names = "pll_audio";
  202. };
  203. pll_ddr: clk-pll-932m {
  204. compatible = "fixed-clock";
  205. #clock-cells = <0>;
  206. clock-frequency = <932000000>;
  207. clock-output-names = "pll_ddr";
  208. };
  209. pll_hsic: clk-pll-960m {
  210. compatible = "fixed-clock";
  211. #clock-cells = <0>;
  212. clock-frequency = <960000000>;
  213. clock-output-names = "pll_hsic";
  214. };
  215. pll_mac: clk-pll-1000m {
  216. compatible = "fixed-clock";
  217. #clock-cells = <0>;
  218. clock-frequency = <1000000000>;
  219. clock-output-names = "pll_mac";
  220. };
  221. pll_mm0: clk-pll-1188m {
  222. compatible = "fixed-clock";
  223. #clock-cells = <0>;
  224. clock-frequency = <1188000000>;
  225. clock-output-names = "pll_mm0";
  226. };
  227. pll_mm1: clk-pll-1296m {
  228. compatible = "fixed-clock";
  229. #clock-cells = <0>;
  230. clock-frequency = <1296000000>;
  231. clock-output-names = "pll_mm1";
  232. };
  233. psci {
  234. compatible = "arm,psci-1.0";
  235. method = "smc";
  236. };
  237. timer {
  238. compatible = "arm,armv8-timer";
  239. interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
  240. <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
  241. <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
  242. <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
  243. };
  244. pmu {
  245. compatible = "arm,cortex-a53-pmu";
  246. interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
  247. };
  248. gic: interrupt-controller@2a00000 {
  249. compatible = "arm,gic-v3";
  250. #interrupt-cells = <3>;
  251. #address-cells = <0>;
  252. interrupt-controller;
  253. reg = <0x02a00000 0x10000>,
  254. <0x02b00000 0xc0000>;
  255. interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
  256. };
  257. soc {
  258. #address-cells = <1>;
  259. #size-cells = <1>;
  260. compatible = "simple-bus";
  261. ranges;
  262. irdec: ir-decoder@111000 {
  263. compatible = "zte,zx296718-irdec";
  264. reg = <0x111000 0x1000>;
  265. interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
  266. status = "disabled";
  267. };
  268. aon_sysctrl: aon-sysctrl@116000 {
  269. compatible = "zte,zx296718-aon-sysctrl", "syscon";
  270. reg = <0x116000 0x1000>;
  271. };
  272. iocfg: pin-controller@119000 {
  273. compatible = "zte,zx296718-iocfg";
  274. reg = <0x119000 0x1000>;
  275. };
  276. uart0: uart@11f000 {
  277. compatible = "arm,pl011", "arm,primecell";
  278. arm,primecell-periphid = <0x001feffe>;
  279. reg = <0x11f000 0x1000>;
  280. interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
  281. clocks = <&osc24m>;
  282. clock-names = "apb_pclk";
  283. status = "disabled";
  284. };
  285. sd0: mmc@1110000 {
  286. compatible = "zte,zx296718-dw-mshc";
  287. #address-cells = <1>;
  288. #size-cells = <0>;
  289. reg = <0x01110000 0x1000>;
  290. interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
  291. fifo-depth = <32>;
  292. data-addr = <0x200>;
  293. fifo-watermark-aligned;
  294. bus-width = <4>;
  295. clock-frequency = <50000000>;
  296. clocks = <&topcrm SD0_AHB>, <&topcrm SD0_WCLK>;
  297. clock-names = "biu", "ciu";
  298. max-frequency = <50000000>;
  299. cap-sdio-irq;
  300. cap-sd-highspeed;
  301. sd-uhs-sdr12;
  302. sd-uhs-sdr25;
  303. sd-uhs-sdr50;
  304. sd-uhs-sdr104;
  305. sd-uhs-ddr50;
  306. status = "disabled";
  307. };
  308. sd1: mmc@1111000 {
  309. compatible = "zte,zx296718-dw-mshc";
  310. #address-cells = <1>;
  311. #size-cells = <0>;
  312. reg = <0x01111000 0x1000>;
  313. interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
  314. fifo-depth = <32>;
  315. data-addr = <0x200>;
  316. fifo-watermark-aligned;
  317. bus-width = <4>;
  318. clock-frequency = <167000000>;
  319. clocks = <&topcrm SD1_AHB>, <&topcrm SD1_WCLK>;
  320. clock-names = "biu", "ciu";
  321. max-frequency = <167000000>;
  322. cap-sdio-irq;
  323. cap-sd-highspeed;
  324. status = "disabled";
  325. };
  326. dma: dma-controller@1460000 {
  327. compatible = "zte,zx296702-dma";
  328. reg = <0x01460000 0x1000>;
  329. interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
  330. clocks = <&osc24m>;
  331. clock-names = "dmaclk";
  332. #dma-cells = <1>;
  333. dma-channels = <32>;
  334. dma-requests = <32>;
  335. };
  336. lsp0crm: clock-controller@1420000 {
  337. compatible = "zte,zx296718-lsp0crm";
  338. reg = <0x01420000 0x1000>;
  339. #clock-cells = <1>;
  340. };
  341. bgpio0: gpio@142d000 {
  342. compatible = "zte,zx296718-gpio", "zte,zx296702-gpio";
  343. reg = <0x142d000 0x40>;
  344. gpio-controller;
  345. #gpio-cells = <2>;
  346. gpio-ranges = <&pmm 0 48 16>;
  347. interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
  348. interrupt-parent = <&gic>;
  349. interrupt-controller;
  350. #interrupt-cells = <2>;
  351. };
  352. bgpio1: gpio@142d040 {
  353. compatible = "zte,zx296718-gpio", "zte,zx296702-gpio";
  354. reg = <0x142d040 0x40>;
  355. gpio-controller;
  356. #gpio-cells = <2>;
  357. gpio-ranges = <&pmm 0 80 16>;
  358. interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
  359. interrupt-parent = <&gic>;
  360. interrupt-controller;
  361. #interrupt-cells = <2>;
  362. };
  363. bgpio2: gpio@142d080 {
  364. compatible = "zte,zx296718-gpio", "zte,zx296702-gpio";
  365. reg = <0x142d080 0x40>;
  366. gpio-controller;
  367. #gpio-cells = <2>;
  368. gpio-ranges = <&pmm 0 80 3
  369. &pmm 3 32 4
  370. &pmm 7 83 9>;
  371. interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
  372. interrupt-parent = <&gic>;
  373. interrupt-controller;
  374. #interrupt-cells = <2>;
  375. };
  376. bgpio3: gpio@142d0c0 {
  377. compatible = "zte,zx296718-gpio", "zte,zx296702-gpio";
  378. reg = <0x142d0c0 0x40>;
  379. gpio-controller;
  380. #gpio-cells = <2>;
  381. gpio-ranges = <&pmm 0 92 16>;
  382. interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
  383. interrupt-parent = <&gic>;
  384. interrupt-controller;
  385. #interrupt-cells = <2>;
  386. };
  387. bgpio4: gpio@142d100 {
  388. compatible = "zte,zx296718-gpio", "zte,zx296702-gpio";
  389. reg = <0x142d100 0x40>;
  390. gpio-controller;
  391. #gpio-cells = <2>;
  392. gpio-ranges = <&pmm 0 108 12
  393. &pmm 12 121 4>;
  394. interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
  395. interrupt-parent = <&gic>;
  396. interrupt-controller;
  397. #interrupt-cells = <2>;
  398. };
  399. bgpio5: gpio@142d140 {
  400. compatible = "zte,zx296718-gpio", "zte,zx296702-gpio";
  401. reg = <0x142d140 0x40>;
  402. gpio-controller;
  403. #gpio-cells = <2>;
  404. gpio-ranges = <&pmm 0 125 16>;
  405. interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
  406. interrupt-parent = <&gic>;
  407. interrupt-controller;
  408. #interrupt-cells = <2>;
  409. };
  410. bgpio6: gpio@142d180 {
  411. compatible = "zte,zx296718-gpio", "zte,zx296702-gpio";
  412. reg = <0x142d180 0x40>;
  413. gpio-controller;
  414. #gpio-cells = <2>;
  415. gpio-ranges = <&pmm 0 141 2>;
  416. interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
  417. interrupt-parent = <&gic>;
  418. interrupt-controller;
  419. #interrupt-cells = <2>;
  420. };
  421. lsp1crm: clock-controller@1430000 {
  422. compatible = "zte,zx296718-lsp1crm";
  423. reg = <0x01430000 0x1000>;
  424. #clock-cells = <1>;
  425. };
  426. pwm: pwm@1439000 {
  427. compatible = "zte,zx296718-pwm";
  428. reg = <0x1439000 0x1000>;
  429. clocks = <&lsp1crm LSP1_PWM_PCLK>,
  430. <&lsp1crm LSP1_PWM_WCLK>;
  431. clock-names = "pclk", "wclk";
  432. #pwm-cells = <3>;
  433. status = "disabled";
  434. };
  435. vou: vou@1440000 {
  436. compatible = "zte,zx296718-vou";
  437. #address-cells = <1>;
  438. #size-cells = <1>;
  439. ranges = <0 0x1440000 0x10000>;
  440. dpc: dpc@0 {
  441. compatible = "zte,zx296718-dpc";
  442. reg = <0x0000 0x1000>, <0x1000 0x1000>,
  443. <0x5000 0x1000>, <0x6000 0x1000>,
  444. <0xa000 0x1000>;
  445. reg-names = "osd", "timing_ctrl",
  446. "dtrc", "vou_ctrl",
  447. "otfppu";
  448. interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
  449. clocks = <&topcrm VOU_ACLK>, <&topcrm VOU_PPU_WCLK>,
  450. <&topcrm VOU_MAIN_WCLK>, <&topcrm VOU_AUX_WCLK>;
  451. clock-names = "aclk", "ppu_wclk",
  452. "main_wclk", "aux_wclk";
  453. };
  454. vga: vga@8000 {
  455. compatible = "zte,zx296718-vga";
  456. reg = <0x8000 0x1000>;
  457. interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
  458. clocks = <&topcrm VGA_I2C_WCLK>;
  459. clock-names = "i2c_wclk";
  460. zte,vga-power-control = <&sysctrl 0x170 0xe0>;
  461. status = "disabled";
  462. };
  463. hdmi: hdmi@c000 {
  464. compatible = "zte,zx296718-hdmi";
  465. reg = <0xc000 0x4000>;
  466. interrupts = <GIC_SPI 82 IRQ_TYPE_EDGE_RISING>;
  467. clocks = <&topcrm HDMI_OSC_CEC>,
  468. <&topcrm HDMI_OSC_CLK>,
  469. <&topcrm HDMI_XCLK>;
  470. clock-names = "osc_cec", "osc_clk", "xclk";
  471. #sound-dai-cells = <0>;
  472. status = "disabled";
  473. };
  474. tvenc: tvenc@2000 {
  475. compatible = "zte,zx296718-tvenc";
  476. reg = <0x2000 0x1000>;
  477. zte,tvenc-power-control = <&sysctrl 0x170 0x10>;
  478. status = "disabled";
  479. };
  480. };
  481. topcrm: clock-controller@1461000 {
  482. compatible = "zte,zx296718-topcrm";
  483. reg = <0x01461000 0x1000>;
  484. #clock-cells = <1>;
  485. };
  486. pmm: pin-controller@1462000 {
  487. compatible = "zte,zx296718-pmm";
  488. reg = <0x1462000 0x1000>;
  489. zte,auxiliary-controller = <&iocfg>;
  490. };
  491. sysctrl: sysctrl@1463000 {
  492. compatible = "zte,zx296718-sysctrl", "syscon";
  493. reg = <0x1463000 0x1000>;
  494. };
  495. emmc: mmc@1470000{
  496. compatible = "zte,zx296718-dw-mshc";
  497. reg = <0x01470000 0x1000>;
  498. interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
  499. zte,aon-syscon = <&aon_sysctrl>;
  500. bus-width = <8>;
  501. fifo-depth = <128>;
  502. data-addr = <0x200>;
  503. fifo-watermark-aligned;
  504. clock-frequency = <167000000>;
  505. clocks = <&topcrm EMMC_NAND_AHB>, <&topcrm EMMC_WCLK>;
  506. clock-names = "biu", "ciu";
  507. max-frequency = <167000000>;
  508. cap-mmc-highspeed;
  509. mmc-ddr-1_8v;
  510. mmc-hs200-1_8v;
  511. non-removable;
  512. disable-wp;
  513. status = "disabled";
  514. };
  515. audiocrm: clock-controller@1480000 {
  516. compatible = "zte,zx296718-audiocrm";
  517. reg = <0x01480000 0x1000>;
  518. #clock-cells = <1>;
  519. };
  520. i2s0: i2s@1482000 {
  521. compatible = "zte,zx296718-i2s", "zte,zx296702-i2s";
  522. reg = <0x01482000 0x1000>;
  523. clocks = <&audiocrm AUDIO_I2S0_WCLK>,
  524. <&audiocrm AUDIO_I2S0_PCLK>;
  525. clock-names = "wclk", "pclk";
  526. assigned-clocks = <&audiocrm I2S0_WCLK_MUX>;
  527. assigned-clock-parents = <&topcrm AUDIO_99M>;
  528. interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
  529. dmas = <&dma 22>, <&dma 23>;
  530. dma-names = "tx", "rx";
  531. #sound-dai-cells = <0>;
  532. status = "disabled";
  533. };
  534. i2c0: i2c@1486000 {
  535. compatible = "zte,zx296718-i2c";
  536. reg = <0x01486000 0x1000>;
  537. interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
  538. #address-cells = <1>;
  539. #size-cells = <0>;
  540. clocks = <&audiocrm AUDIO_I2C0_WCLK>;
  541. clock-frequency = <1600000>;
  542. status = "disabled";
  543. aud96p22: codec@22 {
  544. compatible = "zte,zx-aud96p22";
  545. #sound-dai-cells = <0>;
  546. reg = <0x22>;
  547. };
  548. };
  549. spdif0: spdif@1488000 {
  550. compatible = "zte,zx296702-spdif";
  551. reg = <0x1488000 0x1000>;
  552. clocks = <&audiocrm AUDIO_SPDIF0_WCLK>;
  553. clock-names = "tx";
  554. interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
  555. #sound-dai-cells = <0>;
  556. dmas = <&dma 30>;
  557. dma-names = "tx";
  558. status = "disabled";
  559. };
  560. };
  561. };