Advertisement
cnxsoft

Tronsmart Vega S89 Device tree file

May 12th, 2014
874
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.33 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 = <0x1000000>;
  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 = <0x1800000>;
  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 = <0x1000000>;
  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. use_pio = <0x0>;
  318. master_i2c_speed = <0x186a0>;
  319. };
  320.  
  321. i2c@c1108500 {
  322. compatible = "amlogic,aml_i2c";
  323. dev_name = "i2c-A";
  324. status = "ok";
  325. reg = <0xc1108500 0x20>;
  326. device_id = <0x1>;
  327. pinctrl-names = "default";
  328. #address-cells = <0x1>;
  329. #size-cells = <0x0>;
  330. use_pio = <0x0>;
  331. master_i2c_speed = <0x493e0>;
  332. };
  333.  
  334. i2c@c11087c0 {
  335. compatible = "amlogic,aml_i2c";
  336. dev_name = "i2c-B";
  337. status = "ok";
  338. reg = <0xc11087c0 0x20>;
  339. device_id = <0x2>;
  340. pinctrl-names = "default";
  341. pinctrl-0 = <0xd>;
  342. #address-cells = <0x1>;
  343. #size-cells = <0x0>;
  344. use_pio = <0x0>;
  345. master_i2c_speed = <0x493e0>;
  346. };
  347.  
  348. i2c@c11087e0 {
  349. compatible = "amlogic,aml_i2c";
  350. dev_name = "i2c-C";
  351. status = "ok";
  352. reg = <0xc11087e0 0x20>;
  353. device_id = <0x3>;
  354. pinctrl-names = "default";
  355. #address-cells = <0x1>;
  356. #size-cells = <0x0>;
  357. use_pio = <0x0>;
  358. master_i2c_speed = <0x493e0>;
  359. };
  360.  
  361. dvfs {
  362. compatible = "amlogic, amlogic-dvfs";
  363. #address-cells = <0x1>;
  364. #size-cells = <0x0>;
  365. status = "ok";
  366.  
  367. vcck_dvfs {
  368. dvfs_id = <0x1>;
  369. table_count = <0xe>;
  370. 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 0x118c30 0x118c30>;
  371. };
  372. };
  373.  
  374. arm_pmu {
  375. compatible = "arm,cortex-a9-pmu";
  376. status = "ok";
  377. interrupts = <0x0 0x89 0x4 0x0 0x8a 0x4 0x0 0x99 0x4 0x0 0x9a 0x4>;
  378. };
  379.  
  380. pmu {
  381. compatible = "amlogic, aml_pmu_prober";
  382. #address-cells = <0x1>;
  383. #size-cells = <0x0>;
  384.  
  385. rn5t618 {
  386. compatible = "ricoh_pmu";
  387. sub_type = "rn5t618";
  388. i2c_bus = "i2c_bus_ao";
  389. reg = <0x32>;
  390. soft_limit_to99 = <0x0>;
  391. ddr_voltage = <0x16e360>;
  392. vddao_voltage = <0x124f80>;
  393. status = "okay";
  394. };
  395. };
  396.  
  397. usb_con {
  398. lm-compatible = "logicmodule-bus";
  399.  
  400. usb_b {
  401. lm-compatible = "amlogic,usb";
  402. lm-periph-id = <0x1>;
  403. clock-src = "usb1";
  404. port-id = <0x1>;
  405. port-type = <0x1>;
  406. port-speed = <0x0>;
  407. port-config = <0x0>;
  408. port-dma = <0x0>;
  409. port-id-mode = <0x1>;
  410. status = "okay";
  411. };
  412.  
  413. usb_a {
  414. lm-compatible = "amlogic,usb";
  415. lm-periph-id = <0x0>;
  416. clock-src = "usb0";
  417. port-id = <0x0>;
  418. port-type = <0x0>;
  419. port-speed = <0x0>;
  420. port-config = <0x0>;
  421. port-dma = <0x0>;
  422. port-id-mode = <0x0>;
  423. gpio-vbus-power = "GPIOZ_1";
  424. gpio-work-mask = <0x1>;
  425. status = "okay";
  426. };
  427. };
  428.  
  429. spi@cc000000 {
  430. compatible = "amlogic,apollo_spi_nor";
  431. status = "ok";
  432. reg = <0xcc000000 0x4000000>;
  433. pinctrl-names = "default";
  434. pinctrl-0 = <0xe>;
  435. nr-parts = <0x2>;
  436. nr-part-0 = <0xf>;
  437. nr-part-1 = <0x10>;
  438.  
  439. bootloader {
  440. offset = <0x0>;
  441. size = <0x60000>;
  442. linux,phandle = <0xf>;
  443. phandle = <0xf>;
  444. };
  445.  
  446. ubootenv {
  447. offset = <0x100000>;
  448. size = <0x10000>;
  449. linux,phandle = <0x10>;
  450. phandle = <0x10>;
  451. };
  452. };
  453.  
  454. nand {
  455. compatible = "amlogic,aml_nand";
  456. dev_name = "nand";
  457. status = "ok";
  458. reg = <0xd0048600 0x24>;
  459. pinctrl-names = "nand_rb_mod", "nand_norb_mod";
  460. pinctrl-0 = <0x11 0x12 0x13>;
  461. pinctrl-1 = <0x11 0x12 0x13>;
  462. device_id = <0x0>;
  463. plat-names = "nandnormal";
  464. plat-num = <0x1>;
  465. plat-part-0 = <0x14>;
  466.  
  467. normal {
  468. enable_pad = "ce0", "ce1", "ce2", "ce3";
  469. busy_pad = "rb0";
  470. linux,phandle = <0x14>;
  471. phandle = <0x14>;
  472. };
  473. };
  474.  
  475. efuse {
  476. compatible = "amlogic,efuse";
  477. dev_name = "efuse";
  478. status = "okay";
  479. plat-pos = <0x0 0x1c6>;
  480. plat-count = <0x3a>;
  481. usid-min = <0x8>;
  482. usid-max = <0x1f>;
  483. };
  484.  
  485. thermal {
  486. compatible = "amlogic-thermal";
  487. #thermal-cells = <0x7>;
  488. dev_name = "aml_thermal";
  489. trip_point = <0x46 0x188941 0x188941 0x1ff 0x1ff 0x2 0x3 0x4b 0x124f81 0x124f81 0x1b3 0x1b3 0x2 0x3 0x50 0xc3501 0xc3501 0x148 0x148 0x1 0x1 0x6e 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff>;
  490. cpu_cali_a = <0x0>;
  491. idle_interval = <0x3e8>;
  492. };
  493.  
  494. audio_platform {
  495. compatible = "amlogic,aml-i2s";
  496. dev_name = "aml-i2s.0";
  497. status = "okay";
  498. };
  499.  
  500. audio_dai {
  501. compatible = "amlogic,aml-i2s-dai";
  502. dev_name = "aml-i2s-dai.0";
  503. status = "okay";
  504. };
  505.  
  506. audio_spdif_dai {
  507. compatible = "amlogic,aml-spdif-dai";
  508. dev_name = "aml-spdif-dai.0";
  509. status = "okay";
  510. };
  511.  
  512. audio_spdif_codec {
  513. compatible = "amlogic,aml-spdif-codec";
  514. dev_name = "spdif-dit.0";
  515. status = "okay";
  516. };
  517.  
  518. audio_pcm2BT_codec {
  519. compatible = "amlogic,pcm2BT-codec";
  520. dev_name = "pcm2bt.0";
  521. status = "okay";
  522. };
  523.  
  524. audio_pcm_dai {
  525. compatible = "amlogic,aml-pcm-dai";
  526. dev_name = "aml-pcm-dai.0";
  527. status = "okay";
  528. };
  529.  
  530. audio_pcm {
  531. compatible = "amlogic,aml-pcm";
  532. dev_name = "aml-pcm.0";
  533. status = "okay";
  534. };
  535.  
  536. audio_m8_audio {
  537. compatible = "amlogic,m8_audio_codec";
  538. dev_name = "aml_m8_codec.0";
  539. status = "okay";
  540. };
  541.  
  542. aml_audio_codec {
  543. compatible = "amlogic,audio_codec";
  544.  
  545. rt5616 {
  546. codec_name = "rt5616";
  547. i2c_addr = <0x1b>;
  548. i2c_bus = "i2c_bus_d";
  549. id_reg = <0x0>;
  550. id_val = <0x21>;
  551. capless = <0x0>;
  552. status = "okay";
  553. };
  554. };
  555.  
  556. aml_m8_sound_card {
  557. compatible = "sound_card, aml_snd_m8";
  558. aml,sound_card = "AML-M8AUDIO";
  559. aml,codec_dai = "AML-M8", "rt5616-aif1", "rt5631-hifi", "wm8960-hifi";
  560. aml,audio-routing-rt5616 = "Ext Spk", "LOUTL", "Ext Spk", "LOUTR", "HP", "HPOL", "HP", "HPOR", "micbias1", "MAIN MIC", "IN2P", "micbias1";
  561. aml,audio-routing-amlm8 = "Ext Spk", "LINEOUTL", "Ext Spk", "LINEOUTR", "HP", "HP_L", "HP", "HP_R", "MICBIAS", "MAIN MIC", "LINPUT1", "MICBIAS";
  562. mute_gpio = "GPIO_BSD_EN";
  563. hp_paraments = <0x320 0x12c 0x0 0x5 0x1>;
  564. pinctrl-names = "aml_snd_m8";
  565. pinctrl-0 = <0x15>;
  566. status = "okay";
  567. };
  568.  
  569. saradc {
  570. compatible = "amlogic,saradc";
  571. status = "okay";
  572. };
  573.  
  574. meson-remote {
  575. compatible = "amlogic,aml_remote";
  576. dev_name = "meson-remote";
  577. status = "ok";
  578. ao_baseaddr = <0xf3100480>;
  579. pinctrl-names = "default";
  580. pinctrl-0 = <0x16>;
  581. };
  582.  
  583. securitykey {
  584. compatible = "amlogic,aml_keys";
  585. status = "ok";
  586. };
  587.  
  588. unifykey {
  589. compatible = "amlogic,unifykey";
  590. status = "ok";
  591. unifykey-num = <0x5>;
  592. unifykey-index-0 = <0x17>;
  593. unifykey-index-1 = <0x18>;
  594. unifykey-index-2 = <0x19>;
  595. unifykey-index-3 = <0x1a>;
  596. unifykey-index-4 = <0x1b>;
  597.  
  598. key_0 {
  599. key-name = "usid";
  600. key-device = "nandkey";
  601. key-dataformat = "allascii";
  602. key-permit = "read", "write", "del";
  603. linux,phandle = <0x17>;
  604. phandle = <0x17>;
  605. };
  606.  
  607. key_1 {
  608. key-name = "mac";
  609. key-device = "nandkey";
  610. key-dataformat = "hexdata";
  611. key-permit = "read", "write", "del";
  612. linux,phandle = <0x18>;
  613. phandle = <0x18>;
  614. };
  615.  
  616. key_2 {
  617. key-name = "key2";
  618. key-device = "nandkey";
  619. key-dataformat = "hexdata";
  620. key-permit = "read", "write", "del";
  621. linux,phandle = <0x19>;
  622. phandle = <0x19>;
  623. };
  624.  
  625. key_3 {
  626. key-name = "mac_wifi";
  627. key-device = "nandkey";
  628. key-dataformat = "hexascii";
  629. key-permit = "read", "write", "del";
  630. linux,phandle = <0x1a>;
  631. phandle = <0x1a>;
  632. };
  633.  
  634. key_4 {
  635. key-name = "mac_bt";
  636. key-device = "nandkey";
  637. key-dataformat = "hexascii";
  638. key-permit = "read", "write", "del";
  639. linux,phandle = <0x1b>;
  640. phandle = <0x1b>;
  641. };
  642. };
  643.  
  644. amhdmitx {
  645. compatible = "amlogic,amhdmitx";
  646. dev_name = "amhdmitx";
  647. status = "ok";
  648. vend-data = <0x1c>;
  649. pwr-ctrl = <0x1d>;
  650.  
  651. vend_data {
  652. vendor_name = "Amlogic";
  653. vendor_id = <0x0>;
  654. product_desc = "M8 MBox SKTv1";
  655. cec_osd_string = "Amlogic MBox";
  656. linux,phandle = <0x1c>;
  657. phandle = <0x1c>;
  658. };
  659.  
  660. pwr_ctrl {
  661. pwr_5v_on = [00];
  662. pwr_5v_off = [00];
  663. pwr_3v3_on = [00];
  664. pwr_3v3_off = [00];
  665. pwr_hpll_vdd_on = [00];
  666. pwr_hpll_vdd_off = [00];
  667. linux,phandle = <0x1d>;
  668. phandle = <0x1d>;
  669. };
  670. };
  671.  
  672. aml_pm {
  673. compatible = "amlogic,pm-m8";
  674. dev_name = "aml_pm_m8";
  675. status = "okay";
  676. };
  677.  
  678. cpufreq-meson {
  679. compatible = "amlogic,cpufreq-meson";
  680. status = "okay";
  681. };
  682.  
  683. crypto_device {
  684. compatible = "amlogic,crypto-device";
  685. dev_name = "crypto_device";
  686. };
  687.  
  688. gpio {
  689. compatible = "amlogic,m8-gpio";
  690. dev_name = "gpio";
  691. #gpio-cells = <0x2>;
  692. };
  693.  
  694. pinmux {
  695. compatible = "amlogic,pinmux-m8";
  696. dev_name = "pinmux";
  697. #pinmux-cells = <0x2>;
  698.  
  699. ao_uart {
  700. amlogic,setmask = <0xa 0x1800>;
  701. amlogic,pins = "GPIOAO_0", "GPIOAO_1";
  702. linux,phandle = <0x3>;
  703. phandle = <0x3>;
  704. };
  705.  
  706. a_uart {
  707. amlogic,setmask = <0x4 0x3c00>;
  708. amlogic,pins = "GPIOX_12", "GPIOX_13", "GPIOX_14", "GPIOX_15";
  709. linux,phandle = <0x4>;
  710. phandle = <0x4>;
  711. };
  712.  
  713. nand_input {
  714. 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";
  715. amlogic,enable-output = <0x1>;
  716. linux,phandle = <0x11>;
  717. phandle = <0x11>;
  718. };
  719.  
  720. conf_nand {
  721. amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_15";
  722. amlogic,pullup = <0x0>;
  723. linux,phandle = <0x12>;
  724. phandle = <0x12>;
  725. };
  726.  
  727. nand {
  728. amlogic,setmask = <0x2 0x7fe0000>;
  729. amlogic,clrmask = <0x5 0xe 0x6 0x3f000000 0x4 0x7c000000>;
  730. 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";
  731. linux,phandle = <0x13>;
  732. phandle = <0x13>;
  733. };
  734.  
  735. sdhc_b_pin {
  736. amlogic,setmask = <0x2 0xfc00>;
  737. amlogic,clrmask = <0x2 0xf0 0x8 0x600>;
  738. amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
  739. };
  740.  
  741. sdhc_c_pin {
  742. amlogic,setmask = <0x6 0x3f000000>;
  743. amlogic,clrmask = <0x4 0x6c000000 0x2 0x4c00000>;
  744. amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_10", "BOOT_11";
  745. };
  746.  
  747. sdhc_a_pin {
  748. amlogic,setmask = <0x8 0x3f>;
  749. amlogic,clrmask = <0x5 0x6c00>;
  750. amlogic,pins = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_8", "GPIOX_9";
  751. };
  752.  
  753. sdio_all_pins {
  754. amlogic,setmask = <0x8 0x3f>;
  755. amlogic,clrmask = <0x6 0x3f000000 0x2 0xfc00 0x5 0x6c00>;
  756. amlogic,pins = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_8", "GPIOX_9";
  757. amlogic,enable-output = <0x1>;
  758. amlogic,pullup = <0x1>;
  759. amlogic,pullupen = <0x1>;
  760. linux,phandle = <0xa>;
  761. phandle = <0xa>;
  762. };
  763.  
  764. sdio_clk_cmd_pins {
  765. amlogic,setmask = <0x8 0x3>;
  766. amlogic,clrmask = <0x6 0x3f000000 0x2 0xfc00 0x5 0x6c00>;
  767. amlogic,pins = "GPIOX_8", "GPIOX_9";
  768. amlogic,enable-output = <0x1>;
  769. amlogic,pullup = <0x1>;
  770. amlogic,pullupen = <0x1>;
  771. linux,phandle = <0x9>;
  772. phandle = <0x9>;
  773. };
  774.  
  775. sd_all_pins {
  776. amlogic,setmask = <0x2 0xfc00>;
  777. amlogic,clrmask = <0x6 0x3f000000 0x8 0x63f 0x2 0xf0>;
  778. amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
  779. amlogic,enable-output = <0x1>;
  780. amlogic,pullup = <0x1>;
  781. amlogic,pullupen = <0x1>;
  782. linux,phandle = <0x6>;
  783. phandle = <0x6>;
  784. };
  785.  
  786. sd_1bit_pins {
  787. amlogic,setmask = <0x2 0x8c00>;
  788. amlogic,clrmask = <0x6 0x3f000000 0x8 0x3f 0x2 0xf0>;
  789. amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
  790. amlogic,enable-output = <0x1>;
  791. amlogic,pullup = <0x1>;
  792. amlogic,pullupen = <0x1>;
  793. linux,phandle = <0xb>;
  794. phandle = <0xb>;
  795. };
  796.  
  797. sd_clk_cmd_pins {
  798. amlogic,setmask = <0x2 0xc00>;
  799. amlogic,clrmask = <0x6 0x3f000000 0x8 0x3f 0x2 0xf0>;
  800. amlogic,pins = "CARD_2", "CARD_3";
  801. amlogic,enable-output = <0x1>;
  802. amlogic,pullup = <0x1>;
  803. amlogic,pullupen = <0x1>;
  804. linux,phandle = <0x5>;
  805. phandle = <0x5>;
  806. };
  807.  
  808. emmc_all_pins {
  809. amlogic,setmask = <0x6 0x3f000000>;
  810. amlogic,clrmask = <0x2 0x4c0fc00 0x8 0x3f 0x4 0x6c000000>;
  811. amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_16", "BOOT_17";
  812. amlogic,enable-output = <0x1>;
  813. amlogic,pullup = <0x1>;
  814. amlogic,pullupen = <0x1>;
  815. linux,phandle = <0x8>;
  816. phandle = <0x8>;
  817. };
  818.  
  819. emmc_clk_cmd_pins {
  820. amlogic,setmask = <0x6 0x3000000>;
  821. amlogic,clrmask = <0x2 0x4c0fc00 0x8 0x3f 0x4 0x6c000000>;
  822. amlogic,pins = "BOOT_16", "BOOT_17";
  823. amlogic,enable-output = <0x1>;
  824. amlogic,pullup = <0x1>;
  825. amlogic,pullupen = <0x1>;
  826. linux,phandle = <0x7>;
  827. phandle = <0x7>;
  828. };
  829.  
  830. ao_i2c {
  831. amlogic,setmask = <0xa 0x60>;
  832. amlogic,clrmask = <0xa 0x1800006>;
  833. amlogic,pins = "GPIOAO_4", "GPIOAO_5";
  834. linux,phandle = <0xc>;
  835. phandle = <0xc>;
  836. };
  837.  
  838. b_i2c {
  839. amlogic,setmask = <0x5 0xc000000>;
  840. amlogic,pins = "GPIOZ_2", "GPIOZ_3";
  841. linux,phandle = <0xd>;
  842. phandle = <0xd>;
  843. };
  844.  
  845. remote_pin {
  846. amlogic,setmask = <0xa 0x1>;
  847. amlogic,pins = "GPIOAO_7";
  848. linux,phandle = <0x16>;
  849. phandle = <0x16>;
  850. };
  851.  
  852. audio_pin {
  853. amlogic,setmask = <0x1 0x80 0x1 0x75 0xa 0x78000000>;
  854. amlogic,clrmask = <0x1 0x10000 0x1 0xa 0x3 0x389 0x4 0x3c00000 0x9 0xd>;
  855. amlogic,pins = "GPIOY_3", "GPIOY_4", "GPIOY_5", "GPIOY_6", "GPIOY_7", "GPIOY_8", "GPIOAO_8", "GPIOAO_9", "GPIOAO_10", "GPIOAO_11";
  856. linux,phandle = <0x15>;
  857. phandle = <0x15>;
  858. };
  859.  
  860. aml_spi_nor_pins {
  861. amlogic,setmask = <0x5 0xf>;
  862. amlogic,clrmask = <0x2 0x380000>;
  863. amlogic,pins = "BOOT_11", "BOOT_12", "BOOT_13", "BOOT_18";
  864. linux,phandle = <0xe>;
  865. phandle = <0xe>;
  866. };
  867.  
  868. dvb_p_ts0_pins {
  869. amlogic,setmask = <0x3 0x3f>;
  870. amlogic,clrmask = <0x1 0xcce41 0x4 0x2000000 0x7 0x20000000 0x9 0x431f>;
  871. amlogic,pins = "GPIOY_9", "GPIOY_10", "GPIOY_11", "GPIOY_12", "GPIOY_13", "GPIOY_14", "GPIOY_15", "GPIOY_16", "GPIOY_0", "GPIOY_1", "GPIOY_4", "GPIOY_8";
  872. linux,phandle = <0x1e>;
  873. phandle = <0x1e>;
  874. };
  875.  
  876. dvb_s_ts0_pins {
  877. amlogic,setmask = <0x3 0x1f>;
  878. amlogic,clrmask = <0x1 0xcce41 0x4 0x2000000 0x9 0x310>;
  879. amlogic,pins = "GPIOY_9", "GPIOY_0", "GPIOY_1", "GPIOY_4", "GPIOY_8";
  880. linux,phandle = <0x1f>;
  881. phandle = <0x1f>;
  882. };
  883.  
  884. dvb_fe_pins {
  885. amlogic,clrmask = <0x1 0x38 0x3 0x18000 0x4 0x1800000 0x9 0xc0>;
  886. amlogic,pins = "GPIOY_5", "GPIOY_6";
  887. linux,phandle = <0x20>;
  888. phandle = <0x20>;
  889. };
  890. };
  891.  
  892. meson-eth {
  893. compatible = "amlogic,meson-eth";
  894. dev_name = "meson-eth";
  895. status = "okay";
  896. ethbaseaddr = <0xfe0c0000>;
  897. interruptnum = <0x28>;
  898. };
  899.  
  900. dvb {
  901. compatible = "amlogic,dvb";
  902. ts0 = "parallel";
  903. ts0_control = <0x0>;
  904. ts0_invert = <0x0>;
  905. pinctrl-names = "p_ts0", "s_ts0";
  906. pinctrl-0 = <0x1e>;
  907. pinctrl-1 = <0x1f>;
  908. };
  909.  
  910. dvbfe {
  911. compatible = "amlogic,dvbfe";
  912. dtv_demod0 = "Avl6211";
  913. dtv_demod0_i2c_adap_id = <0x2>;
  914. dtv_demod0_i2c_addr = <0xc0>;
  915. dtv_demod0_reset_value = <0x0>;
  916. dtv_demod0_reset_gpio = "GPIOY_5";
  917. fe0_dtv_demod = <0x0>;
  918. fe0_ts = <0x0>;
  919. fe0_dev = <0x0>;
  920. pinctrl-names = "default";
  921. pinctrl-0 = <0x20>;
  922. };
  923. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement