r8a7790-lager.dts 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the Lager board
  4. *
  5. * Copyright (C) 2013-2014 Renesas Solutions Corp.
  6. * Copyright (C) 2014 Cogent Embedded, Inc.
  7. * Copyright (C) 2015-2016 Renesas Electronics Corporation
  8. */
  9. /*
  10. * SSI-AK4643
  11. *
  12. * SW1: 1: AK4643
  13. * 2: CN22
  14. * 3: ADV7511
  15. *
  16. * This command is required when Playback/Capture
  17. *
  18. * amixer set "LINEOUT Mixer DACL" on
  19. * amixer set "DVC Out" 100%
  20. * amixer set "DVC In" 100%
  21. *
  22. * You can use Mute
  23. *
  24. * amixer set "DVC Out Mute" on
  25. * amixer set "DVC In Mute" on
  26. *
  27. * You can use Volume Ramp
  28. *
  29. * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
  30. * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
  31. * amixer set "DVC Out Ramp" on
  32. * aplay xxx.wav &
  33. * amixer set "DVC Out" 80% // Volume Down
  34. * amixer set "DVC Out" 100% // Volume Up
  35. */
  36. /dts-v1/;
  37. #include "r8a7790.dtsi"
  38. #include <dt-bindings/gpio/gpio.h>
  39. #include <dt-bindings/input/input.h>
  40. / {
  41. model = "Lager";
  42. compatible = "renesas,lager", "renesas,r8a7790";
  43. aliases {
  44. serial0 = &scif0;
  45. serial1 = &scifa1;
  46. i2c8 = &gpioi2c1;
  47. i2c9 = &gpioi2c2;
  48. i2c10 = &i2cexio0;
  49. i2c11 = &i2cexio1;
  50. i2c12 = &i2chdmi;
  51. i2c13 = &i2cpwr;
  52. mmc0 = &mmcif1;
  53. mmc1 = &sdhi0;
  54. mmc2 = &sdhi2;
  55. };
  56. chosen {
  57. bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
  58. stdout-path = "serial0:115200n8";
  59. };
  60. memory@40000000 {
  61. device_type = "memory";
  62. reg = <0 0x40000000 0 0x40000000>;
  63. };
  64. memory@140000000 {
  65. device_type = "memory";
  66. reg = <1 0x40000000 0 0xc0000000>;
  67. };
  68. lbsc {
  69. #address-cells = <1>;
  70. #size-cells = <1>;
  71. };
  72. keyboard {
  73. compatible = "gpio-keys";
  74. pinctrl-0 = <&keyboard_pins>;
  75. pinctrl-names = "default";
  76. one {
  77. linux,code = <KEY_1>;
  78. label = "SW2-1";
  79. wakeup-source;
  80. debounce-interval = <20>;
  81. gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
  82. };
  83. two {
  84. linux,code = <KEY_2>;
  85. label = "SW2-2";
  86. wakeup-source;
  87. debounce-interval = <20>;
  88. gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
  89. };
  90. three {
  91. linux,code = <KEY_3>;
  92. label = "SW2-3";
  93. wakeup-source;
  94. debounce-interval = <20>;
  95. gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
  96. };
  97. four {
  98. linux,code = <KEY_4>;
  99. label = "SW2-4";
  100. wakeup-source;
  101. debounce-interval = <20>;
  102. gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
  103. };
  104. };
  105. leds {
  106. compatible = "gpio-leds";
  107. led6 {
  108. gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
  109. };
  110. led7 {
  111. gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>;
  112. };
  113. led8 {
  114. gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
  115. };
  116. };
  117. fixedregulator3v3: regulator-3v3 {
  118. compatible = "regulator-fixed";
  119. regulator-name = "fixed-3.3V";
  120. regulator-min-microvolt = <3300000>;
  121. regulator-max-microvolt = <3300000>;
  122. regulator-boot-on;
  123. regulator-always-on;
  124. };
  125. vcc_sdhi0: regulator-vcc-sdhi0 {
  126. compatible = "regulator-fixed";
  127. regulator-name = "SDHI0 Vcc";
  128. regulator-min-microvolt = <3300000>;
  129. regulator-max-microvolt = <3300000>;
  130. gpio = <&gpio5 24 GPIO_ACTIVE_HIGH>;
  131. enable-active-high;
  132. };
  133. vccq_sdhi0: regulator-vccq-sdhi0 {
  134. compatible = "regulator-gpio";
  135. regulator-name = "SDHI0 VccQ";
  136. regulator-min-microvolt = <1800000>;
  137. regulator-max-microvolt = <3300000>;
  138. gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
  139. gpios-states = <1>;
  140. states = <3300000 1>, <1800000 0>;
  141. };
  142. vcc_sdhi2: regulator-vcc-sdhi2 {
  143. compatible = "regulator-fixed";
  144. regulator-name = "SDHI2 Vcc";
  145. regulator-min-microvolt = <3300000>;
  146. regulator-max-microvolt = <3300000>;
  147. gpio = <&gpio5 25 GPIO_ACTIVE_HIGH>;
  148. enable-active-high;
  149. };
  150. vccq_sdhi2: regulator-vccq-sdhi2 {
  151. compatible = "regulator-gpio";
  152. regulator-name = "SDHI2 VccQ";
  153. regulator-min-microvolt = <1800000>;
  154. regulator-max-microvolt = <3300000>;
  155. gpios = <&gpio5 30 GPIO_ACTIVE_HIGH>;
  156. gpios-states = <1>;
  157. states = <3300000 1>, <1800000 0>;
  158. };
  159. audio_clock: audio_clock {
  160. compatible = "fixed-clock";
  161. #clock-cells = <0>;
  162. clock-frequency = <11289600>;
  163. };
  164. rsnd_ak4643: sound {
  165. compatible = "simple-audio-card";
  166. simple-audio-card,format = "left_j";
  167. simple-audio-card,bitclock-master = <&sndcodec>;
  168. simple-audio-card,frame-master = <&sndcodec>;
  169. sndcpu: simple-audio-card,cpu {
  170. sound-dai = <&rcar_sound>;
  171. };
  172. sndcodec: simple-audio-card,codec {
  173. sound-dai = <&ak4643>;
  174. clocks = <&audio_clock>;
  175. };
  176. };
  177. vga-encoder {
  178. compatible = "adi,adv7123";
  179. ports {
  180. #address-cells = <1>;
  181. #size-cells = <0>;
  182. port@0 {
  183. reg = <0>;
  184. adv7123_in: endpoint {
  185. remote-endpoint = <&du_out_rgb>;
  186. };
  187. };
  188. port@1 {
  189. reg = <1>;
  190. adv7123_out: endpoint {
  191. remote-endpoint = <&vga_in>;
  192. };
  193. };
  194. };
  195. };
  196. vga {
  197. compatible = "vga-connector";
  198. port {
  199. vga_in: endpoint {
  200. remote-endpoint = <&adv7123_out>;
  201. };
  202. };
  203. };
  204. hdmi-in {
  205. compatible = "hdmi-connector";
  206. type = "a";
  207. port {
  208. hdmi_con_in: endpoint {
  209. remote-endpoint = <&adv7612_in>;
  210. };
  211. };
  212. };
  213. cec_clock: cec-clock {
  214. compatible = "fixed-clock";
  215. #clock-cells = <0>;
  216. clock-frequency = <12000000>;
  217. };
  218. hdmi-out {
  219. compatible = "hdmi-connector";
  220. type = "a";
  221. port {
  222. hdmi_con_out: endpoint {
  223. remote-endpoint = <&adv7511_out>;
  224. };
  225. };
  226. };
  227. x2_clk: x2-clock {
  228. compatible = "fixed-clock";
  229. #clock-cells = <0>;
  230. clock-frequency = <148500000>;
  231. };
  232. x13_clk: x13-clock {
  233. compatible = "fixed-clock";
  234. #clock-cells = <0>;
  235. clock-frequency = <148500000>;
  236. };
  237. gpioi2c1: i2c-8 {
  238. #address-cells = <1>;
  239. #size-cells = <0>;
  240. compatible = "i2c-gpio";
  241. status = "disabled";
  242. scl-gpios = <&gpio1 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  243. sda-gpios = <&gpio1 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  244. i2c-gpio,delay-us = <5>;
  245. };
  246. gpioi2c2: i2c-9 {
  247. #address-cells = <1>;
  248. #size-cells = <0>;
  249. compatible = "i2c-gpio";
  250. status = "disabled";
  251. scl-gpios = <&gpio5 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  252. sda-gpios = <&gpio5 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
  253. i2c-gpio,delay-us = <5>;
  254. };
  255. /*
  256. * IIC0/I2C0 is routed to EXIO connector A, pins 114 (SCL) + 116 (SDA) only.
  257. * We use the I2C demuxer, so the desired IP core can be selected at runtime
  258. * depending on the use case (e.g. DMA with IIC0 or slave support with I2C0).
  259. * Note: For testing the I2C slave feature, it is convenient to connect this
  260. * bus with IIC3 on pins 110 (SCL) + 112 (SDA), select I2C0 at runtime, and
  261. * instantiate the slave device at runtime according to the documentation.
  262. * You can then communicate with the slave via IIC3.
  263. *
  264. * IIC0/I2C0 does not appear to support fallback to GPIO.
  265. */
  266. i2cexio0: i2c-10 {
  267. compatible = "i2c-demux-pinctrl";
  268. i2c-parent = <&iic0>, <&i2c0>;
  269. i2c-bus-name = "i2c-exio0";
  270. #address-cells = <1>;
  271. #size-cells = <0>;
  272. };
  273. /*
  274. * IIC1/I2C1 is routed to EXIO connector A, pins 78 (SCL) + 80 (SDA).
  275. * This is similar to the arangement described for i2cexio0 (above)
  276. * with a fallback to GPIO also provided.
  277. */
  278. i2cexio1: i2c-11 {
  279. compatible = "i2c-demux-pinctrl";
  280. i2c-parent = <&iic1>, <&i2c1>, <&gpioi2c1>;
  281. i2c-bus-name = "i2c-exio1";
  282. #address-cells = <1>;
  283. #size-cells = <0>;
  284. };
  285. /*
  286. * IIC2 and I2C2 may be switched using pinmux.
  287. * A fallback to GPIO is also provided.
  288. */
  289. i2chdmi: i2c-12 {
  290. compatible = "i2c-demux-pinctrl";
  291. i2c-parent = <&iic2>, <&i2c2>, <&gpioi2c2>;
  292. i2c-bus-name = "i2c-hdmi";
  293. #address-cells = <1>;
  294. #size-cells = <0>;
  295. ak4643: codec@12 {
  296. compatible = "asahi-kasei,ak4643";
  297. #sound-dai-cells = <0>;
  298. reg = <0x12>;
  299. };
  300. composite-in@20 {
  301. compatible = "adi,adv7180";
  302. reg = <0x20>;
  303. port {
  304. adv7180: endpoint {
  305. bus-width = <8>;
  306. remote-endpoint = <&vin1ep0>;
  307. };
  308. };
  309. };
  310. hdmi@39 {
  311. compatible = "adi,adv7511w";
  312. reg = <0x39>;
  313. interrupt-parent = <&gpio1>;
  314. interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
  315. clocks = <&cec_clock>;
  316. clock-names = "cec";
  317. adi,input-depth = <8>;
  318. adi,input-colorspace = "rgb";
  319. adi,input-clock = "1x";
  320. ports {
  321. #address-cells = <1>;
  322. #size-cells = <0>;
  323. port@0 {
  324. reg = <0>;
  325. adv7511_in: endpoint {
  326. remote-endpoint = <&lvds0_out>;
  327. };
  328. };
  329. port@1 {
  330. reg = <1>;
  331. adv7511_out: endpoint {
  332. remote-endpoint = <&hdmi_con_out>;
  333. };
  334. };
  335. };
  336. };
  337. hdmi-in@4c {
  338. compatible = "adi,adv7612";
  339. reg = <0x4c>;
  340. interrupt-parent = <&gpio1>;
  341. interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
  342. default-input = <0>;
  343. ports {
  344. #address-cells = <1>;
  345. #size-cells = <0>;
  346. port@0 {
  347. reg = <0>;
  348. adv7612_in: endpoint {
  349. remote-endpoint = <&hdmi_con_in>;
  350. };
  351. };
  352. port@2 {
  353. reg = <2>;
  354. adv7612_out: endpoint {
  355. remote-endpoint = <&vin0ep2>;
  356. };
  357. };
  358. };
  359. };
  360. };
  361. /*
  362. * IIC3 and I2C3 may be switched using pinmux.
  363. * IIC3/I2C3 does not appear to support fallback to GPIO.
  364. */
  365. i2cpwr: i2c-13 {
  366. compatible = "i2c-demux-pinctrl";
  367. pinctrl-names = "default";
  368. pinctrl-0 = <&pmic_irq_pins>;
  369. i2c-parent = <&iic3>, <&i2c3>;
  370. i2c-bus-name = "i2c-pwr";
  371. #address-cells = <1>;
  372. #size-cells = <0>;
  373. pmic@58 {
  374. compatible = "dlg,da9063";
  375. reg = <0x58>;
  376. interrupt-parent = <&irqc0>;
  377. interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
  378. interrupt-controller;
  379. rtc {
  380. compatible = "dlg,da9063-rtc";
  381. };
  382. watchdog {
  383. compatible = "dlg,da9063-watchdog";
  384. };
  385. };
  386. vdd_dvfs: regulator@68 {
  387. compatible = "dlg,da9210";
  388. reg = <0x68>;
  389. interrupt-parent = <&irqc0>;
  390. interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
  391. regulator-min-microvolt = <1000000>;
  392. regulator-max-microvolt = <1000000>;
  393. regulator-boot-on;
  394. regulator-always-on;
  395. };
  396. };
  397. };
  398. &du {
  399. pinctrl-0 = <&du_pins>;
  400. pinctrl-names = "default";
  401. status = "okay";
  402. clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&cpg CPG_MOD 722>,
  403. <&x13_clk>, <&x2_clk>;
  404. clock-names = "du.0", "du.1", "du.2", "dclkin.0", "dclkin.1";
  405. ports {
  406. port@0 {
  407. endpoint {
  408. remote-endpoint = <&adv7123_in>;
  409. };
  410. };
  411. };
  412. };
  413. &lvds0 {
  414. status = "okay";
  415. ports {
  416. port@1 {
  417. endpoint {
  418. remote-endpoint = <&adv7511_in>;
  419. };
  420. };
  421. };
  422. };
  423. &lvds1 {
  424. ports {
  425. port@1 {
  426. lvds_connector: endpoint {
  427. };
  428. };
  429. };
  430. };
  431. &extal_clk {
  432. clock-frequency = <20000000>;
  433. };
  434. &pfc {
  435. pinctrl-0 = <&scif_clk_pins>;
  436. pinctrl-names = "default";
  437. du_pins: du {
  438. groups = "du_rgb666", "du_sync_1", "du_clk_out_0";
  439. function = "du";
  440. };
  441. scif0_pins: scif0 {
  442. groups = "scif0_data";
  443. function = "scif0";
  444. };
  445. scif_clk_pins: scif_clk {
  446. groups = "scif_clk";
  447. function = "scif_clk";
  448. };
  449. ether_pins: ether {
  450. groups = "eth_link", "eth_mdio", "eth_rmii";
  451. function = "eth";
  452. };
  453. phy1_pins: phy1 {
  454. groups = "intc_irq0";
  455. function = "intc";
  456. };
  457. scifa1_pins: scifa1 {
  458. groups = "scifa1_data";
  459. function = "scifa1";
  460. };
  461. sdhi0_pins: sd0 {
  462. groups = "sdhi0_data4", "sdhi0_ctrl";
  463. function = "sdhi0";
  464. power-source = <3300>;
  465. };
  466. sdhi0_pins_uhs: sd0_uhs {
  467. groups = "sdhi0_data4", "sdhi0_ctrl";
  468. function = "sdhi0";
  469. power-source = <1800>;
  470. };
  471. sdhi2_pins: sd2 {
  472. groups = "sdhi2_data4", "sdhi2_ctrl";
  473. function = "sdhi2";
  474. power-source = <3300>;
  475. };
  476. sdhi2_pins_uhs: sd2_uhs {
  477. groups = "sdhi2_data4", "sdhi2_ctrl";
  478. function = "sdhi2";
  479. power-source = <1800>;
  480. };
  481. mmc1_pins: mmc1 {
  482. groups = "mmc1_data8", "mmc1_ctrl";
  483. function = "mmc1";
  484. };
  485. qspi_pins: qspi {
  486. groups = "qspi_ctrl", "qspi_data4";
  487. function = "qspi";
  488. };
  489. msiof1_pins: msiof1 {
  490. groups = "msiof1_clk", "msiof1_sync", "msiof1_rx",
  491. "msiof1_tx";
  492. function = "msiof1";
  493. };
  494. i2c0_pins: i2c0 {
  495. groups = "i2c0";
  496. function = "i2c0";
  497. };
  498. iic0_pins: iic0 {
  499. groups = "iic0";
  500. function = "iic0";
  501. };
  502. i2c1_pins: i2c1 {
  503. groups = "i2c1";
  504. function = "i2c1";
  505. };
  506. iic1_pins: iic1 {
  507. groups = "iic1";
  508. function = "iic1";
  509. };
  510. i2c2_pins: i2c2 {
  511. groups = "i2c2";
  512. function = "i2c2";
  513. };
  514. iic2_pins: iic2 {
  515. groups = "iic2";
  516. function = "iic2";
  517. };
  518. i2c3_pins: i2c3 {
  519. groups = "i2c3";
  520. function = "i2c3";
  521. };
  522. iic3_pins: iic3 {
  523. groups = "iic3";
  524. function = "iic3";
  525. };
  526. pmic_irq_pins: pmicirq {
  527. groups = "intc_irq2";
  528. function = "intc";
  529. };
  530. hsusb_pins: hsusb {
  531. groups = "usb0_ovc_vbus";
  532. function = "usb0";
  533. };
  534. usb0_pins: usb0 {
  535. groups = "usb0";
  536. function = "usb0";
  537. };
  538. usb1_pins: usb1 {
  539. groups = "usb1";
  540. function = "usb1";
  541. };
  542. usb2_pins: usb2 {
  543. groups = "usb2";
  544. function = "usb2";
  545. };
  546. vin0_pins: vin0 {
  547. groups = "vin0_data24", "vin0_sync", "vin0_clkenb", "vin0_clk";
  548. function = "vin0";
  549. };
  550. vin1_pins: vin1 {
  551. groups = "vin1_data8", "vin1_clk";
  552. function = "vin1";
  553. };
  554. sound_pins: sound {
  555. groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
  556. function = "ssi";
  557. };
  558. sound_clk_pins: sound_clk {
  559. groups = "audio_clk_a";
  560. function = "audio_clk";
  561. };
  562. keyboard_pins: keyboard {
  563. pins = "GP_1_14", "GP_1_24", "GP_1_26", "GP_1_28";
  564. bias-pull-up;
  565. };
  566. };
  567. &ether {
  568. pinctrl-0 = <&ether_pins>, <&phy1_pins>;
  569. pinctrl-names = "default";
  570. phy-handle = <&phy1>;
  571. renesas,ether-link-active-low;
  572. status = "okay";
  573. phy1: ethernet-phy@1 {
  574. compatible = "ethernet-phy-id0022.1537",
  575. "ethernet-phy-ieee802.3-c22";
  576. reg = <1>;
  577. interrupt-parent = <&irqc0>;
  578. interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
  579. micrel,led-mode = <1>;
  580. reset-gpios = <&gpio5 31 GPIO_ACTIVE_LOW>;
  581. };
  582. };
  583. &cmt0 {
  584. status = "okay";
  585. };
  586. &mmcif1 {
  587. pinctrl-0 = <&mmc1_pins>;
  588. pinctrl-names = "default";
  589. vmmc-supply = <&fixedregulator3v3>;
  590. bus-width = <8>;
  591. non-removable;
  592. status = "okay";
  593. };
  594. &sata1 {
  595. status = "okay";
  596. };
  597. &qspi {
  598. pinctrl-0 = <&qspi_pins>;
  599. pinctrl-names = "default";
  600. status = "okay";
  601. flash: flash@0 {
  602. compatible = "spansion,s25fl512s", "jedec,spi-nor";
  603. reg = <0>;
  604. spi-max-frequency = <30000000>;
  605. spi-tx-bus-width = <4>;
  606. spi-rx-bus-width = <4>;
  607. spi-cpha;
  608. spi-cpol;
  609. m25p,fast-read;
  610. partitions {
  611. compatible = "fixed-partitions";
  612. #address-cells = <1>;
  613. #size-cells = <1>;
  614. partition@0 {
  615. label = "loader";
  616. reg = <0x00000000 0x00040000>;
  617. read-only;
  618. };
  619. partition@40000 {
  620. label = "user";
  621. reg = <0x00040000 0x00400000>;
  622. read-only;
  623. };
  624. partition@440000 {
  625. label = "flash";
  626. reg = <0x00440000 0x03bc0000>;
  627. };
  628. };
  629. };
  630. };
  631. &scif0 {
  632. pinctrl-0 = <&scif0_pins>;
  633. pinctrl-names = "default";
  634. status = "okay";
  635. };
  636. &scifa1 {
  637. pinctrl-0 = <&scifa1_pins>;
  638. pinctrl-names = "default";
  639. status = "okay";
  640. };
  641. &scif_clk {
  642. clock-frequency = <14745600>;
  643. };
  644. &msiof1 {
  645. pinctrl-0 = <&msiof1_pins>;
  646. pinctrl-names = "default";
  647. status = "okay";
  648. pmic: pmic@0 {
  649. compatible = "renesas,r2a11302ft";
  650. reg = <0>;
  651. spi-max-frequency = <6000000>;
  652. spi-cpol;
  653. spi-cpha;
  654. };
  655. };
  656. &sdhi0 {
  657. pinctrl-0 = <&sdhi0_pins>;
  658. pinctrl-1 = <&sdhi0_pins_uhs>;
  659. pinctrl-names = "default", "state_uhs";
  660. vmmc-supply = <&vcc_sdhi0>;
  661. vqmmc-supply = <&vccq_sdhi0>;
  662. cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
  663. sd-uhs-sdr50;
  664. sd-uhs-sdr104;
  665. status = "okay";
  666. };
  667. &sdhi2 {
  668. pinctrl-0 = <&sdhi2_pins>;
  669. pinctrl-1 = <&sdhi2_pins_uhs>;
  670. pinctrl-names = "default", "state_uhs";
  671. vmmc-supply = <&vcc_sdhi2>;
  672. vqmmc-supply = <&vccq_sdhi2>;
  673. cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>;
  674. sd-uhs-sdr50;
  675. status = "okay";
  676. };
  677. &cpu0 {
  678. cpu0-supply = <&vdd_dvfs>;
  679. };
  680. &i2c0 {
  681. pinctrl-0 = <&i2c0_pins>;
  682. pinctrl-names = "i2c-exio0";
  683. };
  684. &iic0 {
  685. pinctrl-0 = <&iic0_pins>;
  686. pinctrl-names = "i2c-exio0";
  687. };
  688. &i2c1 {
  689. pinctrl-0 = <&i2c1_pins>;
  690. pinctrl-names = "i2c-exio1";
  691. };
  692. &iic1 {
  693. pinctrl-0 = <&iic1_pins>;
  694. pinctrl-names = "i2c-exio1";
  695. };
  696. &i2c2 {
  697. pinctrl-0 = <&i2c2_pins>;
  698. pinctrl-names = "i2c-hdmi";
  699. clock-frequency = <100000>;
  700. };
  701. &iic2 {
  702. pinctrl-0 = <&iic2_pins>;
  703. pinctrl-names = "i2c-hdmi";
  704. clock-frequency = <100000>;
  705. };
  706. &i2c3 {
  707. pinctrl-0 = <&i2c3_pins>;
  708. pinctrl-names = "i2c-pwr";
  709. };
  710. &iic3 {
  711. pinctrl-0 = <&iic3_pins>;
  712. pinctrl-names = "i2c-pwr";
  713. };
  714. &pci0 {
  715. status = "okay";
  716. pinctrl-0 = <&usb0_pins>;
  717. pinctrl-names = "default";
  718. };
  719. &pci1 {
  720. status = "okay";
  721. pinctrl-0 = <&usb1_pins>;
  722. pinctrl-names = "default";
  723. };
  724. &xhci {
  725. status = "okay";
  726. pinctrl-0 = <&usb2_pins>;
  727. pinctrl-names = "default";
  728. };
  729. &pci2 {
  730. status = "okay";
  731. pinctrl-0 = <&usb2_pins>;
  732. pinctrl-names = "default";
  733. };
  734. &hsusb {
  735. status = "okay";
  736. pinctrl-0 = <&hsusb_pins>;
  737. pinctrl-names = "default";
  738. renesas,enable-gpio = <&gpio5 18 GPIO_ACTIVE_HIGH>;
  739. };
  740. &usbphy {
  741. status = "okay";
  742. };
  743. /* HDMI video input */
  744. &vin0 {
  745. pinctrl-0 = <&vin0_pins>;
  746. pinctrl-names = "default";
  747. status = "okay";
  748. port {
  749. vin0ep2: endpoint {
  750. remote-endpoint = <&adv7612_out>;
  751. bus-width = <24>;
  752. hsync-active = <0>;
  753. vsync-active = <0>;
  754. pclk-sample = <1>;
  755. data-active = <1>;
  756. };
  757. };
  758. };
  759. /* composite video input */
  760. &vin1 {
  761. pinctrl-0 = <&vin1_pins>;
  762. pinctrl-names = "default";
  763. status = "okay";
  764. port {
  765. vin1ep0: endpoint {
  766. remote-endpoint = <&adv7180>;
  767. bus-width = <8>;
  768. };
  769. };
  770. };
  771. &rcar_sound {
  772. pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
  773. pinctrl-names = "default";
  774. /* Single DAI */
  775. #sound-dai-cells = <0>;
  776. status = "okay";
  777. rcar_sound,dai {
  778. dai0 {
  779. playback = <&ssi0>, <&src2>, <&dvc0>;
  780. capture = <&ssi1>, <&src3>, <&dvc1>;
  781. };
  782. };
  783. };
  784. &rwdt {
  785. timeout-sec = <60>;
  786. status = "okay";
  787. };
  788. &ssi1 {
  789. shared-pin;
  790. };