ebisu.dtsi 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Device Tree Source for the Ebisu board
  4. *
  5. * Copyright (C) 2018 Renesas Electronics Corp.
  6. */
  7. #include <dt-bindings/gpio/gpio.h>
  8. #include <dt-bindings/input/input.h>
  9. / {
  10. model = "Renesas Ebisu board";
  11. compatible = "renesas,ebisu";
  12. aliases {
  13. i2c0 = &i2c0;
  14. i2c1 = &i2c1;
  15. i2c2 = &i2c2;
  16. i2c3 = &i2c3;
  17. i2c4 = &i2c4;
  18. i2c5 = &i2c5;
  19. i2c6 = &i2c6;
  20. i2c7 = &i2c7;
  21. serial0 = &scif2;
  22. ethernet0 = &avb;
  23. mmc0 = &sdhi3;
  24. mmc1 = &sdhi0;
  25. mmc2 = &sdhi1;
  26. };
  27. chosen {
  28. bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
  29. stdout-path = "serial0:115200n8";
  30. };
  31. audio_clkout: audio-clkout {
  32. /*
  33. * This is same as <&rcar_sound 0>
  34. * but needed to avoid cs2000/rcar_sound probe dead-lock
  35. */
  36. compatible = "fixed-clock";
  37. #clock-cells = <0>;
  38. clock-frequency = <11289600>;
  39. };
  40. backlight: backlight {
  41. compatible = "pwm-backlight";
  42. pwms = <&pwm3 0 50000>;
  43. brightness-levels = <512 511 505 494 473 440 392 327 241 133 0>;
  44. default-brightness-level = <10>;
  45. power-supply = <&reg_12p0v>;
  46. };
  47. cvbs-in {
  48. compatible = "composite-video-connector";
  49. label = "CVBS IN";
  50. port {
  51. cvbs_con: endpoint {
  52. remote-endpoint = <&adv7482_ain7>;
  53. };
  54. };
  55. };
  56. hdmi-in {
  57. compatible = "hdmi-connector";
  58. label = "HDMI IN";
  59. type = "a";
  60. port {
  61. hdmi_in_con: endpoint {
  62. remote-endpoint = <&adv7482_hdmi>;
  63. };
  64. };
  65. };
  66. hdmi-out {
  67. compatible = "hdmi-connector";
  68. type = "a";
  69. port {
  70. hdmi_con_out: endpoint {
  71. remote-endpoint = <&adv7511_out>;
  72. };
  73. };
  74. };
  75. keys {
  76. compatible = "gpio-keys";
  77. pinctrl-0 = <&keys_pins>;
  78. pinctrl-names = "default";
  79. key-1 {
  80. gpios = <&gpio5 10 GPIO_ACTIVE_LOW>;
  81. linux,code = <KEY_1>;
  82. label = "SW4-1";
  83. wakeup-source;
  84. debounce-interval = <20>;
  85. };
  86. key-2 {
  87. gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
  88. linux,code = <KEY_2>;
  89. label = "SW4-2";
  90. wakeup-source;
  91. debounce-interval = <20>;
  92. };
  93. key-3 {
  94. gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
  95. linux,code = <KEY_3>;
  96. label = "SW4-3";
  97. wakeup-source;
  98. debounce-interval = <20>;
  99. };
  100. key-4 {
  101. gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
  102. linux,code = <KEY_4>;
  103. label = "SW4-4";
  104. wakeup-source;
  105. debounce-interval = <20>;
  106. };
  107. };
  108. lvds-decoder {
  109. compatible = "thine,thc63lvd1024";
  110. vcc-supply = <&reg_3p3v>;
  111. ports {
  112. #address-cells = <1>;
  113. #size-cells = <0>;
  114. port@0 {
  115. reg = <0>;
  116. thc63lvd1024_in: endpoint {
  117. remote-endpoint = <&lvds0_out>;
  118. };
  119. };
  120. port@2 {
  121. reg = <2>;
  122. thc63lvd1024_out: endpoint {
  123. remote-endpoint = <&adv7511_in>;
  124. };
  125. };
  126. };
  127. };
  128. memory@48000000 {
  129. device_type = "memory";
  130. /* first 128MB is reserved for secure area. */
  131. reg = <0x0 0x48000000 0x0 0x38000000>;
  132. };
  133. reg_1p8v: regulator-1p8v {
  134. compatible = "regulator-fixed";
  135. regulator-name = "fixed-1.8V";
  136. regulator-min-microvolt = <1800000>;
  137. regulator-max-microvolt = <1800000>;
  138. regulator-boot-on;
  139. regulator-always-on;
  140. };
  141. reg_3p3v: regulator-3p3v {
  142. compatible = "regulator-fixed";
  143. regulator-name = "fixed-3.3V";
  144. regulator-min-microvolt = <3300000>;
  145. regulator-max-microvolt = <3300000>;
  146. regulator-boot-on;
  147. regulator-always-on;
  148. };
  149. reg_12p0v: regulator-12p0v {
  150. compatible = "regulator-fixed";
  151. regulator-name = "D12.0V";
  152. regulator-min-microvolt = <12000000>;
  153. regulator-max-microvolt = <12000000>;
  154. regulator-boot-on;
  155. regulator-always-on;
  156. };
  157. rsnd_ak4613: sound {
  158. compatible = "simple-audio-card";
  159. simple-audio-card,name = "rsnd-ak4613";
  160. simple-audio-card,format = "left_j";
  161. simple-audio-card,bitclock-master = <&sndcpu>;
  162. simple-audio-card,frame-master = <&sndcpu>;
  163. sndcodec: simple-audio-card,codec {
  164. sound-dai = <&ak4613>;
  165. };
  166. sndcpu: simple-audio-card,cpu {
  167. sound-dai = <&rcar_sound>;
  168. };
  169. };
  170. vbus0_usb2: regulator-vbus0-usb2 {
  171. compatible = "regulator-fixed";
  172. regulator-name = "USB20_VBUS_CN";
  173. regulator-min-microvolt = <5000000>;
  174. regulator-max-microvolt = <5000000>;
  175. gpio = <&gpio6 4 GPIO_ACTIVE_HIGH>;
  176. enable-active-high;
  177. };
  178. vcc_sdhi0: regulator-vcc-sdhi0 {
  179. compatible = "regulator-fixed";
  180. regulator-name = "SDHI0 Vcc";
  181. regulator-min-microvolt = <3300000>;
  182. regulator-max-microvolt = <3300000>;
  183. gpio = <&gpio5 17 GPIO_ACTIVE_HIGH>;
  184. enable-active-high;
  185. };
  186. vccq_sdhi0: regulator-vccq-sdhi0 {
  187. compatible = "regulator-gpio";
  188. regulator-name = "SDHI0 VccQ";
  189. regulator-min-microvolt = <1800000>;
  190. regulator-max-microvolt = <3300000>;
  191. gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
  192. gpios-states = <1>;
  193. states = <3300000 1>, <1800000 0>;
  194. };
  195. vcc_sdhi1: regulator-vcc-sdhi1 {
  196. compatible = "regulator-fixed";
  197. regulator-name = "SDHI1 Vcc";
  198. regulator-min-microvolt = <3300000>;
  199. regulator-max-microvolt = <3300000>;
  200. gpio = <&gpio0 4 GPIO_ACTIVE_HIGH>;
  201. enable-active-high;
  202. };
  203. vccq_sdhi1: regulator-vccq-sdhi1 {
  204. compatible = "regulator-gpio";
  205. regulator-name = "SDHI1 VccQ";
  206. regulator-min-microvolt = <1800000>;
  207. regulator-max-microvolt = <3300000>;
  208. gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
  209. gpios-states = <1>;
  210. states = <3300000 1>, <1800000 0>;
  211. };
  212. vga {
  213. compatible = "vga-connector";
  214. port {
  215. vga_in: endpoint {
  216. remote-endpoint = <&adv7123_out>;
  217. };
  218. };
  219. };
  220. vga-encoder {
  221. compatible = "adi,adv7123";
  222. ports {
  223. #address-cells = <1>;
  224. #size-cells = <0>;
  225. port@0 {
  226. reg = <0>;
  227. adv7123_in: endpoint {
  228. remote-endpoint = <&du_out_rgb>;
  229. };
  230. };
  231. port@1 {
  232. reg = <1>;
  233. adv7123_out: endpoint {
  234. remote-endpoint = <&vga_in>;
  235. };
  236. };
  237. };
  238. };
  239. x12_clk: x12 {
  240. compatible = "fixed-clock";
  241. #clock-cells = <0>;
  242. clock-frequency = <24576000>;
  243. };
  244. x13_clk: x13 {
  245. compatible = "fixed-clock";
  246. #clock-cells = <0>;
  247. clock-frequency = <74250000>;
  248. };
  249. };
  250. &audio_clk_a {
  251. clock-frequency = <22579200>;
  252. };
  253. &avb {
  254. pinctrl-0 = <&avb_pins>;
  255. pinctrl-names = "default";
  256. phy-handle = <&phy0>;
  257. status = "okay";
  258. phy0: ethernet-phy@0 {
  259. compatible = "ethernet-phy-id0022.1622",
  260. "ethernet-phy-ieee802.3-c22";
  261. rxc-skew-ps = <1500>;
  262. reg = <0>;
  263. interrupt-parent = <&gpio2>;
  264. interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
  265. reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
  266. /*
  267. * TX clock internal delay mode is required for reliable
  268. * 1Gbps communication using the KSZ9031RNX phy present on
  269. * the Ebisu board, however, TX clock internal delay mode
  270. * isn't supported on R-Car E3(e). Thus, limit speed to
  271. * 100Mbps for reliable communication.
  272. */
  273. max-speed = <100>;
  274. };
  275. };
  276. &canfd {
  277. pinctrl-0 = <&canfd0_pins>;
  278. pinctrl-names = "default";
  279. status = "okay";
  280. channel0 {
  281. status = "okay";
  282. };
  283. };
  284. &csi40 {
  285. status = "okay";
  286. ports {
  287. port@0 {
  288. csi40_in: endpoint {
  289. clock-lanes = <0>;
  290. data-lanes = <1 2>;
  291. remote-endpoint = <&adv7482_txa>;
  292. };
  293. };
  294. };
  295. };
  296. &du {
  297. pinctrl-0 = <&du_pins>;
  298. pinctrl-names = "default";
  299. status = "okay";
  300. clocks = <&cpg CPG_MOD 724>,
  301. <&cpg CPG_MOD 723>,
  302. <&x13_clk>;
  303. clock-names = "du.0", "du.1", "dclkin.0";
  304. ports {
  305. port@0 {
  306. du_out_rgb: endpoint {
  307. remote-endpoint = <&adv7123_in>;
  308. };
  309. };
  310. };
  311. };
  312. &ehci0 {
  313. dr_mode = "otg";
  314. status = "okay";
  315. };
  316. &extal_clk {
  317. clock-frequency = <48000000>;
  318. };
  319. &hsusb {
  320. dr_mode = "otg";
  321. status = "okay";
  322. };
  323. &i2c0 {
  324. status = "okay";
  325. io_expander: gpio@20 {
  326. compatible = "onnn,pca9654";
  327. reg = <0x20>;
  328. gpio-controller;
  329. #gpio-cells = <2>;
  330. interrupt-parent = <&gpio2>;
  331. interrupts = <22 IRQ_TYPE_LEVEL_LOW>;
  332. };
  333. hdmi-encoder@39 {
  334. compatible = "adi,adv7511w";
  335. reg = <0x39>;
  336. interrupt-parent = <&gpio1>;
  337. interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
  338. adi,input-depth = <8>;
  339. adi,input-colorspace = "rgb";
  340. adi,input-clock = "1x";
  341. ports {
  342. #address-cells = <1>;
  343. #size-cells = <0>;
  344. port@0 {
  345. reg = <0>;
  346. adv7511_in: endpoint {
  347. remote-endpoint = <&thc63lvd1024_out>;
  348. };
  349. };
  350. port@1 {
  351. reg = <1>;
  352. adv7511_out: endpoint {
  353. remote-endpoint = <&hdmi_con_out>;
  354. };
  355. };
  356. };
  357. };
  358. video-receiver@70 {
  359. compatible = "adi,adv7482";
  360. reg = <0x70>;
  361. interrupt-parent = <&gpio0>;
  362. interrupt-names = "intrq1", "intrq2";
  363. interrupts = <7 IRQ_TYPE_LEVEL_LOW>,
  364. <17 IRQ_TYPE_LEVEL_LOW>;
  365. ports {
  366. #address-cells = <1>;
  367. #size-cells = <0>;
  368. port@7 {
  369. reg = <7>;
  370. adv7482_ain7: endpoint {
  371. remote-endpoint = <&cvbs_con>;
  372. };
  373. };
  374. port@8 {
  375. reg = <8>;
  376. adv7482_hdmi: endpoint {
  377. remote-endpoint = <&hdmi_in_con>;
  378. };
  379. };
  380. port@a {
  381. reg = <10>;
  382. adv7482_txa: endpoint {
  383. clock-lanes = <0>;
  384. data-lanes = <1 2>;
  385. remote-endpoint = <&csi40_in>;
  386. };
  387. };
  388. };
  389. };
  390. };
  391. &i2c3 {
  392. status = "okay";
  393. ak4613: codec@10 {
  394. compatible = "asahi-kasei,ak4613";
  395. #sound-dai-cells = <0>;
  396. reg = <0x10>;
  397. clocks = <&rcar_sound 3>;
  398. asahi-kasei,in1-single-end;
  399. asahi-kasei,in2-single-end;
  400. asahi-kasei,out1-single-end;
  401. asahi-kasei,out2-single-end;
  402. asahi-kasei,out3-single-end;
  403. asahi-kasei,out4-single-end;
  404. asahi-kasei,out5-single-end;
  405. asahi-kasei,out6-single-end;
  406. };
  407. cs2000: clk-multiplier@4f {
  408. #clock-cells = <0>;
  409. compatible = "cirrus,cs2000-cp";
  410. reg = <0x4f>;
  411. clocks = <&audio_clkout>, <&x12_clk>;
  412. clock-names = "clk_in", "ref_clk";
  413. assigned-clocks = <&cs2000>;
  414. assigned-clock-rates = <24576000>; /* 1/1 divide */
  415. };
  416. };
  417. &i2c_dvfs {
  418. status = "okay";
  419. clock-frequency = <400000>;
  420. pmic: pmic@30 {
  421. pinctrl-0 = <&irq0_pins>;
  422. pinctrl-names = "default";
  423. compatible = "rohm,bd9571mwv";
  424. reg = <0x30>;
  425. interrupt-parent = <&intc_ex>;
  426. interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
  427. interrupt-controller;
  428. #interrupt-cells = <2>;
  429. gpio-controller;
  430. #gpio-cells = <2>;
  431. rohm,ddr-backup-power = <0x1>;
  432. rohm,rstbmode-level;
  433. };
  434. eeprom@50 {
  435. compatible = "rohm,br24t01", "atmel,24c01";
  436. reg = <0x50>;
  437. pagesize = <8>;
  438. };
  439. };
  440. &lvds0 {
  441. status = "okay";
  442. clocks = <&cpg CPG_MOD 727>,
  443. <&x13_clk>,
  444. <&extal_clk>;
  445. clock-names = "fck", "dclkin.0", "extal";
  446. ports {
  447. port@1 {
  448. lvds0_out: endpoint {
  449. remote-endpoint = <&thc63lvd1024_in>;
  450. };
  451. };
  452. };
  453. };
  454. &lvds1 {
  455. /*
  456. * Even though the LVDS1 output is not connected, the encoder must be
  457. * enabled to supply a pixel clock to the DU for the DPAD output when
  458. * LVDS0 is in use.
  459. */
  460. status = "okay";
  461. clocks = <&cpg CPG_MOD 727>,
  462. <&x13_clk>,
  463. <&extal_clk>;
  464. clock-names = "fck", "dclkin.0", "extal";
  465. };
  466. &ohci0 {
  467. dr_mode = "otg";
  468. status = "okay";
  469. };
  470. &pcie_bus_clk {
  471. clock-frequency = <100000000>;
  472. };
  473. &pciec0 {
  474. status = "okay";
  475. };
  476. &pfc {
  477. avb_pins: avb {
  478. groups = "avb_link", "avb_mii";
  479. function = "avb";
  480. };
  481. canfd0_pins: canfd0 {
  482. groups = "canfd0_data";
  483. function = "canfd0";
  484. };
  485. du_pins: du {
  486. groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
  487. function = "du";
  488. };
  489. irq0_pins: irq0 {
  490. groups = "intc_ex_irq0";
  491. function = "intc_ex";
  492. };
  493. keys_pins: keys {
  494. pins = "GP_5_10", "GP_5_11", "GP_5_12", "GP_5_13";
  495. bias-pull-up;
  496. };
  497. pwm3_pins: pwm3 {
  498. groups = "pwm3_b";
  499. function = "pwm3";
  500. };
  501. pwm5_pins: pwm5 {
  502. groups = "pwm5_a";
  503. function = "pwm5";
  504. };
  505. rpc_pins: rpc {
  506. groups = "rpc_clk2", "rpc_ctrl", "rpc_data", "rpc_reset",
  507. "rpc_int";
  508. function = "rpc";
  509. };
  510. scif2_pins: scif2 {
  511. groups = "scif2_data_a";
  512. function = "scif2";
  513. };
  514. sdhi0_pins: sd0 {
  515. groups = "sdhi0_data4", "sdhi0_ctrl";
  516. function = "sdhi0";
  517. power-source = <3300>;
  518. };
  519. sdhi0_pins_uhs: sd0_uhs {
  520. groups = "sdhi0_data4", "sdhi0_ctrl";
  521. function = "sdhi0";
  522. power-source = <1800>;
  523. };
  524. sdhi1_pins: sd1 {
  525. groups = "sdhi1_data4", "sdhi1_ctrl";
  526. function = "sdhi1";
  527. power-source = <3300>;
  528. };
  529. sdhi1_pins_uhs: sd1_uhs {
  530. groups = "sdhi1_data4", "sdhi1_ctrl";
  531. function = "sdhi1";
  532. power-source = <1800>;
  533. };
  534. sdhi3_pins: sd3 {
  535. groups = "sdhi3_data8", "sdhi3_ctrl", "sdhi3_ds";
  536. function = "sdhi3";
  537. power-source = <1800>;
  538. };
  539. sound_clk_pins: sound_clk {
  540. groups = "audio_clk_a", "audio_clk_b_a", "audio_clk_c_a",
  541. "audio_clkout_a", "audio_clkout1_a";
  542. function = "audio_clk";
  543. };
  544. sound_pins: sound {
  545. groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data";
  546. function = "ssi";
  547. };
  548. usb0_pins: usb {
  549. groups = "usb0_b", "usb0_id";
  550. function = "usb0";
  551. };
  552. usb30_pins: usb30 {
  553. groups = "usb30";
  554. function = "usb30";
  555. };
  556. };
  557. &pwm3 {
  558. pinctrl-0 = <&pwm3_pins>;
  559. pinctrl-names = "default";
  560. status = "okay";
  561. };
  562. &pwm5 {
  563. pinctrl-0 = <&pwm5_pins>;
  564. pinctrl-names = "default";
  565. status = "okay";
  566. };
  567. &rcar_sound {
  568. pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
  569. pinctrl-names = "default";
  570. /* Single DAI */
  571. #sound-dai-cells = <0>;
  572. /* audio_clkout0/1/2/3 */
  573. #clock-cells = <1>;
  574. clock-frequency = <12288000 11289600>;
  575. status = "okay";
  576. /* update <audio_clk_b> to <cs2000> */
  577. clocks = <&cpg CPG_MOD 1005>,
  578. <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
  579. <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
  580. <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
  581. <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
  582. <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
  583. <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
  584. <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
  585. <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
  586. <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
  587. <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
  588. <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
  589. <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
  590. <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
  591. <&audio_clk_a>, <&cs2000>, <&audio_clk_c>,
  592. <&cpg CPG_CORE R8A77990_CLK_ZA2>;
  593. rcar_sound,dai {
  594. dai0 {
  595. playback = <&ssi0>, <&src0>, <&dvc0>;
  596. capture = <&ssi1>, <&src1>, <&dvc1>;
  597. };
  598. };
  599. };
  600. &rpc {
  601. pinctrl-0 = <&rpc_pins>;
  602. pinctrl-names = "default";
  603. /* Left disabled. To be enabled by firmware when unlocked. */
  604. flash@0 {
  605. compatible = "cypress,hyperflash", "cfi-flash";
  606. reg = <0>;
  607. partitions {
  608. compatible = "fixed-partitions";
  609. #address-cells = <1>;
  610. #size-cells = <1>;
  611. bootparam@0 {
  612. reg = <0x00000000 0x040000>;
  613. read-only;
  614. };
  615. bl2@40000 {
  616. reg = <0x00040000 0x140000>;
  617. read-only;
  618. };
  619. cert_header_sa6@180000 {
  620. reg = <0x00180000 0x040000>;
  621. read-only;
  622. };
  623. bl31@1c0000 {
  624. reg = <0x001c0000 0x040000>;
  625. read-only;
  626. };
  627. tee@200000 {
  628. reg = <0x00200000 0x440000>;
  629. read-only;
  630. };
  631. uboot@640000 {
  632. reg = <0x00640000 0x100000>;
  633. read-only;
  634. };
  635. dtb@740000 {
  636. reg = <0x00740000 0x080000>;
  637. };
  638. kernel@7c0000 {
  639. reg = <0x007c0000 0x1400000>;
  640. };
  641. user@1bc0000 {
  642. reg = <0x01bc0000 0x2440000>;
  643. };
  644. };
  645. };
  646. };
  647. &rwdt {
  648. timeout-sec = <60>;
  649. status = "okay";
  650. };
  651. &scif2 {
  652. pinctrl-0 = <&scif2_pins>;
  653. pinctrl-names = "default";
  654. status = "okay";
  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 12 GPIO_ACTIVE_LOW>;
  663. wp-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
  664. bus-width = <4>;
  665. sd-uhs-sdr50;
  666. sd-uhs-sdr104;
  667. status = "okay";
  668. };
  669. &sdhi1 {
  670. pinctrl-0 = <&sdhi1_pins>;
  671. pinctrl-1 = <&sdhi1_pins_uhs>;
  672. pinctrl-names = "default", "state_uhs";
  673. vmmc-supply = <&vcc_sdhi1>;
  674. vqmmc-supply = <&vccq_sdhi1>;
  675. cd-gpios = <&gpio3 14 GPIO_ACTIVE_LOW>;
  676. bus-width = <4>;
  677. sd-uhs-sdr50;
  678. sd-uhs-sdr104;
  679. status = "okay";
  680. };
  681. &sdhi3 {
  682. /* used for on-board 8bit eMMC */
  683. pinctrl-0 = <&sdhi3_pins>;
  684. pinctrl-1 = <&sdhi3_pins>;
  685. pinctrl-names = "default", "state_uhs";
  686. vmmc-supply = <&reg_3p3v>;
  687. vqmmc-supply = <&reg_1p8v>;
  688. mmc-hs200-1_8v;
  689. mmc-hs400-1_8v;
  690. bus-width = <8>;
  691. no-sd;
  692. no-sdio;
  693. non-removable;
  694. full-pwr-cycle-in-suspend;
  695. status = "okay";
  696. };
  697. &ssi1 {
  698. shared-pin;
  699. };
  700. &usb2_phy0 {
  701. pinctrl-0 = <&usb0_pins>;
  702. pinctrl-names = "default";
  703. vbus-supply = <&vbus0_usb2>;
  704. status = "okay";
  705. };
  706. &usb3_peri0 {
  707. companion = <&xhci0>;
  708. status = "okay";
  709. };
  710. &vin4 {
  711. status = "okay";
  712. };
  713. &vin5 {
  714. status = "okay";
  715. };
  716. &xhci0 {
  717. pinctrl-0 = <&usb30_pins>;
  718. pinctrl-names = "default";
  719. status = "okay";
  720. };