Advertisement
cnxsoft

Tronsmart Vega S89 Elite Device Tree File

May 12th, 2014
859
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.44 KB | None | 0 0
  1. /dts-v1/;
  2.  
  3. / {
  4. compatible = "AMLOGIC,8726_M8";
  5. model = "AMLOGIC";
  6. interrupt-parent = <0x1>;
  7. #address-cells = <0x1>;
  8. #size-cells = <0x1>;
  9.  
  10. cpus {
  11. #address-cells = <0x1>;
  12. #size-cells = <0x0>;
  13.  
  14. cpu@0 {
  15. device_type = "cpu";
  16. compatible = "arm,cortex-a9";
  17. reg = <0x200>;
  18. };
  19.  
  20. cpu@1 {
  21. device_type = "cpu";
  22. compatible = "arm,cortex-a9";
  23. reg = <0x1>;
  24. };
  25.  
  26. cpu@2 {
  27. device_type = "cpu";
  28. compatible = "arm,cortex-a9";
  29. reg = <0x2>;
  30. };
  31.  
  32. cpu@3 {
  33. device_type = "cpu";
  34. compatible = "arm,cortex-a9";
  35. reg = <0x3>;
  36. };
  37. };
  38.  
  39. cache-controller {
  40. compatible = "arm,meson-pl310-cache";
  41. reg = <0xc4200000 0x1000>;
  42. arm,data-latency = <0x3 0x3 0x3>;
  43. arm,tag-latency = <0x2 0x2 0x2>;
  44. cache-unified;
  45. cache-level = <0x2>;
  46. aux-instruction_prefetch;
  47. aux-data_prefetch;
  48. aux-ns_lockdown;
  49. aux-force_no_write_alloc;
  50. aux-cache_replace_policy_round_robin;
  51. aux-early_write_response;
  52. aux-full_line_of_zero;
  53. aux-ns_int_ctrl;
  54. aux-share_override;
  55. prefetch-double_line_fill;
  56. prefetch-prefetch_drop;
  57. prefetch-prefetch_offset = <0x7>;
  58. };
  59.  
  60. memory {
  61. device_type = "memory";
  62. aml_reserved_start = <0x6000000>;
  63. aml_reserved_end = <0x5000000>;
  64. phys_offset = <0x0>;
  65. linux,total-memory = <0x80000000>;
  66. #address-cells = <0x1>;
  67. #size-cells = <0x1>;
  68.  
  69. region@0 {
  70. region_name = "cma_0";
  71. reg = <0x0 0xf00000>;
  72. linux,contiguous-region;
  73. linux,phandle = <0x2>;
  74. phandle = <0x2>;
  75. };
  76. };
  77.  
  78. interrupt-controller {
  79. compatible = "arm,cortex-a9-gic";
  80. reg = <0xc4301000 0x1000 0xc4300100 0x100>;
  81. interrupt-controller;
  82. #interrupt-cells = <0x3>;
  83. #address-cells = <0x0>;
  84. linux,phandle = <0x1>;
  85. phandle = <0x1>;
  86. };
  87.  
  88. vpu {
  89. compatible = "amlogic,vpu";
  90. dev_name = "vpu";
  91. status = "ok";
  92. clk_level = <0x7>;
  93. };
  94.  
  95. mesonfb {
  96. compatible = "amlogic,mesonfb";
  97. dev_name = "mesonfb";
  98. status = "okay";
  99. reserve-memory = <0x1800000 0x100000>;
  100. reserve-iomap = "true";
  101. vmode = <0x3>;
  102. scale_mode = <0x1>;
  103. 4k2k_fb = <0x0>;
  104. display_size_default = <0x780 0x438 0x780 0xca8 0x20>;
  105. };
  106.  
  107. deinterlace {
  108. compatible = "amlogic,deinterlace";
  109. dev_name = "deinterlace";
  110. status = "ok";
  111. reserve-memory = <0x2300000>;
  112. };
  113.  
  114. mesonstream {
  115. compatible = "amlogic,mesonstream";
  116. dev_name = "mesonstream.0";
  117. status = "okay";
  118. reserve-memory = <0x2000000>;
  119. reserve-iomap = "true";
  120. };
  121.  
  122. vdec {
  123. compatible = "amlogic,vdec";
  124. dev_name = "vdec.0";
  125. status = "okay";
  126. reserve-memory = <0x10000000>;
  127. reserve-iomap = "true";
  128. };
  129.  
  130. ppmgr {
  131. compatible = "amlogic,ppmgr";
  132. dev_name = "ppmgr";
  133. status = "okay";
  134. reserve-memory = <0x3000000>;
  135. };
  136.  
  137. amvenc_avc {
  138. compatible = "amlogic,amvenc_avc";
  139. dev_name = "amvenc_avc.0";
  140. status = "okay";
  141. linux,contiguous-region = <0x2>;
  142. };
  143.  
  144. vdin1 {
  145. compatible = "amlogic,vdin";
  146. dev_name = "vdin1";
  147. status = "ok";
  148. reserve-memory = <0x1000000>;
  149. miracast_size = <0x780 0x438>;
  150. reserve-iomap = "true";
  151. irq = <0x75>;
  152. vdin_id = <0x1>;
  153. };
  154.  
  155. amlvideo2 {
  156. compatible = "amlogic,amlvideo2";
  157. dev_name = "amlvideo2.0";
  158. status = "okay";
  159. reserve-memory = <0x1000000>;
  160. reserve-iomap = "true";
  161. };
  162.  
  163. ion_dev {
  164. compatible = "amlogic,ion_dev";
  165. dev_name = "ion_dev";
  166. status = "ok";
  167. share-memory-name = "ppmgr0";
  168. share-memory-offset = <0x0>;
  169. share-memory-size = <0x3000000>;
  170. };
  171.  
  172. mesonvout {
  173. compatible = "amlogic,mesonvout";
  174. dev_name = "mesonvout";
  175. status = "okay";
  176. };
  177.  
  178. rtc {
  179. compatible = "amlogic,aml_rtc";
  180. status = "okay";
  181. };
  182.  
  183. uart_ao {
  184. compatible = "amlogic,aml_uart";
  185. port_name = "uart_ao";
  186. status = "okay";
  187. dev_name = "uart_ao";
  188. pinctrl-names = "default";
  189. pinctrl-0 = <0x3>;
  190. };
  191.  
  192. uart_0 {
  193. compatible = "amlogic,aml_uart";
  194. port_name = "uart_a";
  195. status = "okay";
  196. dev_name = "uart_0";
  197. pinctrl-names = "default";
  198. pinctrl-0 = <0x4>;
  199. };
  200.  
  201. uart_1 {
  202. compatible = "amlogic,aml_uart";
  203. port_name = "uart_b";
  204. status = "disabled";
  205. dev_name = "uart_1";
  206. };
  207.  
  208. uart_2 {
  209. compatible = "amlogic,aml_uart";
  210. port_name = "uart_c";
  211. status = "disabled";
  212. dev_name = "uart_2";
  213. };
  214.  
  215. uart_3 {
  216. compatible = "amlogic,aml_uart";
  217. port_name = "uart_d";
  218. status = "ok";
  219. dev_name = "uart_3";
  220. };
  221.  
  222. bt-dev {
  223. compatible = "amlogic,bt-dev";
  224. dev_name = "bt-dev";
  225. status = "ok";
  226. gpio_reset = "GPIOX_20";
  227. };
  228.  
  229. wifi {
  230. compatible = "amlogic,aml_broadcm_wifi";
  231. dev_name = "aml_broadcm_wifi";
  232. status = "okay";
  233. interrupt_pin = "GPIOX_21";
  234. irq_num = <0x4>;
  235. irq_trigger_type = "GPIO_IRQ_HIGH";
  236. power_on_pin = "GPIOAO_6";
  237. power_on_pin2 = "GPIOX_11";
  238. clock_32k_pin = "GPIOX_10";
  239. };
  240.  
  241. wifi_power {
  242. compatible = "amlogic,wifi_power";
  243. dev_name = "wifi_power";
  244. status = "okay";
  245. power_gpio = "GPIOAO_6";
  246. power_gpio2 = "GPIOX_11";
  247. };
  248.  
  249. sdio {
  250. compatible = "amlogic,aml_sdio";
  251. dev_name = "aml_sdio.0";
  252. status = "okay";
  253. reg = <0xc1108c20 0x20>;
  254. pinctrl-names = "sd_clk_cmd_pins", "sd_all_pins", "emmc_clk_cmd_pins", "emmc_all_pins", "sdio_clk_cmd_pins", "sdio_all_pins", "sd_1bit_pins";
  255. pinctrl-0 = <0x5>;
  256. pinctrl-1 = <0x6>;
  257. pinctrl-2 = <0x7>;
  258. pinctrl-3 = <0x8>;
  259. pinctrl-4 = <0x9>;
  260. pinctrl-5 = <0xa>;
  261. pinctrl-6 = <0xb>;
  262.  
  263. sd {
  264. status = "okay";
  265. port = <0x1>;
  266. pinname = "sd";
  267. ocr_avail = <0x200000>;
  268. caps = "MMC_CAP_4_BIT_DATA", "MMC_CAP_MMC_HIGHSPEED", "MMC_CAP_SD_HIGHSPEED";
  269. f_min = <0x493e0>;
  270. f_max = <0x2faf080>;
  271. max_req_size = <0x20000>;
  272. gpio_dat3 = "CARD_4";
  273. jtag_pin = "CARD_0";
  274. gpio_cd = "CARD_6";
  275. irq_in = <0x3>;
  276. irq_out = <0x5>;
  277. card_type = <0x5>;
  278. };
  279.  
  280. emmc {
  281. status = "ok";
  282. port = <0x2>;
  283. pinname = "emmc";
  284. ocr_avail = <0x200000>;
  285. caps = "MMC_CAP_4_BIT_DATA", "MMC_CAP_MMC_HIGHSPEED", "MMC_CAP_SD_HIGHSPEED", "MMC_CAP_NONREMOVABLE";
  286. f_min = <0x493e0>;
  287. f_max = <0x2faf080>;
  288. f_max_w = <0x2faf080>;
  289. max_req_size = <0x20000>;
  290. gpio_dat3 = "BOOT_3";
  291. card_type = <0x1>;
  292. };
  293.  
  294. sdio {
  295. status = "ok";
  296. port = <0x0>;
  297. pinname = "sdio";
  298. ocr_avail = <0x200000>;
  299. caps = "MMC_CAP_4_BIT_DATA", "MMC_CAP_MMC_HIGHSPEED", "MMC_CAP_SD_HIGHSPEED", "MMC_CAP_NONREMOVABLE";
  300. f_min = <0x493e0>;
  301. f_max = <0x2faf080>;
  302. max_req_size = <0x20000>;
  303. card_type = <0x3>;
  304. };
  305. };
  306.  
  307. i2c@c8100500 {
  308. compatible = "amlogic,aml_i2c";
  309. dev_name = "i2c-AO";
  310. status = "ok";
  311. reg = <0xc8100500 0x1d>;
  312. #address-cells = <0x1>;
  313. #size-cells = <0x0>;
  314. device_id = <0x0>;
  315. pinctrl-names = "default";
  316. pinctrl-0 = <0xc>;
  317. };
  318.  
  319. i2c@c1108500 {
  320. compatible = "amlogic,aml_i2c";
  321. dev_name = "i2c-A";
  322. status = "ok";
  323. reg = <0xc1108500 0x20>;
  324. device_id = <0x1>;
  325. pinctrl-names = "default";
  326. #address-cells = <0x1>;
  327. #size-cells = <0x0>;
  328. };
  329.  
  330. i2c@c11087c0 {
  331. compatible = "amlogic,aml_i2c";
  332. dev_name = "i2c-B";
  333. status = "ok";
  334. reg = <0xc11087c0 0x20>;
  335. device_id = <0x2>;
  336. pinctrl-names = "default";
  337. pinctrl-0 = <0xd>;
  338. #address-cells = <0x1>;
  339. #size-cells = <0x0>;
  340. };
  341.  
  342. i2c@c11087e0 {
  343. compatible = "amlogic,aml_i2c";
  344. dev_name = "i2c-C";
  345. status = "ok";
  346. reg = <0xc11087e0 0x20>;
  347. device_id = <0x3>;
  348. pinctrl-names = "default";
  349. #address-cells = <0x1>;
  350. #size-cells = <0x0>;
  351. };
  352.  
  353. i2c@c1108d20 {
  354. compatible = "amlogic,aml_i2c";
  355. dev_name = "i2c-D";
  356. status = "ok";
  357. reg = <0xc1108d20 0x20>;
  358. device_id = <0x4>;
  359. pinctrl-names = "default";
  360. pinctrl-0 = <0xe>;
  361. #address-cells = <0x1>;
  362. #size-cells = <0x0>;
  363. };
  364.  
  365. dvfs {
  366. compatible = "amlogic, amlogic-dvfs";
  367. #address-cells = <0x1>;
  368. #size-cells = <0x0>;
  369. status = "ok";
  370.  
  371. vcck_dvfs {
  372. dvfs_id = <0x1>;
  373. table_count = <0xe>;
  374. dvfs_table = <0x17700 0xc96a8 0xc96a8 0x2ee00 0xc96a8 0xc96a8 0x4c2c0 0xc96a8 0xc96a8 0x639c0 0xc96a8 0xc96a8 0x7b0c0 0xc96a8 0xc96a8 0x927c0 0xcf850 0xcf850 0xafc80 0xcf850 0xcf850 0xc7380 0xd59f8 0xd59f8 0xf6180 0xe1d48 0xe1d48 0x124f80 0xee098 0xee098 0x159b40 0xfa3e8 0xfa3e8 0x188940 0x10c8e0 0x10c8e0 0x1b7740 0x112a88 0x112a88 0x1e6540 0x112a88 0x112a88>;
  375. };
  376. };
  377.  
  378. arm_pmu {
  379. compatible = "arm,cortex-a9-pmu";
  380. status = "ok";
  381. interrupts = <0x0 0x89 0x4 0x0 0x8a 0x4 0x0 0x99 0x4 0x0 0x9a 0x4>;
  382. };
  383.  
  384. pmu {
  385. compatible = "amlogic, aml_pmu_prober";
  386. #address-cells = <0x1>;
  387. #size-cells = <0x0>;
  388.  
  389. axp202 {
  390. compatible = "axp_mfd";
  391. sub_type = "axp20_mfd";
  392. i2c_bus = "i2c_bus_ao";
  393. reg = <0x34>;
  394. soft_limit_to99 = <0x0>;
  395. ddr_voltage = <0x16e360>;
  396. vddao_voltage = <0x124f80>;
  397. status = "disable";
  398. };
  399.  
  400. aml1212 {
  401. compatible = "aml_pmu";
  402. sub_type = "aml1212";
  403. i2c_bus = "i2c_bus_ao";
  404. reg = <0x35>;
  405. soft_limit_to99 = <0x0>;
  406. ddr_voltage = <0x16e360>;
  407. vddao_voltage = <0x124f80>;
  408. status = "disable";
  409. };
  410.  
  411. rn5t618 {
  412. compatible = "ricoh_pmu";
  413. sub_type = "rn5t618";
  414. i2c_bus = "i2c_bus_ao";
  415. reg = <0x32>;
  416. soft_limit_to99 = <0x0>;
  417. ddr_voltage = <0x16e360>;
  418. vddao_voltage = <0x124f80>;
  419. status = "okay";
  420. };
  421. };
  422.  
  423. usb_con {
  424. lm-compatible = "logicmodule-bus";
  425.  
  426. usb_b {
  427. lm-compatible = "amlogic,usb";
  428. lm-periph-id = <0x1>;
  429. clock-src = "usb1";
  430. port-id = <0x1>;
  431. port-type = <0x1>;
  432. port-speed = <0x0>;
  433. port-config = <0x0>;
  434. port-dma = <0x0>;
  435. port-id-mode = <0x1>;
  436. status = "okay";
  437. };
  438.  
  439. usb_a {
  440. lm-compatible = "amlogic,usb";
  441. lm-periph-id = <0x0>;
  442. clock-src = "usb0";
  443. port-id = <0x0>;
  444. port-type = <0x0>;
  445. port-speed = <0x0>;
  446. port-config = <0x0>;
  447. port-dma = <0x0>;
  448. port-id-mode = <0x0>;
  449. gpio-vbus-power = "GPIOZ_1";
  450. gpio-work-mask = <0x1>;
  451. status = "okay";
  452. };
  453. };
  454.  
  455. spi@cc000000 {
  456. compatible = "amlogic,apollo_spi_nor";
  457. status = "ok";
  458. reg = <0xcc000000 0x4000000>;
  459. pinctrl-names = "default";
  460. pinctrl-0 = <0xf>;
  461. nr-parts = <0x2>;
  462. nr-part-0 = <0x10>;
  463. nr-part-1 = <0x11>;
  464.  
  465. bootloader {
  466. offset = <0x0>;
  467. size = <0x60000>;
  468. linux,phandle = <0x10>;
  469. phandle = <0x10>;
  470. };
  471.  
  472. ubootenv {
  473. offset = <0x100000>;
  474. size = <0x10000>;
  475. linux,phandle = <0x11>;
  476. phandle = <0x11>;
  477. };
  478. };
  479.  
  480. nand {
  481. compatible = "amlogic,aml_nand";
  482. dev_name = "nand";
  483. status = "ok";
  484. reg = <0xd0048600 0x24>;
  485. pinctrl-names = "nand_rb_mod", "nand_norb_mod";
  486. pinctrl-0 = <0x12 0x13 0x14>;
  487. pinctrl-1 = <0x12 0x13 0x14>;
  488. device_id = <0x0>;
  489. plat-names = "nandnormal";
  490. plat-num = <0x1>;
  491. plat-part-0 = <0x15>;
  492.  
  493. normal {
  494. enable_pad = "ce0", "ce1", "ce2", "ce3";
  495. busy_pad = "rb0";
  496. linux,phandle = <0x15>;
  497. phandle = <0x15>;
  498. };
  499. };
  500.  
  501. efuse {
  502. compatible = "amlogic,efuse";
  503. dev_name = "efuse";
  504. status = "okay";
  505. plat-pos = <0x0 0x1c6>;
  506. plat-count = <0x3a>;
  507. usid-min = <0x8>;
  508. usid-max = <0x1f>;
  509. };
  510.  
  511. thermal {
  512. compatible = "amlogic-thermal";
  513. #thermal-cells = <0x3>;
  514. dev_name = "aml_thermal";
  515. trip_point = <0x32 0x124f80 0x124f80 0x46 0xc3500 0xc3500 0x6e 0xffffffff 0xffffffff>;
  516. cpu_cali_a = <0x0>;
  517. idle_interval = <0x3e8>;
  518. };
  519.  
  520. audio_platform {
  521. compatible = "amlogic,aml-i2s";
  522. dev_name = "aml-i2s.0";
  523. status = "okay";
  524. };
  525.  
  526. audio_dai {
  527. compatible = "amlogic,aml-i2s-dai";
  528. dev_name = "aml-i2s-dai.0";
  529. status = "okay";
  530. };
  531.  
  532. audio_spdif_dai {
  533. compatible = "amlogic,aml-spdif-dai";
  534. dev_name = "aml-spdif-dai.0";
  535. status = "okay";
  536. };
  537.  
  538. audio_spdif_codec {
  539. compatible = "amlogic,aml-spdif-codec";
  540. dev_name = "spdif-dit.0";
  541. status = "okay";
  542. };
  543.  
  544. audio_pcm2BT_codec {
  545. compatible = "amlogic,pcm2BT-codec";
  546. dev_name = "pcm2bt.0";
  547. status = "okay";
  548. };
  549.  
  550. audio_pcm_dai {
  551. compatible = "amlogic,aml-pcm-dai";
  552. dev_name = "aml-pcm-dai.0";
  553. status = "okay";
  554. };
  555.  
  556. audio_pcm {
  557. compatible = "amlogic,aml-pcm";
  558. dev_name = "aml-pcm.0";
  559. status = "okay";
  560. };
  561.  
  562. audio_m8_audio {
  563. compatible = "amlogic,m8_audio_codec";
  564. dev_name = "aml_m8_codec.0";
  565. status = "okay";
  566. };
  567.  
  568. aml_audio_codec {
  569. compatible = "amlogic,audio_codec";
  570.  
  571. rt5616 {
  572. codec_name = "rt5616";
  573. i2c_addr = <0x1b>;
  574. i2c_bus = "i2c_bus_d";
  575. id_reg = <0x0>;
  576. id_val = <0x21>;
  577. capless = <0x0>;
  578. status = "okay";
  579. };
  580.  
  581. rt5631 {
  582. codec_name = "rt5631";
  583. i2c_addr = <0x1a>;
  584. i2c_bus = "i2c_bus_b";
  585. id_reg = <0x0>;
  586. id_val = <0x1>;
  587. capless = <0x0>;
  588. status = "disable";
  589. };
  590.  
  591. wm8960 {
  592. codec_name = "wm8960";
  593. i2c_addr = <0x1a>;
  594. i2c_bus = "i2c_bus_b";
  595. capless = <0x1>;
  596. status = "disable";
  597. };
  598. };
  599.  
  600. aml_m8_sound_card {
  601. compatible = "sound_card, aml_snd_m8";
  602. aml,sound_card = "AML-M8AUDIO";
  603. aml,codec_dai = "AML-M8", "rt5616-aif1", "rt5631-hifi", "wm8960-hifi";
  604. aml,audio-routing-rt5616 = "Ext Spk", "LOUTL", "Ext Spk", "LOUTR", "HP", "HPOL", "HP", "HPOR", "micbias1", "MAIN MIC", "IN2P", "micbias1";
  605. aml,audio-routing-amlm8 = "Ext Spk", "LINEOUTL", "Ext Spk", "LINEOUTR", "HP", "HP_L", "HP", "HP_R", "MICBIAS", "MAIN MIC", "LINPUT1", "MICBIAS";
  606. mute_gpio = "GPIO_BSD_EN";
  607. hp_paraments = <0x320 0x12c 0x0 0x5 0x1>;
  608. pinctrl-names = "aml_snd_m8";
  609. pinctrl-0 = <0x16>;
  610. status = "okay";
  611. };
  612.  
  613. saradc {
  614. compatible = "amlogic,saradc";
  615. status = "okay";
  616. };
  617.  
  618. meson-remote {
  619. compatible = "amlogic,aml_remote";
  620. dev_name = "meson-remote";
  621. status = "ok";
  622. ao_baseaddr = <0xf3100480>;
  623. pinctrl-names = "default";
  624. pinctrl-0 = <0x17>;
  625. };
  626.  
  627. securitykey {
  628. compatible = "amlogic,aml_keys";
  629. status = "ok";
  630. };
  631.  
  632. unifykey {
  633. compatible = "amlogic,unifykey";
  634. status = "ok";
  635. unifykey-num = <0x3>;
  636. unifykey-index-0 = <0x18>;
  637. unifykey-index-1 = <0x19>;
  638. unifykey-index-2 = <0x1a>;
  639.  
  640. key_0 {
  641. key-name = "usid";
  642. key-device = "nandkey";
  643. key-dataformat = "allascii";
  644. key-permit = "read", "write", "del";
  645. linux,phandle = <0x18>;
  646. phandle = <0x18>;
  647. };
  648.  
  649. key_1 {
  650. key-name = "mac";
  651. key-device = "nandkey";
  652. key-dataformat = "hexdata";
  653. key-permit = "read", "write", "del";
  654. linux,phandle = <0x19>;
  655. phandle = <0x19>;
  656. };
  657.  
  658. key_2 {
  659. key-name = "key2";
  660. key-device = "nandkey";
  661. key-dataformat = "hexdata";
  662. key-permit = "read", "write", "del";
  663. linux,phandle = <0x1a>;
  664. phandle = <0x1a>;
  665. };
  666. };
  667.  
  668. amhdmitx {
  669. compatible = "amlogic,amhdmitx";
  670. dev_name = "amhdmitx";
  671. status = "ok";
  672. vend-data = <0x1b>;
  673. pwr-ctrl = <0x1c>;
  674.  
  675. vend_data {
  676. vendor_name = "Amlogic";
  677. vendor_id = <0x0>;
  678. product_desc = "M8 MBox SKTv1";
  679. cec_osd_string = "Amlogic MBox";
  680. linux,phandle = <0x1b>;
  681. phandle = <0x1b>;
  682. };
  683.  
  684. pwr_ctrl {
  685. pwr_5v_on = [00];
  686. pwr_5v_off = [00];
  687. pwr_3v3_on = [00];
  688. pwr_3v3_off = [00];
  689. pwr_hpll_vdd_on = [00];
  690. pwr_hpll_vdd_off = [00];
  691. linux,phandle = <0x1c>;
  692. phandle = <0x1c>;
  693. };
  694. };
  695.  
  696. aml_pm {
  697. compatible = "amlogic,pm-m8";
  698. dev_name = "aml_pm_m8";
  699. status = "okay";
  700. };
  701.  
  702. cpufreq-meson {
  703. compatible = "amlogic,cpufreq-meson";
  704. status = "okay";
  705. };
  706.  
  707. crypto_device {
  708. compatible = "amlogic,crypto-device";
  709. dev_name = "crypto_device";
  710. };
  711.  
  712. gpio {
  713. compatible = "amlogic,m8-gpio";
  714. dev_name = "gpio";
  715. #gpio-cells = <0x2>;
  716. };
  717.  
  718. pinmux {
  719. compatible = "amlogic,pinmux-m8";
  720. dev_name = "pinmux";
  721. #pinmux-cells = <0x2>;
  722.  
  723. ao_uart {
  724. amlogic,setmask = <0xa 0x1800>;
  725. amlogic,pins = "GPIOAO_0", "GPIOAO_1";
  726. linux,phandle = <0x3>;
  727. phandle = <0x3>;
  728. };
  729.  
  730. a_uart {
  731. amlogic,setmask = <0x4 0x3c00>;
  732. amlogic,pins = "GPIOX_12", "GPIOX_13", "GPIOX_14", "GPIOX_15";
  733. linux,phandle = <0x4>;
  734. phandle = <0x4>;
  735. };
  736.  
  737. nand_input {
  738. amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_12", "BOOT_13", "BOOT_8", "BOOT_9", "BOOT_10", "BOOT_11", "BOOT_14", "BOOT_15", "BOOT_16", "BOOT_17";
  739. amlogic,enable-output = <0x1>;
  740. linux,phandle = <0x12>;
  741. phandle = <0x12>;
  742. };
  743.  
  744. conf_nand {
  745. amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_15";
  746. amlogic,pullup = <0x0>;
  747. linux,phandle = <0x13>;
  748. phandle = <0x13>;
  749. };
  750.  
  751. nand {
  752. amlogic,setmask = <0x2 0x7fe0000>;
  753. amlogic,clrmask = <0x5 0xe 0x6 0x3f000000 0x4 0x7c000000>;
  754. amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_8", "BOOT_9", "BOOT_10", "BOOT_12", "BOOT_13", "BOOT_14", "BOOT_15", "BOOT_16", "BOOT_17";
  755. linux,phandle = <0x14>;
  756. phandle = <0x14>;
  757. };
  758.  
  759. sdhc_b_pin {
  760. amlogic,setmask = <0x2 0xfc00>;
  761. amlogic,clrmask = <0x2 0xf0 0x8 0x600>;
  762. amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
  763. };
  764.  
  765. sdhc_c_pin {
  766. amlogic,setmask = <0x6 0x3f000000>;
  767. amlogic,clrmask = <0x4 0x6c000000 0x2 0x4c00000>;
  768. amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_10", "BOOT_11";
  769. };
  770.  
  771. sdhc_a_pin {
  772. amlogic,setmask = <0x8 0x3f>;
  773. amlogic,clrmask = <0x5 0x6c00>;
  774. amlogic,pins = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_8", "GPIOX_9";
  775. };
  776.  
  777. sdio_all_pins {
  778. amlogic,setmask = <0x8 0x3f>;
  779. amlogic,clrmask = <0x6 0x3f000000 0x2 0xfc00 0x5 0x6c00>;
  780. amlogic,pins = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_8", "GPIOX_9";
  781. amlogic,enable-output = <0x1>;
  782. amlogic,pullup = <0x1>;
  783. amlogic,pullupen = <0x1>;
  784. linux,phandle = <0xa>;
  785. phandle = <0xa>;
  786. };
  787.  
  788. sdio_clk_cmd_pins {
  789. amlogic,setmask = <0x8 0x3>;
  790. amlogic,clrmask = <0x6 0x3f000000 0x2 0xfc00 0x5 0x6c00>;
  791. amlogic,pins = "GPIOX_8", "GPIOX_9";
  792. amlogic,enable-output = <0x1>;
  793. amlogic,pullup = <0x1>;
  794. amlogic,pullupen = <0x1>;
  795. linux,phandle = <0x9>;
  796. phandle = <0x9>;
  797. };
  798.  
  799. sd_all_pins {
  800. amlogic,setmask = <0x2 0xfc00>;
  801. amlogic,clrmask = <0x6 0x3f000000 0x8 0x63f 0x2 0xf0>;
  802. amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
  803. amlogic,enable-output = <0x1>;
  804. amlogic,pullup = <0x1>;
  805. amlogic,pullupen = <0x1>;
  806. linux,phandle = <0x6>;
  807. phandle = <0x6>;
  808. };
  809.  
  810. sd_1bit_pins {
  811. amlogic,setmask = <0x2 0x8c00>;
  812. amlogic,clrmask = <0x6 0x3f000000 0x8 0x3f 0x2 0xf0>;
  813. amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
  814. amlogic,enable-output = <0x1>;
  815. amlogic,pullup = <0x1>;
  816. amlogic,pullupen = <0x1>;
  817. linux,phandle = <0xb>;
  818. phandle = <0xb>;
  819. };
  820.  
  821. sd_clk_cmd_pins {
  822. amlogic,setmask = <0x2 0xc00>;
  823. amlogic,clrmask = <0x6 0x3f000000 0x8 0x3f 0x2 0xf0>;
  824. amlogic,pins = "CARD_2", "CARD_3";
  825. amlogic,enable-output = <0x1>;
  826. amlogic,pullup = <0x1>;
  827. amlogic,pullupen = <0x1>;
  828. linux,phandle = <0x5>;
  829. phandle = <0x5>;
  830. };
  831.  
  832. emmc_all_pins {
  833. amlogic,setmask = <0x6 0x3f000000>;
  834. amlogic,clrmask = <0x2 0x4c0fc00 0x8 0x3f 0x4 0x6c000000>;
  835. amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_16", "BOOT_17";
  836. amlogic,enable-output = <0x1>;
  837. amlogic,pullup = <0x1>;
  838. amlogic,pullupen = <0x1>;
  839. linux,phandle = <0x8>;
  840. phandle = <0x8>;
  841. };
  842.  
  843. emmc_clk_cmd_pins {
  844. amlogic,setmask = <0x6 0x3000000>;
  845. amlogic,clrmask = <0x2 0x4c0fc00 0x8 0x3f 0x4 0x6c000000>;
  846. amlogic,pins = "BOOT_16", "BOOT_17";
  847. amlogic,enable-output = <0x1>;
  848. amlogic,pullup = <0x1>;
  849. amlogic,pullupen = <0x1>;
  850. linux,phandle = <0x7>;
  851. phandle = <0x7>;
  852. };
  853.  
  854. ao_i2c {
  855. amlogic,setmask = <0xa 0x60>;
  856. amlogic,clrmask = <0xa 0x1800006>;
  857. amlogic,pins = "GPIOAO_4", "GPIOAO_5";
  858. linux,phandle = <0xc>;
  859. phandle = <0xc>;
  860. };
  861.  
  862. b_i2c {
  863. amlogic,setmask = <0x5 0xc000000>;
  864. amlogic,pins = "GPIOZ_2", "GPIOZ_3";
  865. linux,phandle = <0xd>;
  866. phandle = <0xd>;
  867. };
  868.  
  869. d_i2c {
  870. amlogic,setmask = <0x4 0xc>;
  871. amlogic,pins = "GPIOH_7", "GPIOH_8";
  872. linux,phandle = <0xe>;
  873. phandle = <0xe>;
  874. };
  875.  
  876. remote_pin {
  877. amlogic,setmask = <0xa 0x1>;
  878. amlogic,pins = "GPIOAO_7";
  879. linux,phandle = <0x17>;
  880. phandle = <0x17>;
  881. };
  882.  
  883. audio_pin {
  884. amlogic,setmask = <0x1 0x80 0x1 0x75 0xa 0x78000000>;
  885. amlogic,clrmask = <0x1 0x10000 0x1 0xa 0x3 0x389 0x4 0x3c00000 0x9 0xd>;
  886. amlogic,pins = "GPIOY_3", "GPIOY_4", "GPIOY_5", "GPIOY_6", "GPIOY_7", "GPIOY_8", "GPIOAO_8", "GPIOAO_9", "GPIOAO_10", "GPIOAO_11";
  887. linux,phandle = <0x16>;
  888. phandle = <0x16>;
  889. };
  890.  
  891. aml_spi_nor_pins {
  892. amlogic,setmask = <0x5 0xf>;
  893. amlogic,clrmask = <0x2 0x380000>;
  894. amlogic,pins = "BOOT_11", "BOOT_12", "BOOT_13", "BOOT_18";
  895. linux,phandle = <0xf>;
  896. phandle = <0xf>;
  897. };
  898. };
  899.  
  900. meson-eth {
  901. compatible = "amlogic,meson-eth";
  902. dev_name = "meson-eth";
  903. status = "okay";
  904. ethbaseaddr = <0xfe0c0000>;
  905. interruptnum = <0x28>;
  906. };
  907. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement