mt2712e.dtsi 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136
  1. /*
  2. * Copyright (c) 2017 MediaTek Inc.
  3. * Author: YT Shen <[email protected]>
  4. *
  5. * SPDX-License-Identifier: (GPL-2.0 OR MIT)
  6. */
  7. #include <dt-bindings/clock/mt2712-clk.h>
  8. #include <dt-bindings/interrupt-controller/irq.h>
  9. #include <dt-bindings/interrupt-controller/arm-gic.h>
  10. #include <dt-bindings/memory/mt2712-larb-port.h>
  11. #include <dt-bindings/phy/phy.h>
  12. #include <dt-bindings/power/mt2712-power.h>
  13. #include "mt2712-pinfunc.h"
  14. / {
  15. compatible = "mediatek,mt2712";
  16. interrupt-parent = <&sysirq>;
  17. #address-cells = <2>;
  18. #size-cells = <2>;
  19. cluster0_opp: opp-table-0 {
  20. compatible = "operating-points-v2";
  21. opp-shared;
  22. opp00 {
  23. opp-hz = /bits/ 64 <598000000>;
  24. opp-microvolt = <1000000>;
  25. };
  26. opp01 {
  27. opp-hz = /bits/ 64 <702000000>;
  28. opp-microvolt = <1000000>;
  29. };
  30. opp02 {
  31. opp-hz = /bits/ 64 <793000000>;
  32. opp-microvolt = <1000000>;
  33. };
  34. };
  35. cluster1_opp: opp-table-1 {
  36. compatible = "operating-points-v2";
  37. opp-shared;
  38. opp00 {
  39. opp-hz = /bits/ 64 <598000000>;
  40. opp-microvolt = <1000000>;
  41. };
  42. opp01 {
  43. opp-hz = /bits/ 64 <702000000>;
  44. opp-microvolt = <1000000>;
  45. };
  46. opp02 {
  47. opp-hz = /bits/ 64 <793000000>;
  48. opp-microvolt = <1000000>;
  49. };
  50. opp03 {
  51. opp-hz = /bits/ 64 <897000000>;
  52. opp-microvolt = <1000000>;
  53. };
  54. opp04 {
  55. opp-hz = /bits/ 64 <1001000000>;
  56. opp-microvolt = <1000000>;
  57. };
  58. };
  59. cpus {
  60. #address-cells = <1>;
  61. #size-cells = <0>;
  62. cpu-map {
  63. cluster0 {
  64. core0 {
  65. cpu = <&cpu0>;
  66. };
  67. core1 {
  68. cpu = <&cpu1>;
  69. };
  70. };
  71. cluster1 {
  72. core0 {
  73. cpu = <&cpu2>;
  74. };
  75. };
  76. };
  77. cpu0: cpu@0 {
  78. device_type = "cpu";
  79. compatible = "arm,cortex-a35";
  80. reg = <0x000>;
  81. clocks = <&mcucfg CLK_MCU_MP0_SEL>,
  82. <&topckgen CLK_TOP_F_MP0_PLL1>;
  83. clock-names = "cpu", "intermediate";
  84. proc-supply = <&cpus_fixed_vproc0>;
  85. operating-points-v2 = <&cluster0_opp>;
  86. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  87. };
  88. cpu1: cpu@1 {
  89. device_type = "cpu";
  90. compatible = "arm,cortex-a35";
  91. reg = <0x001>;
  92. enable-method = "psci";
  93. clocks = <&mcucfg CLK_MCU_MP0_SEL>,
  94. <&topckgen CLK_TOP_F_MP0_PLL1>;
  95. clock-names = "cpu", "intermediate";
  96. proc-supply = <&cpus_fixed_vproc0>;
  97. operating-points-v2 = <&cluster0_opp>;
  98. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  99. };
  100. cpu2: cpu@200 {
  101. device_type = "cpu";
  102. compatible = "arm,cortex-a72";
  103. reg = <0x200>;
  104. enable-method = "psci";
  105. clocks = <&mcucfg CLK_MCU_MP2_SEL>,
  106. <&topckgen CLK_TOP_F_BIG_PLL1>;
  107. clock-names = "cpu", "intermediate";
  108. proc-supply = <&cpus_fixed_vproc1>;
  109. operating-points-v2 = <&cluster1_opp>;
  110. cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0>;
  111. };
  112. idle-states {
  113. entry-method = "psci";
  114. CPU_SLEEP_0: cpu-sleep-0 {
  115. compatible = "arm,idle-state";
  116. local-timer-stop;
  117. entry-latency-us = <100>;
  118. exit-latency-us = <80>;
  119. min-residency-us = <2000>;
  120. arm,psci-suspend-param = <0x0010000>;
  121. };
  122. CLUSTER_SLEEP_0: cluster-sleep-0 {
  123. compatible = "arm,idle-state";
  124. local-timer-stop;
  125. entry-latency-us = <350>;
  126. exit-latency-us = <80>;
  127. min-residency-us = <3000>;
  128. arm,psci-suspend-param = <0x1010000>;
  129. };
  130. };
  131. };
  132. psci {
  133. compatible = "arm,psci-0.2";
  134. method = "smc";
  135. };
  136. baud_clk: dummy26m {
  137. compatible = "fixed-clock";
  138. clock-frequency = <26000000>;
  139. #clock-cells = <0>;
  140. };
  141. sys_clk: dummyclk {
  142. compatible = "fixed-clock";
  143. clock-frequency = <26000000>;
  144. #clock-cells = <0>;
  145. };
  146. clk26m: oscillator-26m {
  147. compatible = "fixed-clock";
  148. #clock-cells = <0>;
  149. clock-frequency = <26000000>;
  150. clock-output-names = "clk26m";
  151. };
  152. clk32k: oscillator-32k {
  153. compatible = "fixed-clock";
  154. #clock-cells = <0>;
  155. clock-frequency = <32768>;
  156. clock-output-names = "clk32k";
  157. };
  158. clkfpc: oscillator-50m {
  159. compatible = "fixed-clock";
  160. #clock-cells = <0>;
  161. clock-frequency = <50000000>;
  162. clock-output-names = "clkfpc";
  163. };
  164. clkaud_ext_i_0: oscillator-aud0 {
  165. compatible = "fixed-clock";
  166. #clock-cells = <0>;
  167. clock-frequency = <6500000>;
  168. clock-output-names = "clkaud_ext_i_0";
  169. };
  170. clkaud_ext_i_1: oscillator-aud1 {
  171. compatible = "fixed-clock";
  172. #clock-cells = <0>;
  173. clock-frequency = <196608000>;
  174. clock-output-names = "clkaud_ext_i_1";
  175. };
  176. clkaud_ext_i_2: oscillator-aud2 {
  177. compatible = "fixed-clock";
  178. #clock-cells = <0>;
  179. clock-frequency = <180633600>;
  180. clock-output-names = "clkaud_ext_i_2";
  181. };
  182. clki2si0_mck_i: oscillator-i2s0 {
  183. compatible = "fixed-clock";
  184. #clock-cells = <0>;
  185. clock-frequency = <30000000>;
  186. clock-output-names = "clki2si0_mck_i";
  187. };
  188. clki2si1_mck_i: oscillator-i2s1 {
  189. compatible = "fixed-clock";
  190. #clock-cells = <0>;
  191. clock-frequency = <30000000>;
  192. clock-output-names = "clki2si1_mck_i";
  193. };
  194. clki2si2_mck_i: oscillator-i2s2 {
  195. compatible = "fixed-clock";
  196. #clock-cells = <0>;
  197. clock-frequency = <30000000>;
  198. clock-output-names = "clki2si2_mck_i";
  199. };
  200. clktdmin_mclk_i: oscillator-mclk {
  201. compatible = "fixed-clock";
  202. #clock-cells = <0>;
  203. clock-frequency = <30000000>;
  204. clock-output-names = "clktdmin_mclk_i";
  205. };
  206. timer {
  207. compatible = "arm,armv8-timer";
  208. interrupt-parent = <&gic>;
  209. interrupts = <GIC_PPI 13
  210. (GIC_CPU_MASK_RAW(0x13) | IRQ_TYPE_LEVEL_LOW)>,
  211. <GIC_PPI 14
  212. (GIC_CPU_MASK_RAW(0x13) | IRQ_TYPE_LEVEL_LOW)>,
  213. <GIC_PPI 11
  214. (GIC_CPU_MASK_RAW(0x13) | IRQ_TYPE_LEVEL_LOW)>,
  215. <GIC_PPI 10
  216. (GIC_CPU_MASK_RAW(0x13) | IRQ_TYPE_LEVEL_LOW)>;
  217. };
  218. topckgen: syscon@10000000 {
  219. compatible = "mediatek,mt2712-topckgen", "syscon";
  220. reg = <0 0x10000000 0 0x1000>;
  221. #clock-cells = <1>;
  222. };
  223. infracfg: syscon@10001000 {
  224. compatible = "mediatek,mt2712-infracfg", "syscon";
  225. reg = <0 0x10001000 0 0x1000>;
  226. #clock-cells = <1>;
  227. };
  228. pericfg: syscon@10003000 {
  229. compatible = "mediatek,mt2712-pericfg", "syscon";
  230. reg = <0 0x10003000 0 0x1000>;
  231. #clock-cells = <1>;
  232. };
  233. syscfg_pctl_a: syscfg_pctl_a@10005000 {
  234. compatible = "mediatek,mt2712-pctl-a-syscfg", "syscon";
  235. reg = <0 0x10005000 0 0x1000>;
  236. };
  237. pio: pinctrl@1000b000 {
  238. compatible = "mediatek,mt2712-pinctrl";
  239. reg = <0 0x1000b000 0 0x1000>;
  240. mediatek,pctl-regmap = <&syscfg_pctl_a>;
  241. pins-are-numbered;
  242. gpio-controller;
  243. #gpio-cells = <2>;
  244. interrupt-controller;
  245. #interrupt-cells = <2>;
  246. interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
  247. };
  248. scpsys: power-controller@10006000 {
  249. compatible = "mediatek,mt2712-scpsys", "syscon";
  250. #power-domain-cells = <1>;
  251. reg = <0 0x10006000 0 0x1000>;
  252. clocks = <&topckgen CLK_TOP_MM_SEL>,
  253. <&topckgen CLK_TOP_MFG_SEL>,
  254. <&topckgen CLK_TOP_VENC_SEL>,
  255. <&topckgen CLK_TOP_JPGDEC_SEL>,
  256. <&topckgen CLK_TOP_A1SYS_HP_SEL>,
  257. <&topckgen CLK_TOP_VDEC_SEL>;
  258. clock-names = "mm", "mfg", "venc",
  259. "jpgdec", "audio", "vdec";
  260. infracfg = <&infracfg>;
  261. };
  262. uart5: serial@1000f000 {
  263. compatible = "mediatek,mt2712-uart",
  264. "mediatek,mt6577-uart";
  265. reg = <0 0x1000f000 0 0x400>;
  266. interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_LOW>;
  267. clocks = <&baud_clk>, <&sys_clk>;
  268. clock-names = "baud", "bus";
  269. dmas = <&apdma 10
  270. &apdma 11>;
  271. dma-names = "tx", "rx";
  272. status = "disabled";
  273. };
  274. rtc: rtc@10011000 {
  275. compatible = "mediatek,mt2712-rtc";
  276. reg = <0 0x10011000 0 0x1000>;
  277. interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_LOW>;
  278. };
  279. spis1: spi@10013000 {
  280. compatible = "mediatek,mt2712-spi-slave";
  281. reg = <0 0x10013000 0 0x100>;
  282. interrupts = <GIC_SPI 283 IRQ_TYPE_LEVEL_LOW>;
  283. clocks = <&infracfg CLK_INFRA_AO_SPI1>;
  284. clock-names = "spi";
  285. assigned-clocks = <&topckgen CLK_TOP_SPISLV_SEL>;
  286. assigned-clock-parents = <&topckgen CLK_TOP_UNIVPLL1_D2>;
  287. status = "disabled";
  288. };
  289. iommu0: iommu@10205000 {
  290. compatible = "mediatek,mt2712-m4u";
  291. reg = <0 0x10205000 0 0x1000>;
  292. interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_LOW>;
  293. clocks = <&infracfg CLK_INFRA_M4U>;
  294. clock-names = "bclk";
  295. mediatek,infracfg = <&infracfg>;
  296. mediatek,larbs = <&larb0>, <&larb1>, <&larb2>,
  297. <&larb3>, <&larb6>;
  298. #iommu-cells = <1>;
  299. };
  300. apmixedsys: syscon@10209000 {
  301. compatible = "mediatek,mt2712-apmixedsys", "syscon";
  302. reg = <0 0x10209000 0 0x1000>;
  303. #clock-cells = <1>;
  304. };
  305. iommu1: iommu@1020a000 {
  306. compatible = "mediatek,mt2712-m4u";
  307. reg = <0 0x1020a000 0 0x1000>;
  308. interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_LOW>;
  309. clocks = <&infracfg CLK_INFRA_M4U>;
  310. clock-names = "bclk";
  311. mediatek,infracfg = <&infracfg>;
  312. mediatek,larbs = <&larb4>, <&larb5>, <&larb7>;
  313. #iommu-cells = <1>;
  314. };
  315. mcucfg: syscon@10220000 {
  316. compatible = "mediatek,mt2712-mcucfg", "syscon";
  317. reg = <0 0x10220000 0 0x1000>;
  318. #clock-cells = <1>;
  319. };
  320. sysirq: interrupt-controller@10220a80 {
  321. compatible = "mediatek,mt2712-sysirq",
  322. "mediatek,mt6577-sysirq";
  323. interrupt-controller;
  324. #interrupt-cells = <3>;
  325. interrupt-parent = <&gic>;
  326. reg = <0 0x10220a80 0 0x40>;
  327. };
  328. gic: interrupt-controller@10510000 {
  329. compatible = "arm,gic-400";
  330. #interrupt-cells = <3>;
  331. interrupt-parent = <&gic>;
  332. interrupt-controller;
  333. reg = <0 0x10510000 0 0x10000>,
  334. <0 0x10520000 0 0x20000>,
  335. <0 0x10540000 0 0x20000>,
  336. <0 0x10560000 0 0x20000>;
  337. interrupts = <GIC_PPI 9
  338. (GIC_CPU_MASK_RAW(0x13) | IRQ_TYPE_LEVEL_HIGH)>;
  339. };
  340. apdma: dma-controller@11000400 {
  341. compatible = "mediatek,mt2712-uart-dma",
  342. "mediatek,mt6577-uart-dma";
  343. reg = <0 0x11000400 0 0x80>,
  344. <0 0x11000480 0 0x80>,
  345. <0 0x11000500 0 0x80>,
  346. <0 0x11000580 0 0x80>,
  347. <0 0x11000600 0 0x80>,
  348. <0 0x11000680 0 0x80>,
  349. <0 0x11000700 0 0x80>,
  350. <0 0x11000780 0 0x80>,
  351. <0 0x11000800 0 0x80>,
  352. <0 0x11000880 0 0x80>,
  353. <0 0x11000900 0 0x80>,
  354. <0 0x11000980 0 0x80>;
  355. interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_LOW>,
  356. <GIC_SPI 104 IRQ_TYPE_LEVEL_LOW>,
  357. <GIC_SPI 105 IRQ_TYPE_LEVEL_LOW>,
  358. <GIC_SPI 106 IRQ_TYPE_LEVEL_LOW>,
  359. <GIC_SPI 107 IRQ_TYPE_LEVEL_LOW>,
  360. <GIC_SPI 108 IRQ_TYPE_LEVEL_LOW>,
  361. <GIC_SPI 109 IRQ_TYPE_LEVEL_LOW>,
  362. <GIC_SPI 110 IRQ_TYPE_LEVEL_LOW>,
  363. <GIC_SPI 111 IRQ_TYPE_LEVEL_LOW>,
  364. <GIC_SPI 112 IRQ_TYPE_LEVEL_LOW>,
  365. <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>,
  366. <GIC_SPI 114 IRQ_TYPE_LEVEL_LOW>;
  367. dma-requests = <12>;
  368. clocks = <&pericfg CLK_PERI_AP_DMA>;
  369. clock-names = "apdma";
  370. #dma-cells = <1>;
  371. };
  372. auxadc: adc@11001000 {
  373. compatible = "mediatek,mt2712-auxadc";
  374. reg = <0 0x11001000 0 0x1000>;
  375. clocks = <&pericfg CLK_PERI_AUXADC>;
  376. clock-names = "main";
  377. #io-channel-cells = <1>;
  378. status = "disabled";
  379. };
  380. uart0: serial@11002000 {
  381. compatible = "mediatek,mt2712-uart",
  382. "mediatek,mt6577-uart";
  383. reg = <0 0x11002000 0 0x400>;
  384. interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>;
  385. clocks = <&baud_clk>, <&sys_clk>;
  386. clock-names = "baud", "bus";
  387. dmas = <&apdma 0
  388. &apdma 1>;
  389. dma-names = "tx", "rx";
  390. status = "disabled";
  391. };
  392. uart1: serial@11003000 {
  393. compatible = "mediatek,mt2712-uart",
  394. "mediatek,mt6577-uart";
  395. reg = <0 0x11003000 0 0x400>;
  396. interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_LOW>;
  397. clocks = <&baud_clk>, <&sys_clk>;
  398. clock-names = "baud", "bus";
  399. dmas = <&apdma 2
  400. &apdma 3>;
  401. dma-names = "tx", "rx";
  402. status = "disabled";
  403. };
  404. uart2: serial@11004000 {
  405. compatible = "mediatek,mt2712-uart",
  406. "mediatek,mt6577-uart";
  407. reg = <0 0x11004000 0 0x400>;
  408. interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_LOW>;
  409. clocks = <&baud_clk>, <&sys_clk>;
  410. clock-names = "baud", "bus";
  411. dmas = <&apdma 4
  412. &apdma 5>;
  413. dma-names = "tx", "rx";
  414. status = "disabled";
  415. };
  416. uart3: serial@11005000 {
  417. compatible = "mediatek,mt2712-uart",
  418. "mediatek,mt6577-uart";
  419. reg = <0 0x11005000 0 0x400>;
  420. interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_LOW>;
  421. clocks = <&baud_clk>, <&sys_clk>;
  422. clock-names = "baud", "bus";
  423. dmas = <&apdma 6
  424. &apdma 7>;
  425. dma-names = "tx", "rx";
  426. status = "disabled";
  427. };
  428. pwm: pwm@11006000 {
  429. compatible = "mediatek,mt2712-pwm";
  430. reg = <0 0x11006000 0 0x1000>;
  431. #pwm-cells = <2>;
  432. interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_LOW>;
  433. clocks = <&topckgen CLK_TOP_PWM_SEL>,
  434. <&pericfg CLK_PERI_PWM>,
  435. <&pericfg CLK_PERI_PWM0>,
  436. <&pericfg CLK_PERI_PWM1>,
  437. <&pericfg CLK_PERI_PWM2>,
  438. <&pericfg CLK_PERI_PWM3>,
  439. <&pericfg CLK_PERI_PWM4>,
  440. <&pericfg CLK_PERI_PWM5>,
  441. <&pericfg CLK_PERI_PWM6>,
  442. <&pericfg CLK_PERI_PWM7>;
  443. clock-names = "top",
  444. "main",
  445. "pwm1",
  446. "pwm2",
  447. "pwm3",
  448. "pwm4",
  449. "pwm5",
  450. "pwm6",
  451. "pwm7",
  452. "pwm8";
  453. status = "disabled";
  454. };
  455. i2c0: i2c@11007000 {
  456. compatible = "mediatek,mt2712-i2c";
  457. reg = <0 0x11007000 0 0x90>,
  458. <0 0x11000180 0 0x80>;
  459. interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>;
  460. clock-div = <4>;
  461. clocks = <&pericfg CLK_PERI_I2C0>,
  462. <&pericfg CLK_PERI_AP_DMA>;
  463. clock-names = "main",
  464. "dma";
  465. #address-cells = <1>;
  466. #size-cells = <0>;
  467. status = "disabled";
  468. };
  469. i2c1: i2c@11008000 {
  470. compatible = "mediatek,mt2712-i2c";
  471. reg = <0 0x11008000 0 0x90>,
  472. <0 0x11000200 0 0x80>;
  473. interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_LOW>;
  474. clock-div = <4>;
  475. clocks = <&pericfg CLK_PERI_I2C1>,
  476. <&pericfg CLK_PERI_AP_DMA>;
  477. clock-names = "main",
  478. "dma";
  479. #address-cells = <1>;
  480. #size-cells = <0>;
  481. status = "disabled";
  482. };
  483. i2c2: i2c@11009000 {
  484. compatible = "mediatek,mt2712-i2c";
  485. reg = <0 0x11009000 0 0x90>,
  486. <0 0x11000280 0 0x80>;
  487. interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_LOW>;
  488. clock-div = <4>;
  489. clocks = <&pericfg CLK_PERI_I2C2>,
  490. <&pericfg CLK_PERI_AP_DMA>;
  491. clock-names = "main",
  492. "dma";
  493. #address-cells = <1>;
  494. #size-cells = <0>;
  495. status = "disabled";
  496. };
  497. spi0: spi@1100a000 {
  498. compatible = "mediatek,mt2712-spi";
  499. #address-cells = <1>;
  500. #size-cells = <0>;
  501. reg = <0 0x1100a000 0 0x100>;
  502. interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_LOW>;
  503. clocks = <&topckgen CLK_TOP_UNIVPLL2_D4>,
  504. <&topckgen CLK_TOP_SPI_SEL>,
  505. <&pericfg CLK_PERI_SPI0>;
  506. clock-names = "parent-clk", "sel-clk", "spi-clk";
  507. status = "disabled";
  508. };
  509. nandc: nfi@1100e000 {
  510. compatible = "mediatek,mt2712-nfc";
  511. reg = <0 0x1100e000 0 0x1000>;
  512. interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
  513. clocks = <&topckgen CLK_TOP_NFI2X_EN>, <&pericfg CLK_PERI_NFI>;
  514. clock-names = "nfi_clk", "pad_clk";
  515. ecc-engine = <&bch>;
  516. #address-cells = <1>;
  517. #size-cells = <0>;
  518. status = "disabled";
  519. };
  520. bch: ecc@1100f000 {
  521. compatible = "mediatek,mt2712-ecc";
  522. reg = <0 0x1100f000 0 0x1000>;
  523. interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_LOW>;
  524. clocks = <&topckgen CLK_TOP_NFI1X_CK_EN>;
  525. clock-names = "nfiecc_clk";
  526. status = "disabled";
  527. };
  528. i2c3: i2c@11010000 {
  529. compatible = "mediatek,mt2712-i2c";
  530. reg = <0 0x11010000 0 0x90>,
  531. <0 0x11000300 0 0x80>;
  532. interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>;
  533. clock-div = <4>;
  534. clocks = <&pericfg CLK_PERI_I2C3>,
  535. <&pericfg CLK_PERI_AP_DMA>;
  536. clock-names = "main",
  537. "dma";
  538. #address-cells = <1>;
  539. #size-cells = <0>;
  540. status = "disabled";
  541. };
  542. i2c4: i2c@11011000 {
  543. compatible = "mediatek,mt2712-i2c";
  544. reg = <0 0x11011000 0 0x90>,
  545. <0 0x11000380 0 0x80>;
  546. interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_LOW>;
  547. clock-div = <4>;
  548. clocks = <&pericfg CLK_PERI_I2C4>,
  549. <&pericfg CLK_PERI_AP_DMA>;
  550. clock-names = "main",
  551. "dma";
  552. #address-cells = <1>;
  553. #size-cells = <0>;
  554. status = "disabled";
  555. };
  556. i2c5: i2c@11013000 {
  557. compatible = "mediatek,mt2712-i2c";
  558. reg = <0 0x11013000 0 0x90>,
  559. <0 0x11000100 0 0x80>;
  560. interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_LOW>;
  561. clock-div = <4>;
  562. clocks = <&pericfg CLK_PERI_I2C5>,
  563. <&pericfg CLK_PERI_AP_DMA>;
  564. clock-names = "main",
  565. "dma";
  566. #address-cells = <1>;
  567. #size-cells = <0>;
  568. status = "disabled";
  569. };
  570. spi2: spi@11015000 {
  571. compatible = "mediatek,mt2712-spi";
  572. #address-cells = <1>;
  573. #size-cells = <0>;
  574. reg = <0 0x11015000 0 0x100>;
  575. interrupts = <GIC_SPI 284 IRQ_TYPE_LEVEL_LOW>;
  576. clocks = <&topckgen CLK_TOP_UNIVPLL2_D4>,
  577. <&topckgen CLK_TOP_SPI_SEL>,
  578. <&pericfg CLK_PERI_SPI2>;
  579. clock-names = "parent-clk", "sel-clk", "spi-clk";
  580. status = "disabled";
  581. };
  582. spi3: spi@11016000 {
  583. compatible = "mediatek,mt2712-spi";
  584. #address-cells = <1>;
  585. #size-cells = <0>;
  586. reg = <0 0x11016000 0 0x100>;
  587. interrupts = <GIC_SPI 285 IRQ_TYPE_LEVEL_LOW>;
  588. clocks = <&topckgen CLK_TOP_UNIVPLL2_D4>,
  589. <&topckgen CLK_TOP_SPI_SEL>,
  590. <&pericfg CLK_PERI_SPI3>;
  591. clock-names = "parent-clk", "sel-clk", "spi-clk";
  592. status = "disabled";
  593. };
  594. spi4: spi@10012000 {
  595. compatible = "mediatek,mt2712-spi";
  596. #address-cells = <1>;
  597. #size-cells = <0>;
  598. reg = <0 0x10012000 0 0x100>;
  599. interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_LOW>;
  600. clocks = <&topckgen CLK_TOP_UNIVPLL2_D4>,
  601. <&topckgen CLK_TOP_SPI_SEL>,
  602. <&infracfg CLK_INFRA_AO_SPI0>;
  603. clock-names = "parent-clk", "sel-clk", "spi-clk";
  604. status = "disabled";
  605. };
  606. spi5: spi@11018000 {
  607. compatible = "mediatek,mt2712-spi";
  608. #address-cells = <1>;
  609. #size-cells = <0>;
  610. reg = <0 0x11018000 0 0x100>;
  611. interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_LOW>;
  612. clocks = <&topckgen CLK_TOP_UNIVPLL2_D4>,
  613. <&topckgen CLK_TOP_SPI_SEL>,
  614. <&pericfg CLK_PERI_SPI5>;
  615. clock-names = "parent-clk", "sel-clk", "spi-clk";
  616. status = "disabled";
  617. };
  618. uart4: serial@11019000 {
  619. compatible = "mediatek,mt2712-uart",
  620. "mediatek,mt6577-uart";
  621. reg = <0 0x11019000 0 0x400>;
  622. interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_LOW>;
  623. clocks = <&baud_clk>, <&sys_clk>;
  624. clock-names = "baud", "bus";
  625. dmas = <&apdma 8
  626. &apdma 9>;
  627. dma-names = "tx", "rx";
  628. status = "disabled";
  629. };
  630. stmmac_axi_setup: stmmac-axi-config {
  631. snps,wr_osr_lmt = <0x7>;
  632. snps,rd_osr_lmt = <0x7>;
  633. snps,blen = <0 0 0 0 16 8 4>;
  634. };
  635. mtl_rx_setup: rx-queues-config {
  636. snps,rx-queues-to-use = <1>;
  637. snps,rx-sched-sp;
  638. queue0 {
  639. snps,dcb-algorithm;
  640. snps,map-to-dma-channel = <0x0>;
  641. snps,priority = <0x0>;
  642. };
  643. };
  644. mtl_tx_setup: tx-queues-config {
  645. snps,tx-queues-to-use = <3>;
  646. snps,tx-sched-wrr;
  647. queue0 {
  648. snps,weight = <0x10>;
  649. snps,dcb-algorithm;
  650. snps,priority = <0x0>;
  651. };
  652. queue1 {
  653. snps,weight = <0x11>;
  654. snps,dcb-algorithm;
  655. snps,priority = <0x1>;
  656. };
  657. queue2 {
  658. snps,weight = <0x12>;
  659. snps,dcb-algorithm;
  660. snps,priority = <0x2>;
  661. };
  662. };
  663. eth: ethernet@1101c000 {
  664. compatible = "mediatek,mt2712-gmac", "snps,dwmac-4.20a";
  665. reg = <0 0x1101c000 0 0x1300>;
  666. interrupts = <GIC_SPI 237 IRQ_TYPE_LEVEL_LOW>;
  667. interrupt-names = "macirq";
  668. mac-address = [00 55 7b b5 7d f7];
  669. clock-names = "axi",
  670. "apb",
  671. "mac_main",
  672. "ptp_ref",
  673. "rmii_internal";
  674. clocks = <&pericfg CLK_PERI_GMAC>,
  675. <&pericfg CLK_PERI_GMAC_PCLK>,
  676. <&topckgen CLK_TOP_ETHER_125M_SEL>,
  677. <&topckgen CLK_TOP_ETHER_50M_SEL>,
  678. <&topckgen CLK_TOP_ETHER_50M_RMII_SEL>;
  679. assigned-clocks = <&topckgen CLK_TOP_ETHER_125M_SEL>,
  680. <&topckgen CLK_TOP_ETHER_50M_SEL>,
  681. <&topckgen CLK_TOP_ETHER_50M_RMII_SEL>;
  682. assigned-clock-parents = <&topckgen CLK_TOP_ETHERPLL_125M>,
  683. <&topckgen CLK_TOP_APLL1_D3>,
  684. <&topckgen CLK_TOP_ETHERPLL_50M>;
  685. power-domains = <&scpsys MT2712_POWER_DOMAIN_AUDIO>;
  686. mediatek,pericfg = <&pericfg>;
  687. snps,axi-config = <&stmmac_axi_setup>;
  688. snps,mtl-rx-config = <&mtl_rx_setup>;
  689. snps,mtl-tx-config = <&mtl_tx_setup>;
  690. snps,txpbl = <1>;
  691. snps,rxpbl = <1>;
  692. snps,clk-csr = <0>;
  693. status = "disabled";
  694. };
  695. mmc0: mmc@11230000 {
  696. compatible = "mediatek,mt2712-mmc";
  697. reg = <0 0x11230000 0 0x1000>;
  698. interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_LOW>;
  699. clocks = <&pericfg CLK_PERI_MSDC30_0>,
  700. <&pericfg CLK_PERI_MSDC50_0_HCLK_EN>,
  701. <&pericfg CLK_PERI_MSDC30_0_QTR_EN>,
  702. <&pericfg CLK_PERI_MSDC50_0_EN>;
  703. clock-names = "source", "hclk", "bus_clk", "source_cg";
  704. status = "disabled";
  705. };
  706. mmc1: mmc@11240000 {
  707. compatible = "mediatek,mt2712-mmc";
  708. reg = <0 0x11240000 0 0x1000>;
  709. interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_LOW>;
  710. clocks = <&pericfg CLK_PERI_MSDC30_1>,
  711. <&topckgen CLK_TOP_AXI_SEL>,
  712. <&pericfg CLK_PERI_MSDC30_1_EN>;
  713. clock-names = "source", "hclk", "source_cg";
  714. status = "disabled";
  715. };
  716. mmc2: mmc@11250000 {
  717. compatible = "mediatek,mt2712-mmc";
  718. reg = <0 0x11250000 0 0x1000>;
  719. interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_LOW>;
  720. clocks = <&pericfg CLK_PERI_MSDC30_2>,
  721. <&topckgen CLK_TOP_AXI_SEL>,
  722. <&pericfg CLK_PERI_MSDC30_2_EN>;
  723. clock-names = "source", "hclk", "source_cg";
  724. status = "disabled";
  725. };
  726. ssusb: usb@11271000 {
  727. compatible = "mediatek,mt2712-mtu3", "mediatek,mtu3";
  728. reg = <0 0x11271000 0 0x3000>,
  729. <0 0x11280700 0 0x0100>;
  730. reg-names = "mac", "ippc";
  731. interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_LOW>;
  732. phys = <&u2port0 PHY_TYPE_USB2>,
  733. <&u2port1 PHY_TYPE_USB2>;
  734. power-domains = <&scpsys MT2712_POWER_DOMAIN_USB>;
  735. clocks = <&topckgen CLK_TOP_USB30_SEL>;
  736. clock-names = "sys_ck";
  737. mediatek,syscon-wakeup = <&pericfg 0x510 2>;
  738. #address-cells = <2>;
  739. #size-cells = <2>;
  740. ranges;
  741. status = "disabled";
  742. usb_host0: usb@11270000 {
  743. compatible = "mediatek,mt2712-xhci",
  744. "mediatek,mtk-xhci";
  745. reg = <0 0x11270000 0 0x1000>;
  746. reg-names = "mac";
  747. interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_LOW>;
  748. power-domains = <&scpsys MT2712_POWER_DOMAIN_USB>;
  749. clocks = <&topckgen CLK_TOP_USB30_SEL>, <&clk26m>;
  750. clock-names = "sys_ck", "ref_ck";
  751. status = "disabled";
  752. };
  753. };
  754. u3phy0: t-phy@11290000 {
  755. compatible = "mediatek,mt2712-tphy",
  756. "mediatek,generic-tphy-v2";
  757. #address-cells = <1>;
  758. #size-cells = <1>;
  759. ranges = <0 0 0x11290000 0x9000>;
  760. status = "okay";
  761. u2port0: usb-phy@0 {
  762. reg = <0x0 0x700>;
  763. clocks = <&clk26m>;
  764. clock-names = "ref";
  765. #phy-cells = <1>;
  766. status = "okay";
  767. };
  768. u2port1: usb-phy@8000 {
  769. reg = <0x8000 0x700>;
  770. clocks = <&clk26m>;
  771. clock-names = "ref";
  772. #phy-cells = <1>;
  773. status = "okay";
  774. };
  775. u3port0: usb-phy@8700 {
  776. reg = <0x8700 0x900>;
  777. clocks = <&clk26m>;
  778. clock-names = "ref";
  779. #phy-cells = <1>;
  780. status = "okay";
  781. };
  782. };
  783. ssusb1: usb@112c1000 {
  784. compatible = "mediatek,mt2712-mtu3", "mediatek,mtu3";
  785. reg = <0 0x112c1000 0 0x3000>,
  786. <0 0x112d0700 0 0x0100>;
  787. reg-names = "mac", "ippc";
  788. interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_LOW>;
  789. phys = <&u2port2 PHY_TYPE_USB2>,
  790. <&u2port3 PHY_TYPE_USB2>,
  791. <&u3port1 PHY_TYPE_USB3>;
  792. power-domains = <&scpsys MT2712_POWER_DOMAIN_USB2>;
  793. clocks = <&topckgen CLK_TOP_USB30_SEL>;
  794. clock-names = "sys_ck";
  795. mediatek,syscon-wakeup = <&pericfg 0x514 2>;
  796. #address-cells = <2>;
  797. #size-cells = <2>;
  798. ranges;
  799. status = "disabled";
  800. usb_host1: usb@112c0000 {
  801. compatible = "mediatek,mt2712-xhci",
  802. "mediatek,mtk-xhci";
  803. reg = <0 0x112c0000 0 0x1000>;
  804. reg-names = "mac";
  805. interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_LOW>;
  806. power-domains = <&scpsys MT2712_POWER_DOMAIN_USB2>;
  807. clocks = <&topckgen CLK_TOP_USB30_SEL>, <&clk26m>;
  808. clock-names = "sys_ck", "ref_ck";
  809. status = "disabled";
  810. };
  811. };
  812. u3phy1: t-phy@112e0000 {
  813. compatible = "mediatek,mt2712-tphy",
  814. "mediatek,generic-tphy-v2";
  815. #address-cells = <1>;
  816. #size-cells = <1>;
  817. ranges = <0 0 0x112e0000 0x9000>;
  818. status = "okay";
  819. u2port2: usb-phy@0 {
  820. reg = <0x0 0x700>;
  821. clocks = <&clk26m>;
  822. clock-names = "ref";
  823. #phy-cells = <1>;
  824. status = "okay";
  825. };
  826. u2port3: usb-phy@8000 {
  827. reg = <0x8000 0x700>;
  828. clocks = <&clk26m>;
  829. clock-names = "ref";
  830. #phy-cells = <1>;
  831. status = "okay";
  832. };
  833. u3port1: usb-phy@8700 {
  834. reg = <0x8700 0x900>;
  835. clocks = <&clk26m>;
  836. clock-names = "ref";
  837. #phy-cells = <1>;
  838. status = "okay";
  839. };
  840. };
  841. pcie1: pcie@112ff000 {
  842. compatible = "mediatek,mt2712-pcie";
  843. device_type = "pci";
  844. reg = <0 0x112ff000 0 0x1000>;
  845. reg-names = "port1";
  846. linux,pci-domain = <1>;
  847. #address-cells = <3>;
  848. #size-cells = <2>;
  849. interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
  850. interrupt-names = "pcie_irq";
  851. clocks = <&topckgen CLK_TOP_PE2_MAC_P1_SEL>,
  852. <&pericfg CLK_PERI_PCIE1>;
  853. clock-names = "sys_ck1", "ahb_ck1";
  854. phys = <&u3port1 PHY_TYPE_PCIE>;
  855. phy-names = "pcie-phy1";
  856. bus-range = <0x00 0xff>;
  857. ranges = <0x82000000 0 0x11400000 0x0 0x11400000 0 0x300000>;
  858. status = "disabled";
  859. #interrupt-cells = <1>;
  860. interrupt-map-mask = <0 0 0 7>;
  861. interrupt-map = <0 0 0 1 &pcie_intc1 0>,
  862. <0 0 0 2 &pcie_intc1 1>,
  863. <0 0 0 3 &pcie_intc1 2>,
  864. <0 0 0 4 &pcie_intc1 3>;
  865. pcie_intc1: interrupt-controller {
  866. interrupt-controller;
  867. #address-cells = <0>;
  868. #interrupt-cells = <1>;
  869. };
  870. };
  871. pcie0: pcie@11700000 {
  872. compatible = "mediatek,mt2712-pcie";
  873. device_type = "pci";
  874. reg = <0 0x11700000 0 0x1000>;
  875. reg-names = "port0";
  876. linux,pci-domain = <0>;
  877. #address-cells = <3>;
  878. #size-cells = <2>;
  879. interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
  880. interrupt-names = "pcie_irq";
  881. clocks = <&topckgen CLK_TOP_PE2_MAC_P0_SEL>,
  882. <&pericfg CLK_PERI_PCIE0>;
  883. clock-names = "sys_ck0", "ahb_ck0";
  884. phys = <&u3port0 PHY_TYPE_PCIE>;
  885. phy-names = "pcie-phy0";
  886. bus-range = <0x00 0xff>;
  887. ranges = <0x82000000 0 0x20000000 0x0 0x20000000 0 0x10000000>;
  888. status = "disabled";
  889. #interrupt-cells = <1>;
  890. interrupt-map-mask = <0 0 0 7>;
  891. interrupt-map = <0 0 0 1 &pcie_intc0 0>,
  892. <0 0 0 2 &pcie_intc0 1>,
  893. <0 0 0 3 &pcie_intc0 2>,
  894. <0 0 0 4 &pcie_intc0 3>;
  895. pcie_intc0: interrupt-controller {
  896. interrupt-controller;
  897. #address-cells = <0>;
  898. #interrupt-cells = <1>;
  899. };
  900. };
  901. mfgcfg: syscon@13000000 {
  902. compatible = "mediatek,mt2712-mfgcfg", "syscon";
  903. reg = <0 0x13000000 0 0x1000>;
  904. #clock-cells = <1>;
  905. };
  906. mmsys: syscon@14000000 {
  907. compatible = "mediatek,mt2712-mmsys", "syscon";
  908. reg = <0 0x14000000 0 0x1000>;
  909. #clock-cells = <1>;
  910. };
  911. larb0: larb@14021000 {
  912. compatible = "mediatek,mt2712-smi-larb";
  913. reg = <0 0x14021000 0 0x1000>;
  914. mediatek,smi = <&smi_common0>;
  915. mediatek,larb-id = <0>;
  916. power-domains = <&scpsys MT2712_POWER_DOMAIN_MM>;
  917. clocks = <&mmsys CLK_MM_SMI_LARB0>,
  918. <&mmsys CLK_MM_SMI_LARB0>;
  919. clock-names = "apb", "smi";
  920. };
  921. smi_common0: smi@14022000 {
  922. compatible = "mediatek,mt2712-smi-common";
  923. reg = <0 0x14022000 0 0x1000>;
  924. power-domains = <&scpsys MT2712_POWER_DOMAIN_MM>;
  925. clocks = <&mmsys CLK_MM_SMI_COMMON>,
  926. <&mmsys CLK_MM_SMI_COMMON>;
  927. clock-names = "apb", "smi";
  928. };
  929. larb4: larb@14027000 {
  930. compatible = "mediatek,mt2712-smi-larb";
  931. reg = <0 0x14027000 0 0x1000>;
  932. mediatek,smi = <&smi_common1>;
  933. mediatek,larb-id = <4>;
  934. power-domains = <&scpsys MT2712_POWER_DOMAIN_MM>;
  935. clocks = <&mmsys CLK_MM_SMI_LARB4>,
  936. <&mmsys CLK_MM_SMI_LARB4>;
  937. clock-names = "apb", "smi";
  938. };
  939. larb5: larb@14030000 {
  940. compatible = "mediatek,mt2712-smi-larb";
  941. reg = <0 0x14030000 0 0x1000>;
  942. mediatek,smi = <&smi_common1>;
  943. mediatek,larb-id = <5>;
  944. power-domains = <&scpsys MT2712_POWER_DOMAIN_MM>;
  945. clocks = <&mmsys CLK_MM_SMI_LARB5>,
  946. <&mmsys CLK_MM_SMI_LARB5>;
  947. clock-names = "apb", "smi";
  948. };
  949. smi_common1: smi@14031000 {
  950. compatible = "mediatek,mt2712-smi-common";
  951. reg = <0 0x14031000 0 0x1000>;
  952. power-domains = <&scpsys MT2712_POWER_DOMAIN_MM>;
  953. clocks = <&mmsys CLK_MM_SMI_COMMON1>,
  954. <&mmsys CLK_MM_SMI_COMMON1>;
  955. clock-names = "apb", "smi";
  956. };
  957. larb7: larb@14032000 {
  958. compatible = "mediatek,mt2712-smi-larb";
  959. reg = <0 0x14032000 0 0x1000>;
  960. mediatek,smi = <&smi_common1>;
  961. mediatek,larb-id = <7>;
  962. power-domains = <&scpsys MT2712_POWER_DOMAIN_MM>;
  963. clocks = <&mmsys CLK_MM_SMI_LARB7>,
  964. <&mmsys CLK_MM_SMI_LARB7>;
  965. clock-names = "apb", "smi";
  966. };
  967. imgsys: syscon@15000000 {
  968. compatible = "mediatek,mt2712-imgsys", "syscon";
  969. reg = <0 0x15000000 0 0x1000>;
  970. #clock-cells = <1>;
  971. };
  972. larb2: larb@15001000 {
  973. compatible = "mediatek,mt2712-smi-larb";
  974. reg = <0 0x15001000 0 0x1000>;
  975. mediatek,smi = <&smi_common0>;
  976. mediatek,larb-id = <2>;
  977. power-domains = <&scpsys MT2712_POWER_DOMAIN_ISP>;
  978. clocks = <&imgsys CLK_IMG_SMI_LARB2>,
  979. <&imgsys CLK_IMG_SMI_LARB2>;
  980. clock-names = "apb", "smi";
  981. };
  982. bdpsys: syscon@15010000 {
  983. compatible = "mediatek,mt2712-bdpsys", "syscon";
  984. reg = <0 0x15010000 0 0x1000>;
  985. #clock-cells = <1>;
  986. };
  987. vdecsys: syscon@16000000 {
  988. compatible = "mediatek,mt2712-vdecsys", "syscon";
  989. reg = <0 0x16000000 0 0x1000>;
  990. #clock-cells = <1>;
  991. };
  992. larb1: larb@16010000 {
  993. compatible = "mediatek,mt2712-smi-larb";
  994. reg = <0 0x16010000 0 0x1000>;
  995. mediatek,smi = <&smi_common0>;
  996. mediatek,larb-id = <1>;
  997. power-domains = <&scpsys MT2712_POWER_DOMAIN_VDEC>;
  998. clocks = <&vdecsys CLK_VDEC_CKEN>,
  999. <&vdecsys CLK_VDEC_LARB1_CKEN>;
  1000. clock-names = "apb", "smi";
  1001. };
  1002. vencsys: syscon@18000000 {
  1003. compatible = "mediatek,mt2712-vencsys", "syscon";
  1004. reg = <0 0x18000000 0 0x1000>;
  1005. #clock-cells = <1>;
  1006. };
  1007. larb3: larb@18001000 {
  1008. compatible = "mediatek,mt2712-smi-larb";
  1009. reg = <0 0x18001000 0 0x1000>;
  1010. mediatek,smi = <&smi_common0>;
  1011. mediatek,larb-id = <3>;
  1012. power-domains = <&scpsys MT2712_POWER_DOMAIN_VENC>;
  1013. clocks = <&vencsys CLK_VENC_SMI_COMMON_CON>,
  1014. <&vencsys CLK_VENC_VENC>;
  1015. clock-names = "apb", "smi";
  1016. };
  1017. larb6: larb@18002000 {
  1018. compatible = "mediatek,mt2712-smi-larb";
  1019. reg = <0 0x18002000 0 0x1000>;
  1020. mediatek,smi = <&smi_common0>;
  1021. mediatek,larb-id = <6>;
  1022. power-domains = <&scpsys MT2712_POWER_DOMAIN_VENC>;
  1023. clocks = <&vencsys CLK_VENC_SMI_COMMON_CON>,
  1024. <&vencsys CLK_VENC_VENC>;
  1025. clock-names = "apb", "smi";
  1026. };
  1027. jpgdecsys: syscon@19000000 {
  1028. compatible = "mediatek,mt2712-jpgdecsys", "syscon";
  1029. reg = <0 0x19000000 0 0x1000>;
  1030. #clock-cells = <1>;
  1031. };
  1032. };