r8a7791-koelsch.dts 16 KB

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