r8a7793-gose.dts 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the Gose board
  4. *
  5. * Copyright (C) 2014-2015 Renesas Electronics Corporation
  6. */
  7. /*
  8. * SSI-AK4643
  9. *
  10. * SW1: 1: AK4643
  11. * 2: CN22
  12. * 3: ADV7511
  13. *
  14. * This command is required when Playback/Capture
  15. *
  16. * amixer set "LINEOUT Mixer DACL" on
  17. * amixer set "DVC Out" 100%
  18. * amixer set "DVC In" 100%
  19. *
  20. * You can use Mute
  21. *
  22. * amixer set "DVC Out Mute" on
  23. * amixer set "DVC In Mute" on
  24. *
  25. * You can use Volume Ramp
  26. *
  27. * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
  28. * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
  29. * amixer set "DVC Out Ramp" on
  30. * aplay xxx.wav &
  31. * amixer set "DVC Out" 80% // Volume Down
  32. * amixer set "DVC Out" 100% // Volume Up
  33. */
  34. /dts-v1/;
  35. #include "r8a7793.dtsi"
  36. #include <dt-bindings/gpio/gpio.h>
  37. #include <dt-bindings/input/input.h>
  38. / {
  39. model = "Gose";
  40. compatible = "renesas,gose", "renesas,r8a7793";
  41. aliases {
  42. serial0 = &scif0;
  43. serial1 = &scif1;
  44. i2c9 = &gpioi2c2;
  45. i2c10 = &gpioi2c4;
  46. i2c11 = &i2chdmi;
  47. i2c12 = &i2cexio4;
  48. mmc0 = &sdhi0;
  49. mmc1 = &sdhi1;
  50. mmc2 = &sdhi2;
  51. };
  52. chosen {
  53. bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
  54. stdout-path = "serial0:115200n8";
  55. };
  56. memory@40000000 {
  57. device_type = "memory";
  58. reg = <0 0x40000000 0 0x40000000>;
  59. };
  60. keyboard {
  61. compatible = "gpio-keys";
  62. pinctrl-0 = <&keyboard_pins>;
  63. pinctrl-names = "default";
  64. key-1 {
  65. gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
  66. linux,code = <KEY_1>;
  67. label = "SW2-1";
  68. wakeup-source;
  69. debounce-interval = <20>;
  70. };
  71. key-2 {
  72. gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
  73. linux,code = <KEY_2>;
  74. label = "SW2-2";
  75. wakeup-source;
  76. debounce-interval = <20>;
  77. };
  78. key-3 {
  79. gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
  80. linux,code = <KEY_3>;
  81. label = "SW2-3";
  82. wakeup-source;
  83. debounce-interval = <20>;
  84. };
  85. key-4 {
  86. gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
  87. linux,code = <KEY_4>;
  88. label = "SW2-4";
  89. wakeup-source;
  90. debounce-interval = <20>;
  91. };
  92. key-a {
  93. gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
  94. linux,code = <KEY_A>;
  95. label = "SW30";
  96. wakeup-source;
  97. debounce-interval = <20>;
  98. };
  99. key-b {
  100. gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
  101. linux,code = <KEY_B>;
  102. label = "SW31";
  103. wakeup-source;
  104. debounce-interval = <20>;
  105. };
  106. key-c {
  107. gpios = <&gpio7 2 GPIO_ACTIVE_LOW>;
  108. linux,code = <KEY_C>;
  109. label = "SW32";
  110. wakeup-source;
  111. debounce-interval = <20>;
  112. };
  113. key-d {
  114. gpios = <&gpio7 3 GPIO_ACTIVE_LOW>;
  115. linux,code = <KEY_D>;
  116. label = "SW33";
  117. wakeup-source;
  118. debounce-interval = <20>;
  119. };
  120. key-e {
  121. gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
  122. linux,code = <KEY_E>;
  123. label = "SW34";
  124. wakeup-source;
  125. debounce-interval = <20>;
  126. };
  127. key-f {
  128. gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
  129. linux,code = <KEY_F>;
  130. label = "SW35";
  131. wakeup-source;
  132. debounce-interval = <20>;
  133. };
  134. key-g {
  135. gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
  136. linux,code = <KEY_G>;
  137. label = "SW36";
  138. wakeup-source;
  139. debounce-interval = <20>;
  140. };
  141. };
  142. leds {
  143. compatible = "gpio-leds";
  144. led6 {
  145. gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
  146. label = "LED6";
  147. };
  148. led7 {
  149. gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
  150. label = "LED7";
  151. };
  152. led8 {
  153. gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
  154. label = "LED8";
  155. };
  156. };
  157. vcc_sdhi0: regulator-vcc-sdhi0 {
  158. compatible = "regulator-fixed";
  159. regulator-name = "SDHI0 Vcc";
  160. regulator-min-microvolt = <3300000>;
  161. regulator-max-microvolt = <3300000>;
  162. gpio = <&gpio7 17 GPIO_ACTIVE_HIGH>;
  163. enable-active-high;
  164. };
  165. vccq_sdhi0: regulator-vccq-sdhi0 {
  166. compatible = "regulator-gpio";
  167. regulator-name = "SDHI0 VccQ";
  168. regulator-min-microvolt = <1800000>;
  169. regulator-max-microvolt = <3300000>;
  170. gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
  171. gpios-states = <1>;
  172. states = <3300000 1>, <1800000 0>;
  173. };
  174. vcc_sdhi1: regulator-vcc-sdhi1 {
  175. compatible = "regulator-fixed";
  176. regulator-name = "SDHI1 Vcc";
  177. regulator-min-microvolt = <3300000>;
  178. regulator-max-microvolt = <3300000>;
  179. gpio = <&gpio7 18 GPIO_ACTIVE_HIGH>;
  180. enable-active-high;
  181. };
  182. vccq_sdhi1: regulator-vccq-sdhi1 {
  183. compatible = "regulator-gpio";
  184. regulator-name = "SDHI1 VccQ";
  185. regulator-min-microvolt = <1800000>;
  186. regulator-max-microvolt = <3300000>;
  187. gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
  188. gpios-states = <1>;
  189. states = <3300000 1>, <1800000 0>;
  190. };
  191. vcc_sdhi2: regulator-vcc-sdhi2 {
  192. compatible = "regulator-fixed";
  193. regulator-name = "SDHI2 Vcc";
  194. regulator-min-microvolt = <3300000>;
  195. regulator-max-microvolt = <3300000>;
  196. gpio = <&gpio7 19 GPIO_ACTIVE_HIGH>;
  197. enable-active-high;
  198. };
  199. vccq_sdhi2: regulator-vccq-sdhi2 {
  200. compatible = "regulator-gpio";
  201. regulator-name = "SDHI2 VccQ";
  202. regulator-min-microvolt = <1800000>;
  203. regulator-max-microvolt = <3300000>;
  204. gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
  205. gpios-states = <1>;
  206. states = <3300000 1>, <1800000 0>;
  207. };
  208. audio_clock: audio_clock {
  209. compatible = "fixed-clock";
  210. #clock-cells = <0>;
  211. clock-frequency = <11289600>;
  212. };
  213. rsnd_ak4643: sound {
  214. compatible = "simple-audio-card";
  215. simple-audio-card,format = "left_j";
  216. simple-audio-card,bitclock-master = <&sndcodec>;
  217. simple-audio-card,frame-master = <&sndcodec>;
  218. sndcpu: simple-audio-card,cpu {
  219. sound-dai = <&rcar_sound>;
  220. };
  221. sndcodec: simple-audio-card,codec {
  222. sound-dai = <&ak4643>;
  223. clocks = <&audio_clock>;
  224. };
  225. };
  226. hdmi-in {
  227. compatible = "hdmi-connector";
  228. type = "a";
  229. port {
  230. hdmi_con_in: endpoint {
  231. remote-endpoint = <&adv7612_in>;
  232. };
  233. };
  234. };
  235. hdmi-out {
  236. compatible = "hdmi-connector";
  237. type = "a";
  238. port {
  239. hdmi_con_out: endpoint {
  240. remote-endpoint = <&adv7511_out>;
  241. };
  242. };
  243. };
  244. composite-in {
  245. compatible = "composite-video-connector";
  246. port {
  247. composite_con_in: endpoint {
  248. remote-endpoint = <&adv7180_in>;
  249. };
  250. };
  251. };
  252. x2_clk: x2-clock {
  253. compatible = "fixed-clock";
  254. #clock-cells = <0>;
  255. clock-frequency = <74250000>;
  256. };
  257. x13_clk: x13-clock {
  258. compatible = "fixed-clock";
  259. #clock-cells = <0>;
  260. clock-frequency = <148500000>;
  261. };
  262. gpioi2c2: i2c-9 {
  263. #address-cells = <1>;
  264. #size-cells = <0>;
  265. compatible = "i2c-gpio";
  266. status = "disabled";
  267. scl-gpios = <&gpio2 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  268. sda-gpios = <&gpio2 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  269. i2c-gpio,delay-us = <5>;
  270. };
  271. gpioi2c4: i2c-10 {
  272. #address-cells = <1>;
  273. #size-cells = <0>;
  274. compatible = "i2c-gpio";
  275. status = "disabled";
  276. scl-gpios = <&gpio7 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  277. sda-gpios = <&gpio7 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  278. i2c-gpio,delay-us = <5>;
  279. };
  280. /*
  281. * A fallback to GPIO is provided for I2C2.
  282. */
  283. i2chdmi: i2c-11 {
  284. compatible = "i2c-demux-pinctrl";
  285. i2c-parent = <&i2c2>, <&gpioi2c2>;
  286. i2c-bus-name = "i2c-hdmi";
  287. #address-cells = <1>;
  288. #size-cells = <0>;
  289. ak4643: codec@12 {
  290. compatible = "asahi-kasei,ak4643";
  291. #sound-dai-cells = <0>;
  292. reg = <0x12>;
  293. };
  294. composite-in@20 {
  295. compatible = "adi,adv7180cp";
  296. reg = <0x20>;
  297. ports {
  298. #address-cells = <1>;
  299. #size-cells = <0>;
  300. port@0 {
  301. reg = <0>;
  302. adv7180_in: endpoint {
  303. remote-endpoint = <&composite_con_in>;
  304. };
  305. };
  306. port@3 {
  307. reg = <3>;
  308. adv7180_out: endpoint {
  309. bus-width = <8>;
  310. remote-endpoint = <&vin1ep>;
  311. };
  312. };
  313. };
  314. };
  315. hdmi@39 {
  316. compatible = "adi,adv7511w";
  317. reg = <0x39>;
  318. interrupt-parent = <&gpio3>;
  319. interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
  320. adi,input-depth = <8>;
  321. adi,input-colorspace = "rgb";
  322. adi,input-clock = "1x";
  323. ports {
  324. #address-cells = <1>;
  325. #size-cells = <0>;
  326. port@0 {
  327. reg = <0>;
  328. adv7511_in: endpoint {
  329. remote-endpoint = <&du_out_rgb>;
  330. };
  331. };
  332. port@1 {
  333. reg = <1>;
  334. adv7511_out: endpoint {
  335. remote-endpoint = <&hdmi_con_out>;
  336. };
  337. };
  338. };
  339. };
  340. hdmi-in@4c {
  341. compatible = "adi,adv7612";
  342. reg = <0x4c>;
  343. interrupt-parent = <&gpio4>;
  344. interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
  345. default-input = <0>;
  346. ports {
  347. #address-cells = <1>;
  348. #size-cells = <0>;
  349. port@0 {
  350. reg = <0>;
  351. adv7612_in: endpoint {
  352. remote-endpoint = <&hdmi_con_in>;
  353. };
  354. };
  355. port@2 {
  356. reg = <2>;
  357. adv7612_out: endpoint {
  358. remote-endpoint = <&vin0ep2>;
  359. };
  360. };
  361. };
  362. };
  363. eeprom@50 {
  364. compatible = "renesas,r1ex24002", "atmel,24c02";
  365. reg = <0x50>;
  366. pagesize = <16>;
  367. };
  368. };
  369. /*
  370. * I2C4 is routed to EXIO connector E, pins 37 (SCL) + 39 (SDA).
  371. * A fallback to GPIO is provided.
  372. */
  373. i2cexio4: i2c-12 {
  374. compatible = "i2c-demux-pinctrl";
  375. i2c-parent = <&i2c4>, <&gpioi2c4>;
  376. i2c-bus-name = "i2c-exio4";
  377. #address-cells = <1>;
  378. #size-cells = <0>;
  379. };
  380. };
  381. &du {
  382. pinctrl-0 = <&du_pins>;
  383. pinctrl-names = "default";
  384. status = "okay";
  385. clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
  386. <&x13_clk>, <&x2_clk>;
  387. clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
  388. ports {
  389. port@0 {
  390. endpoint {
  391. remote-endpoint = <&adv7511_in>;
  392. };
  393. };
  394. };
  395. };
  396. &lvds0 {
  397. ports {
  398. port@1 {
  399. lvds_connector: endpoint {
  400. };
  401. };
  402. };
  403. };
  404. &extal_clk {
  405. clock-frequency = <20000000>;
  406. };
  407. &pfc {
  408. pinctrl-0 = <&scif_clk_pins>;
  409. pinctrl-names = "default";
  410. i2c2_pins: i2c2 {
  411. groups = "i2c2";
  412. function = "i2c2";
  413. };
  414. i2c4_pins: i2c4 {
  415. groups = "i2c4_c";
  416. function = "i2c4";
  417. };
  418. du_pins: du {
  419. groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
  420. function = "du";
  421. };
  422. scif0_pins: scif0 {
  423. groups = "scif0_data_d";
  424. function = "scif0";
  425. };
  426. scif1_pins: scif1 {
  427. groups = "scif1_data_d";
  428. function = "scif1";
  429. };
  430. scif_clk_pins: scif_clk {
  431. groups = "scif_clk";
  432. function = "scif_clk";
  433. };
  434. ether_pins: ether {
  435. groups = "eth_link", "eth_mdio", "eth_rmii";
  436. function = "eth";
  437. };
  438. phy1_pins: phy1 {
  439. groups = "intc_irq0";
  440. function = "intc";
  441. };
  442. pmic_irq_pins: pmicirq {
  443. groups = "intc_irq2";
  444. function = "intc";
  445. };
  446. sdhi0_pins: sd0 {
  447. groups = "sdhi0_data4", "sdhi0_ctrl";
  448. function = "sdhi0";
  449. power-source = <3300>;
  450. };
  451. sdhi0_pins_uhs: sd0_uhs {
  452. groups = "sdhi0_data4", "sdhi0_ctrl";
  453. function = "sdhi0";
  454. power-source = <1800>;
  455. };
  456. sdhi1_pins: sd1 {
  457. groups = "sdhi1_data4", "sdhi1_ctrl";
  458. function = "sdhi1";
  459. power-source = <3300>;
  460. };
  461. sdhi1_pins_uhs: sd1_uhs {
  462. groups = "sdhi1_data4", "sdhi1_ctrl";
  463. function = "sdhi1";
  464. power-source = <1800>;
  465. };
  466. sdhi2_pins: sd2 {
  467. groups = "sdhi2_data4", "sdhi2_ctrl";
  468. function = "sdhi2";
  469. power-source = <3300>;
  470. };
  471. sdhi2_pins_uhs: sd2_uhs {
  472. groups = "sdhi2_data4", "sdhi2_ctrl";
  473. function = "sdhi2";
  474. power-source = <1800>;
  475. };
  476. qspi_pins: qspi {
  477. groups = "qspi_ctrl", "qspi_data4";
  478. function = "qspi";
  479. };
  480. sound_pins: sound {
  481. groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
  482. function = "ssi";
  483. };
  484. sound_clk_pins: sound_clk {
  485. groups = "audio_clk_a";
  486. function = "audio_clk";
  487. };
  488. keyboard_pins: keyboard {
  489. pins = "GP_5_0", "GP_5_1", "GP_5_2", "GP_5_3";
  490. bias-pull-up;
  491. };
  492. vin0_pins: vin0 {
  493. groups = "vin0_data24", "vin0_sync", "vin0_clkenb", "vin0_clk";
  494. function = "vin0";
  495. };
  496. vin1_pins: vin1 {
  497. groups = "vin1_data8", "vin1_clk";
  498. function = "vin1";
  499. };
  500. };
  501. &ether {
  502. pinctrl-0 = <&ether_pins>, <&phy1_pins>;
  503. pinctrl-names = "default";
  504. phy-handle = <&phy1>;
  505. renesas,ether-link-active-low;
  506. status = "okay";
  507. phy1: ethernet-phy@1 {
  508. compatible = "ethernet-phy-id0022.1537",
  509. "ethernet-phy-ieee802.3-c22";
  510. reg = <1>;
  511. interrupt-parent = <&irqc0>;
  512. interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
  513. micrel,led-mode = <1>;
  514. reset-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
  515. };
  516. };
  517. &cmt0 {
  518. status = "okay";
  519. };
  520. &cpu0 {
  521. cpu0-supply = <&vdd_dvfs>;
  522. };
  523. &rwdt {
  524. timeout-sec = <60>;
  525. status = "okay";
  526. };
  527. &scif0 {
  528. pinctrl-0 = <&scif0_pins>;
  529. pinctrl-names = "default";
  530. status = "okay";
  531. };
  532. &scif1 {
  533. pinctrl-0 = <&scif1_pins>;
  534. pinctrl-names = "default";
  535. status = "okay";
  536. };
  537. &scif_clk {
  538. clock-frequency = <14745600>;
  539. };
  540. &sdhi0 {
  541. pinctrl-0 = <&sdhi0_pins>;
  542. pinctrl-1 = <&sdhi0_pins_uhs>;
  543. pinctrl-names = "default", "state_uhs";
  544. vmmc-supply = <&vcc_sdhi0>;
  545. vqmmc-supply = <&vccq_sdhi0>;
  546. cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
  547. wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
  548. sd-uhs-sdr50;
  549. sd-uhs-sdr104;
  550. status = "okay";
  551. };
  552. &sdhi1 {
  553. pinctrl-0 = <&sdhi1_pins>;
  554. pinctrl-1 = <&sdhi1_pins_uhs>;
  555. pinctrl-names = "default", "state_uhs";
  556. vmmc-supply = <&vcc_sdhi1>;
  557. vqmmc-supply = <&vccq_sdhi1>;
  558. cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
  559. wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
  560. sd-uhs-sdr50;
  561. status = "okay";
  562. };
  563. &sdhi2 {
  564. pinctrl-0 = <&sdhi2_pins>;
  565. pinctrl-1 = <&sdhi2_pins_uhs>;
  566. pinctrl-names = "default", "state_uhs";
  567. vmmc-supply = <&vcc_sdhi2>;
  568. vqmmc-supply = <&vccq_sdhi2>;
  569. cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
  570. sd-uhs-sdr50;
  571. status = "okay";
  572. };
  573. &qspi {
  574. pinctrl-0 = <&qspi_pins>;
  575. pinctrl-names = "default";
  576. status = "okay";
  577. flash@0 {
  578. compatible = "spansion,s25fl512s", "jedec,spi-nor";
  579. reg = <0>;
  580. spi-max-frequency = <30000000>;
  581. spi-tx-bus-width = <4>;
  582. spi-rx-bus-width = <4>;
  583. spi-cpol;
  584. spi-cpha;
  585. m25p,fast-read;
  586. partitions {
  587. compatible = "fixed-partitions";
  588. #address-cells = <1>;
  589. #size-cells = <1>;
  590. partition@0 {
  591. label = "loader";
  592. reg = <0x00000000 0x00040000>;
  593. read-only;
  594. };
  595. partition@40000 {
  596. label = "user";
  597. reg = <0x00040000 0x00400000>;
  598. read-only;
  599. };
  600. partition@440000 {
  601. label = "flash";
  602. reg = <0x00440000 0x03bc0000>;
  603. };
  604. };
  605. };
  606. };
  607. &i2c2 {
  608. pinctrl-0 = <&i2c2_pins>;
  609. pinctrl-names = "i2c-hdmi";
  610. status = "okay";
  611. clock-frequency = <100000>;
  612. };
  613. &i2c6 {
  614. pinctrl-names = "default";
  615. pinctrl-0 = <&pmic_irq_pins>;
  616. status = "okay";
  617. clock-frequency = <100000>;
  618. pmic@58 {
  619. compatible = "dlg,da9063";
  620. reg = <0x58>;
  621. interrupt-parent = <&irqc0>;
  622. interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
  623. interrupt-controller;
  624. rtc {
  625. compatible = "dlg,da9063-rtc";
  626. };
  627. watchdog {
  628. compatible = "dlg,da9063-watchdog";
  629. };
  630. };
  631. vdd_dvfs: regulator@68 {
  632. compatible = "dlg,da9210";
  633. reg = <0x68>;
  634. interrupt-parent = <&irqc0>;
  635. interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
  636. regulator-min-microvolt = <1000000>;
  637. regulator-max-microvolt = <1000000>;
  638. regulator-boot-on;
  639. regulator-always-on;
  640. };
  641. };
  642. &i2c4 {
  643. pinctrl-0 = <&i2c4_pins>;
  644. pinctrl-names = "i2c-exio4";
  645. };
  646. &rcar_sound {
  647. pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
  648. pinctrl-names = "default";
  649. /* Single DAI */
  650. #sound-dai-cells = <0>;
  651. status = "okay";
  652. rcar_sound,dai {
  653. dai0 {
  654. playback = <&ssi0>, <&src2>, <&dvc0>;
  655. capture = <&ssi1>, <&src3>, <&dvc1>;
  656. };
  657. };
  658. };
  659. &ssi1 {
  660. shared-pin;
  661. };
  662. /* HDMI video input */
  663. &vin0 {
  664. status = "okay";
  665. pinctrl-0 = <&vin0_pins>;
  666. pinctrl-names = "default";
  667. port {
  668. vin0ep2: endpoint {
  669. remote-endpoint = <&adv7612_out>;
  670. bus-width = <24>;
  671. hsync-active = <0>;
  672. vsync-active = <0>;
  673. pclk-sample = <1>;
  674. data-active = <1>;
  675. };
  676. };
  677. };
  678. /* composite video input */
  679. &vin1 {
  680. pinctrl-0 = <&vin1_pins>;
  681. pinctrl-names = "default";
  682. status = "okay";
  683. port {
  684. vin1ep: endpoint {
  685. remote-endpoint = <&adv7180_out>;
  686. bus-width = <8>;
  687. };
  688. };
  689. };