r8a7779.dtsi 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  1. /*
  2. * Device Tree Source for Renesas r8a7779
  3. *
  4. * Copyright (C) 2013 Renesas Solutions Corp.
  5. * Copyright (C) 2013 Simon Horman
  6. *
  7. * This file is licensed under the terms of the GNU General Public License
  8. * version 2. This program is licensed "as is" without any warranty of any
  9. * kind, whether express or implied.
  10. */
  11. /include/ "skeleton.dtsi"
  12. #include <dt-bindings/clock/r8a7779-clock.h>
  13. #include <dt-bindings/interrupt-controller/arm-gic.h>
  14. #include <dt-bindings/interrupt-controller/irq.h>
  15. #include <dt-bindings/power/r8a7779-sysc.h>
  16. / {
  17. compatible = "renesas,r8a7779";
  18. interrupt-parent = <&gic>;
  19. cpus {
  20. #address-cells = <1>;
  21. #size-cells = <0>;
  22. cpu@0 {
  23. device_type = "cpu";
  24. compatible = "arm,cortex-a9";
  25. reg = <0>;
  26. clock-frequency = <1000000000>;
  27. };
  28. cpu@1 {
  29. device_type = "cpu";
  30. compatible = "arm,cortex-a9";
  31. reg = <1>;
  32. clock-frequency = <1000000000>;
  33. power-domains = <&sysc R8A7779_PD_ARM1>;
  34. };
  35. cpu@2 {
  36. device_type = "cpu";
  37. compatible = "arm,cortex-a9";
  38. reg = <2>;
  39. clock-frequency = <1000000000>;
  40. power-domains = <&sysc R8A7779_PD_ARM2>;
  41. };
  42. cpu@3 {
  43. device_type = "cpu";
  44. compatible = "arm,cortex-a9";
  45. reg = <3>;
  46. clock-frequency = <1000000000>;
  47. power-domains = <&sysc R8A7779_PD_ARM3>;
  48. };
  49. };
  50. aliases {
  51. spi0 = &hspi0;
  52. spi1 = &hspi1;
  53. spi2 = &hspi2;
  54. };
  55. gic: interrupt-controller@f0001000 {
  56. compatible = "arm,cortex-a9-gic";
  57. #interrupt-cells = <3>;
  58. interrupt-controller;
  59. reg = <0xf0001000 0x1000>,
  60. <0xf0000100 0x100>;
  61. };
  62. timer@f0000600 {
  63. compatible = "arm,cortex-a9-twd-timer";
  64. reg = <0xf0000600 0x20>;
  65. interrupts = <GIC_PPI 13
  66. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>;
  67. clocks = <&cpg_clocks R8A7779_CLK_ZS>;
  68. };
  69. gpio0: gpio@ffc40000 {
  70. compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
  71. reg = <0xffc40000 0x2c>;
  72. interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
  73. #gpio-cells = <2>;
  74. gpio-controller;
  75. gpio-ranges = <&pfc 0 0 32>;
  76. #interrupt-cells = <2>;
  77. interrupt-controller;
  78. };
  79. gpio1: gpio@ffc41000 {
  80. compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
  81. reg = <0xffc41000 0x2c>;
  82. interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
  83. #gpio-cells = <2>;
  84. gpio-controller;
  85. gpio-ranges = <&pfc 0 32 32>;
  86. #interrupt-cells = <2>;
  87. interrupt-controller;
  88. };
  89. gpio2: gpio@ffc42000 {
  90. compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
  91. reg = <0xffc42000 0x2c>;
  92. interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
  93. #gpio-cells = <2>;
  94. gpio-controller;
  95. gpio-ranges = <&pfc 0 64 32>;
  96. #interrupt-cells = <2>;
  97. interrupt-controller;
  98. };
  99. gpio3: gpio@ffc43000 {
  100. compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
  101. reg = <0xffc43000 0x2c>;
  102. interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
  103. #gpio-cells = <2>;
  104. gpio-controller;
  105. gpio-ranges = <&pfc 0 96 32>;
  106. #interrupt-cells = <2>;
  107. interrupt-controller;
  108. };
  109. gpio4: gpio@ffc44000 {
  110. compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
  111. reg = <0xffc44000 0x2c>;
  112. interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
  113. #gpio-cells = <2>;
  114. gpio-controller;
  115. gpio-ranges = <&pfc 0 128 32>;
  116. #interrupt-cells = <2>;
  117. interrupt-controller;
  118. };
  119. gpio5: gpio@ffc45000 {
  120. compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
  121. reg = <0xffc45000 0x2c>;
  122. interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
  123. #gpio-cells = <2>;
  124. gpio-controller;
  125. gpio-ranges = <&pfc 0 160 32>;
  126. #interrupt-cells = <2>;
  127. interrupt-controller;
  128. };
  129. gpio6: gpio@ffc46000 {
  130. compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
  131. reg = <0xffc46000 0x2c>;
  132. interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
  133. #gpio-cells = <2>;
  134. gpio-controller;
  135. gpio-ranges = <&pfc 0 192 9>;
  136. #interrupt-cells = <2>;
  137. interrupt-controller;
  138. };
  139. irqpin0: interrupt-controller@fe78001c {
  140. compatible = "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin";
  141. #interrupt-cells = <2>;
  142. status = "disabled";
  143. interrupt-controller;
  144. reg = <0xfe78001c 4>,
  145. <0xfe780010 4>,
  146. <0xfe780024 4>,
  147. <0xfe780044 4>,
  148. <0xfe780064 4>,
  149. <0xfe780000 4>;
  150. interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH
  151. GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH
  152. GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH
  153. GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
  154. sense-bitfield-width = <2>;
  155. };
  156. i2c0: i2c@ffc70000 {
  157. #address-cells = <1>;
  158. #size-cells = <0>;
  159. compatible = "renesas,i2c-r8a7779";
  160. reg = <0xffc70000 0x1000>;
  161. interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
  162. clocks = <&mstp0_clks R8A7779_CLK_I2C0>;
  163. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  164. status = "disabled";
  165. };
  166. i2c1: i2c@ffc71000 {
  167. #address-cells = <1>;
  168. #size-cells = <0>;
  169. compatible = "renesas,i2c-r8a7779";
  170. reg = <0xffc71000 0x1000>;
  171. interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
  172. clocks = <&mstp0_clks R8A7779_CLK_I2C1>;
  173. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  174. status = "disabled";
  175. };
  176. i2c2: i2c@ffc72000 {
  177. #address-cells = <1>;
  178. #size-cells = <0>;
  179. compatible = "renesas,i2c-r8a7779";
  180. reg = <0xffc72000 0x1000>;
  181. interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
  182. clocks = <&mstp0_clks R8A7779_CLK_I2C2>;
  183. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  184. status = "disabled";
  185. };
  186. i2c3: i2c@ffc73000 {
  187. #address-cells = <1>;
  188. #size-cells = <0>;
  189. compatible = "renesas,i2c-r8a7779";
  190. reg = <0xffc73000 0x1000>;
  191. interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
  192. clocks = <&mstp0_clks R8A7779_CLK_I2C3>;
  193. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  194. status = "disabled";
  195. };
  196. scif0: serial@ffe40000 {
  197. compatible = "renesas,scif-r8a7779", "renesas,rcar-gen1-scif",
  198. "renesas,scif";
  199. reg = <0xffe40000 0x100>;
  200. interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
  201. clocks = <&mstp0_clks R8A7779_CLK_SCIF0>,
  202. <&cpg_clocks R8A7779_CLK_S1>, <&scif_clk>;
  203. clock-names = "fck", "brg_int", "scif_clk";
  204. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  205. status = "disabled";
  206. };
  207. scif1: serial@ffe41000 {
  208. compatible = "renesas,scif-r8a7779", "renesas,rcar-gen1-scif",
  209. "renesas,scif";
  210. reg = <0xffe41000 0x100>;
  211. interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
  212. clocks = <&mstp0_clks R8A7779_CLK_SCIF1>,
  213. <&cpg_clocks R8A7779_CLK_S1>, <&scif_clk>;
  214. clock-names = "fck", "brg_int", "scif_clk";
  215. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  216. status = "disabled";
  217. };
  218. scif2: serial@ffe42000 {
  219. compatible = "renesas,scif-r8a7779", "renesas,rcar-gen1-scif",
  220. "renesas,scif";
  221. reg = <0xffe42000 0x100>;
  222. interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
  223. clocks = <&mstp0_clks R8A7779_CLK_SCIF2>,
  224. <&cpg_clocks R8A7779_CLK_S1>, <&scif_clk>;
  225. clock-names = "fck", "brg_int", "scif_clk";
  226. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  227. status = "disabled";
  228. };
  229. scif3: serial@ffe43000 {
  230. compatible = "renesas,scif-r8a7779", "renesas,rcar-gen1-scif",
  231. "renesas,scif";
  232. reg = <0xffe43000 0x100>;
  233. interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
  234. clocks = <&mstp0_clks R8A7779_CLK_SCIF3>,
  235. <&cpg_clocks R8A7779_CLK_S1>, <&scif_clk>;
  236. clock-names = "fck", "brg_int", "scif_clk";
  237. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  238. status = "disabled";
  239. };
  240. scif4: serial@ffe44000 {
  241. compatible = "renesas,scif-r8a7779", "renesas,rcar-gen1-scif",
  242. "renesas,scif";
  243. reg = <0xffe44000 0x100>;
  244. interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
  245. clocks = <&mstp0_clks R8A7779_CLK_SCIF4>,
  246. <&cpg_clocks R8A7779_CLK_S1>, <&scif_clk>;
  247. clock-names = "fck", "brg_int", "scif_clk";
  248. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  249. status = "disabled";
  250. };
  251. scif5: serial@ffe45000 {
  252. compatible = "renesas,scif-r8a7779", "renesas,rcar-gen1-scif",
  253. "renesas,scif";
  254. reg = <0xffe45000 0x100>;
  255. interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
  256. clocks = <&mstp0_clks R8A7779_CLK_SCIF5>,
  257. <&cpg_clocks R8A7779_CLK_S1>, <&scif_clk>;
  258. clock-names = "fck", "brg_int", "scif_clk";
  259. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  260. status = "disabled";
  261. };
  262. pfc: pfc@fffc0000 {
  263. compatible = "renesas,pfc-r8a7779";
  264. reg = <0xfffc0000 0x23c>;
  265. };
  266. thermal@ffc48000 {
  267. compatible = "renesas,thermal-r8a7779", "renesas,rcar-thermal";
  268. reg = <0xffc48000 0x38>;
  269. };
  270. tmu0: timer@ffd80000 {
  271. compatible = "renesas,tmu-r8a7779", "renesas,tmu";
  272. reg = <0xffd80000 0x30>;
  273. interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
  274. <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
  275. <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
  276. clocks = <&mstp0_clks R8A7779_CLK_TMU0>;
  277. clock-names = "fck";
  278. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  279. #renesas,channels = <3>;
  280. status = "disabled";
  281. };
  282. tmu1: timer@ffd81000 {
  283. compatible = "renesas,tmu-r8a7779", "renesas,tmu";
  284. reg = <0xffd81000 0x30>;
  285. interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>,
  286. <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
  287. <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
  288. clocks = <&mstp0_clks R8A7779_CLK_TMU1>;
  289. clock-names = "fck";
  290. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  291. #renesas,channels = <3>;
  292. status = "disabled";
  293. };
  294. tmu2: timer@ffd82000 {
  295. compatible = "renesas,tmu-r8a7779", "renesas,tmu";
  296. reg = <0xffd82000 0x30>;
  297. interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
  298. <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
  299. <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
  300. clocks = <&mstp0_clks R8A7779_CLK_TMU2>;
  301. clock-names = "fck";
  302. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  303. #renesas,channels = <3>;
  304. status = "disabled";
  305. };
  306. sata: sata@fc600000 {
  307. compatible = "renesas,sata-r8a7779", "renesas,rcar-sata";
  308. reg = <0xfc600000 0x2000>;
  309. interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
  310. clocks = <&mstp1_clks R8A7779_CLK_SATA>;
  311. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  312. };
  313. sdhi0: sd@ffe4c000 {
  314. compatible = "renesas,sdhi-r8a7779";
  315. reg = <0xffe4c000 0x100>;
  316. interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
  317. clocks = <&mstp3_clks R8A7779_CLK_SDHI0>;
  318. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  319. status = "disabled";
  320. };
  321. sdhi1: sd@ffe4d000 {
  322. compatible = "renesas,sdhi-r8a7779";
  323. reg = <0xffe4d000 0x100>;
  324. interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
  325. clocks = <&mstp3_clks R8A7779_CLK_SDHI1>;
  326. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  327. status = "disabled";
  328. };
  329. sdhi2: sd@ffe4e000 {
  330. compatible = "renesas,sdhi-r8a7779";
  331. reg = <0xffe4e000 0x100>;
  332. interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
  333. clocks = <&mstp3_clks R8A7779_CLK_SDHI2>;
  334. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  335. status = "disabled";
  336. };
  337. sdhi3: sd@ffe4f000 {
  338. compatible = "renesas,sdhi-r8a7779";
  339. reg = <0xffe4f000 0x100>;
  340. interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
  341. clocks = <&mstp3_clks R8A7779_CLK_SDHI3>;
  342. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  343. status = "disabled";
  344. };
  345. hspi0: spi@fffc7000 {
  346. compatible = "renesas,hspi-r8a7779", "renesas,hspi";
  347. reg = <0xfffc7000 0x18>;
  348. interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
  349. #address-cells = <1>;
  350. #size-cells = <0>;
  351. clocks = <&mstp0_clks R8A7779_CLK_HSPI>;
  352. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  353. status = "disabled";
  354. };
  355. hspi1: spi@fffc8000 {
  356. compatible = "renesas,hspi-r8a7779", "renesas,hspi";
  357. reg = <0xfffc8000 0x18>;
  358. interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
  359. #address-cells = <1>;
  360. #size-cells = <0>;
  361. clocks = <&mstp0_clks R8A7779_CLK_HSPI>;
  362. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  363. status = "disabled";
  364. };
  365. hspi2: spi@fffc6000 {
  366. compatible = "renesas,hspi-r8a7779", "renesas,hspi";
  367. reg = <0xfffc6000 0x18>;
  368. interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
  369. #address-cells = <1>;
  370. #size-cells = <0>;
  371. clocks = <&mstp0_clks R8A7779_CLK_HSPI>;
  372. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  373. status = "disabled";
  374. };
  375. du: display@fff80000 {
  376. compatible = "renesas,du-r8a7779";
  377. reg = <0 0xfff80000 0 0x40000>;
  378. interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
  379. clocks = <&mstp1_clks R8A7779_CLK_DU>;
  380. power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
  381. status = "disabled";
  382. ports {
  383. #address-cells = <1>;
  384. #size-cells = <0>;
  385. port@0 {
  386. reg = <0>;
  387. du_out_rgb0: endpoint {
  388. };
  389. };
  390. port@1 {
  391. reg = <1>;
  392. du_out_rgb1: endpoint {
  393. };
  394. };
  395. };
  396. };
  397. clocks {
  398. #address-cells = <1>;
  399. #size-cells = <1>;
  400. ranges;
  401. /* External root clock */
  402. extal_clk: extal {
  403. compatible = "fixed-clock";
  404. #clock-cells = <0>;
  405. /* This value must be overriden by the board. */
  406. clock-frequency = <0>;
  407. };
  408. /* External SCIF clock */
  409. scif_clk: scif {
  410. compatible = "fixed-clock";
  411. #clock-cells = <0>;
  412. /* This value must be overridden by the board. */
  413. clock-frequency = <0>;
  414. };
  415. /* Special CPG clocks */
  416. cpg_clocks: clocks@ffc80000 {
  417. compatible = "renesas,r8a7779-cpg-clocks";
  418. reg = <0xffc80000 0x30>;
  419. clocks = <&extal_clk>;
  420. #clock-cells = <1>;
  421. clock-output-names = "plla", "z", "zs", "s",
  422. "s1", "p", "b", "out";
  423. #power-domain-cells = <0>;
  424. };
  425. /* Fixed factor clocks */
  426. i_clk: i {
  427. compatible = "fixed-factor-clock";
  428. clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
  429. #clock-cells = <0>;
  430. clock-div = <2>;
  431. clock-mult = <1>;
  432. };
  433. s3_clk: s3 {
  434. compatible = "fixed-factor-clock";
  435. clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
  436. #clock-cells = <0>;
  437. clock-div = <8>;
  438. clock-mult = <1>;
  439. };
  440. s4_clk: s4 {
  441. compatible = "fixed-factor-clock";
  442. clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
  443. #clock-cells = <0>;
  444. clock-div = <16>;
  445. clock-mult = <1>;
  446. };
  447. g_clk: g {
  448. compatible = "fixed-factor-clock";
  449. clocks = <&cpg_clocks R8A7779_CLK_PLLA>;
  450. #clock-cells = <0>;
  451. clock-div = <24>;
  452. clock-mult = <1>;
  453. };
  454. /* Gate clocks */
  455. mstp0_clks: clocks@ffc80030 {
  456. compatible = "renesas,r8a7779-mstp-clocks",
  457. "renesas,cpg-mstp-clocks";
  458. reg = <0xffc80030 4>;
  459. clocks = <&cpg_clocks R8A7779_CLK_S>,
  460. <&cpg_clocks R8A7779_CLK_P>,
  461. <&cpg_clocks R8A7779_CLK_P>,
  462. <&cpg_clocks R8A7779_CLK_P>,
  463. <&cpg_clocks R8A7779_CLK_S>,
  464. <&cpg_clocks R8A7779_CLK_S>,
  465. <&cpg_clocks R8A7779_CLK_P>,
  466. <&cpg_clocks R8A7779_CLK_P>,
  467. <&cpg_clocks R8A7779_CLK_P>,
  468. <&cpg_clocks R8A7779_CLK_P>,
  469. <&cpg_clocks R8A7779_CLK_P>,
  470. <&cpg_clocks R8A7779_CLK_P>,
  471. <&cpg_clocks R8A7779_CLK_P>,
  472. <&cpg_clocks R8A7779_CLK_P>,
  473. <&cpg_clocks R8A7779_CLK_P>,
  474. <&cpg_clocks R8A7779_CLK_P>;
  475. #clock-cells = <1>;
  476. clock-indices = <
  477. R8A7779_CLK_HSPI R8A7779_CLK_TMU2
  478. R8A7779_CLK_TMU1 R8A7779_CLK_TMU0
  479. R8A7779_CLK_HSCIF1 R8A7779_CLK_HSCIF0
  480. R8A7779_CLK_SCIF5 R8A7779_CLK_SCIF4
  481. R8A7779_CLK_SCIF3 R8A7779_CLK_SCIF2
  482. R8A7779_CLK_SCIF1 R8A7779_CLK_SCIF0
  483. R8A7779_CLK_I2C3 R8A7779_CLK_I2C2
  484. R8A7779_CLK_I2C1 R8A7779_CLK_I2C0
  485. >;
  486. clock-output-names =
  487. "hspi", "tmu2", "tmu1", "tmu0", "hscif1",
  488. "hscif0", "scif5", "scif4", "scif3", "scif2",
  489. "scif1", "scif0", "i2c3", "i2c2", "i2c1",
  490. "i2c0";
  491. };
  492. mstp1_clks: clocks@ffc80034 {
  493. compatible = "renesas,r8a7779-mstp-clocks",
  494. "renesas,cpg-mstp-clocks";
  495. reg = <0xffc80034 4>, <0xffc80044 4>;
  496. clocks = <&cpg_clocks R8A7779_CLK_P>,
  497. <&cpg_clocks R8A7779_CLK_P>,
  498. <&cpg_clocks R8A7779_CLK_S>,
  499. <&cpg_clocks R8A7779_CLK_S>,
  500. <&cpg_clocks R8A7779_CLK_S>,
  501. <&cpg_clocks R8A7779_CLK_S>,
  502. <&cpg_clocks R8A7779_CLK_P>,
  503. <&cpg_clocks R8A7779_CLK_P>,
  504. <&cpg_clocks R8A7779_CLK_P>,
  505. <&cpg_clocks R8A7779_CLK_S>;
  506. #clock-cells = <1>;
  507. clock-indices = <
  508. R8A7779_CLK_USB01 R8A7779_CLK_USB2
  509. R8A7779_CLK_DU R8A7779_CLK_VIN2
  510. R8A7779_CLK_VIN1 R8A7779_CLK_VIN0
  511. R8A7779_CLK_ETHER R8A7779_CLK_SATA
  512. R8A7779_CLK_PCIE R8A7779_CLK_VIN3
  513. >;
  514. clock-output-names =
  515. "usb01", "usb2",
  516. "du", "vin2",
  517. "vin1", "vin0",
  518. "ether", "sata",
  519. "pcie", "vin3";
  520. };
  521. mstp3_clks: clocks@ffc8003c {
  522. compatible = "renesas,r8a7779-mstp-clocks",
  523. "renesas,cpg-mstp-clocks";
  524. reg = <0xffc8003c 4>;
  525. clocks = <&s4_clk>, <&s4_clk>, <&s4_clk>, <&s4_clk>,
  526. <&s4_clk>, <&s4_clk>;
  527. #clock-cells = <1>;
  528. clock-indices = <
  529. R8A7779_CLK_SDHI3 R8A7779_CLK_SDHI2
  530. R8A7779_CLK_SDHI1 R8A7779_CLK_SDHI0
  531. R8A7779_CLK_MMC1 R8A7779_CLK_MMC0
  532. >;
  533. clock-output-names =
  534. "sdhi3", "sdhi2", "sdhi1", "sdhi0",
  535. "mmc1", "mmc0";
  536. };
  537. };
  538. sysc: system-controller@ffd85000 {
  539. compatible = "renesas,r8a7779-sysc";
  540. reg = <0xffd85000 0x0200>;
  541. #power-domain-cells = <1>;
  542. };
  543. };