cnxsoft

M8 Device Tree File

May 12th, 2014
6,211
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 0x118c30 0x118c30>;
  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. gpio_keypad {
  614. compatible = "amlogic,gpio_keypad";
  615. status = "okay";
  616. scan_period = <0x14>;
  617. key_num = <0x1>;
  618. key_name = "power";
  619. key_code = <0x74>;
  620. key_pin = "GPIOAO_3";
  621. irq_keyup = <0x6>;
  622. irq_keydown = <0x7>;
  623. };
  624.  
  625. saradc {
  626. compatible = "amlogic,saradc";
  627. status = "okay";
  628. };
  629.  
  630. meson-remote {
  631. compatible = "amlogic,aml_remote";
  632. dev_name = "meson-remote";
  633. status = "ok";
  634. ao_baseaddr = <0xf3100480>;
  635. pinctrl-names = "default";
  636. pinctrl-0 = <0x17>;
  637. };
  638.  
  639. securitykey {
  640. compatible = "amlogic,aml_keys";
  641. status = "ok";
  642. };
  643.  
  644. unifykey {
  645. compatible = "amlogic,unifykey";
  646. status = "ok";
  647. efuse-version = <0x14>;
  648. unifykey-num = <0x3>;
  649. unifykey-index-0 = <0x18>;
  650. unifykey-index-1 = <0x19>;
  651. unifykey-index-2 = <0x1a>;
  652.  
  653. key_0 {
  654. key-name = "usid";
  655. key-device = "nandkey";
  656. key-dataformat = "allascii";
  657. key-permit = "read", "write", "del";
  658. linux,phandle = <0x18>;
  659. phandle = <0x18>;
  660. };
  661.  
  662. key_1 {
  663. key-name = "mac";
  664. key-device = "efusekey";
  665. key-dataformat = "hexdata";
  666. key-permit = "read", "write", "del";
  667. linux,phandle = <0x19>;
  668. phandle = <0x19>;
  669. };
  670.  
  671. key_2 {
  672. key-name = "key2";
  673. key-device = "nandkey";
  674. key-dataformat = "hexdata";
  675. key-permit = "read", "write", "del";
  676. linux,phandle = <0x1a>;
  677. phandle = <0x1a>;
  678. };
  679. };
  680.  
  681. amhdmitx {
  682. compatible = "amlogic,amhdmitx";
  683. dev_name = "amhdmitx";
  684. status = "ok";
  685. vend-data = <0x1b>;
  686. pwr-ctrl = <0x1c>;
  687.  
  688. vend_data {
  689. vendor_name = "Amlogic";
  690. vendor_id = <0x0>;
  691. product_desc = "M8 MBox SKTv1";
  692. cec_osd_string = "Amlogic MBox";
  693. linux,phandle = <0x1b>;
  694. phandle = <0x1b>;
  695. };
  696.  
  697. pwr_ctrl {
  698. pwr_5v_on = [00];
  699. pwr_5v_off = [00];
  700. pwr_3v3_on = [00];
  701. pwr_3v3_off = [00];
  702. pwr_hpll_vdd_on = [00];
  703. pwr_hpll_vdd_off = [00];
  704. linux,phandle = <0x1c>;
  705. phandle = <0x1c>;
  706. };
  707. };
  708.  
  709. aml_pm {
  710. compatible = "amlogic,pm-m8";
  711. dev_name = "aml_pm_m8";
  712. status = "okay";
  713. };
  714.  
  715. cpufreq-meson {
  716. compatible = "amlogic,cpufreq-meson";
  717. status = "okay";
  718. };
  719.  
  720. crypto_device {
  721. compatible = "amlogic,crypto-device";
  722. dev_name = "crypto_device";
  723. };
  724.  
  725. gpio {
  726. compatible = "amlogic,m8-gpio";
  727. dev_name = "gpio";
  728. #gpio-cells = <0x2>;
  729. };
  730.  
  731. pinmux {
  732. compatible = "amlogic,pinmux-m8";
  733. dev_name = "pinmux";
  734. #pinmux-cells = <0x2>;
  735.  
  736. ao_uart {
  737. amlogic,setmask = <0xa 0x1800>;
  738. amlogic,pins = "GPIOAO_0", "GPIOAO_1";
  739. linux,phandle = <0x3>;
  740. phandle = <0x3>;
  741. };
  742.  
  743. a_uart {
  744. amlogic,setmask = <0x4 0x3c00>;
  745. amlogic,pins = "GPIOX_12", "GPIOX_13", "GPIOX_14", "GPIOX_15";
  746. linux,phandle = <0x4>;
  747. phandle = <0x4>;
  748. };
  749.  
  750. nand_input {
  751. 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";
  752. amlogic,enable-output = <0x1>;
  753. linux,phandle = <0x12>;
  754. phandle = <0x12>;
  755. };
  756.  
  757. conf_nand {
  758. amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_15";
  759. amlogic,pullup = <0x0>;
  760. linux,phandle = <0x13>;
  761. phandle = <0x13>;
  762. };
  763.  
  764. nand {
  765. amlogic,setmask = <0x2 0x7fe0000>;
  766. amlogic,clrmask = <0x5 0xe 0x6 0x3f000000 0x4 0x7c000000>;
  767. 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";
  768. linux,phandle = <0x14>;
  769. phandle = <0x14>;
  770. };
  771.  
  772. sdhc_b_pin {
  773. amlogic,setmask = <0x2 0xfc00>;
  774. amlogic,clrmask = <0x2 0xf0 0x8 0x600>;
  775. amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
  776. };
  777.  
  778. sdhc_c_pin {
  779. amlogic,setmask = <0x6 0x3f000000>;
  780. amlogic,clrmask = <0x4 0x6c000000 0x2 0x4c00000>;
  781. amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_10", "BOOT_11";
  782. };
  783.  
  784. sdhc_a_pin {
  785. amlogic,setmask = <0x8 0x3f>;
  786. amlogic,clrmask = <0x5 0x6c00>;
  787. amlogic,pins = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_8", "GPIOX_9";
  788. };
  789.  
  790. sdio_all_pins {
  791. amlogic,setmask = <0x8 0x3f>;
  792. amlogic,clrmask = <0x6 0x3f000000 0x2 0xfc00 0x5 0x6c00>;
  793. amlogic,pins = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_8", "GPIOX_9";
  794. amlogic,enable-output = <0x1>;
  795. amlogic,pullup = <0x1>;
  796. amlogic,pullupen = <0x1>;
  797. linux,phandle = <0xa>;
  798. phandle = <0xa>;
  799. };
  800.  
  801. sdio_clk_cmd_pins {
  802. amlogic,setmask = <0x8 0x3>;
  803. amlogic,clrmask = <0x6 0x3f000000 0x2 0xfc00 0x5 0x6c00>;
  804. amlogic,pins = "GPIOX_8", "GPIOX_9";
  805. amlogic,enable-output = <0x1>;
  806. amlogic,pullup = <0x1>;
  807. amlogic,pullupen = <0x1>;
  808. linux,phandle = <0x9>;
  809. phandle = <0x9>;
  810. };
  811.  
  812. sd_all_pins {
  813. amlogic,setmask = <0x2 0xfc00>;
  814. amlogic,clrmask = <0x6 0x3f000000 0x8 0x63f 0x2 0xf0>;
  815. amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
  816. amlogic,enable-output = <0x1>;
  817. amlogic,pullup = <0x1>;
  818. amlogic,pullupen = <0x1>;
  819. linux,phandle = <0x6>;
  820. phandle = <0x6>;
  821. };
  822.  
  823. sd_1bit_pins {
  824. amlogic,setmask = <0x2 0x8c00>;
  825. amlogic,clrmask = <0x6 0x3f000000 0x8 0x3f 0x2 0xf0>;
  826. amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
  827. amlogic,enable-output = <0x1>;
  828. amlogic,pullup = <0x1>;
  829. amlogic,pullupen = <0x1>;
  830. linux,phandle = <0xb>;
  831. phandle = <0xb>;
  832. };
  833.  
  834. sd_clk_cmd_pins {
  835. amlogic,setmask = <0x2 0xc00>;
  836. amlogic,clrmask = <0x6 0x3f000000 0x8 0x3f 0x2 0xf0>;
  837. amlogic,pins = "CARD_2", "CARD_3";
  838. amlogic,enable-output = <0x1>;
  839. amlogic,pullup = <0x1>;
  840. amlogic,pullupen = <0x1>;
  841. linux,phandle = <0x5>;
  842. phandle = <0x5>;
  843. };
  844.  
  845. emmc_all_pins {
  846. amlogic,setmask = <0x6 0x3f000000>;
  847. amlogic,clrmask = <0x2 0x4c0fc00 0x8 0x3f 0x4 0x6c000000>;
  848. amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_16", "BOOT_17";
  849. amlogic,enable-output = <0x1>;
  850. amlogic,pullup = <0x1>;
  851. amlogic,pullupen = <0x1>;
  852. linux,phandle = <0x8>;
  853. phandle = <0x8>;
  854. };
  855.  
  856. emmc_clk_cmd_pins {
  857. amlogic,setmask = <0x6 0x3000000>;
  858. amlogic,clrmask = <0x2 0x4c0fc00 0x8 0x3f 0x4 0x6c000000>;
  859. amlogic,pins = "BOOT_16", "BOOT_17";
  860. amlogic,enable-output = <0x1>;
  861. amlogic,pullup = <0x1>;
  862. amlogic,pullupen = <0x1>;
  863. linux,phandle = <0x7>;
  864. phandle = <0x7>;
  865. };
  866.  
  867. ao_i2c {
  868. amlogic,setmask = <0xa 0x60>;
  869. amlogic,clrmask = <0xa 0x1800006>;
  870. amlogic,pins = "GPIOAO_4", "GPIOAO_5";
  871. linux,phandle = <0xc>;
  872. phandle = <0xc>;
  873. };
  874.  
  875. b_i2c {
  876. amlogic,setmask = <0x5 0xc000000>;
  877. amlogic,pins = "GPIOZ_2", "GPIOZ_3";
  878. linux,phandle = <0xd>;
  879. phandle = <0xd>;
  880. };
  881.  
  882. d_i2c {
  883. amlogic,setmask = <0x4 0xc>;
  884. amlogic,pins = "GPIOH_7", "GPIOH_8";
  885. linux,phandle = <0xe>;
  886. phandle = <0xe>;
  887. };
  888.  
  889. remote_pin {
  890. amlogic,setmask = <0xa 0x1>;
  891. amlogic,pins = "GPIOAO_7";
  892. linux,phandle = <0x17>;
  893. phandle = <0x17>;
  894. };
  895.  
  896. audio_pin {
  897. amlogic,setmask = <0x1 0x80 0x1 0x75 0xa 0x78000000>;
  898. amlogic,clrmask = <0x1 0x10000 0x1 0xa 0x3 0x389 0x4 0x3c00000 0x9 0xd>;
  899. amlogic,pins = "GPIOY_3", "GPIOY_4", "GPIOY_5", "GPIOY_6", "GPIOY_7", "GPIOY_8", "GPIOAO_8", "GPIOAO_9", "GPIOAO_10", "GPIOAO_11";
  900. linux,phandle = <0x16>;
  901. phandle = <0x16>;
  902. };
  903.  
  904. aml_spi_nor_pins {
  905. amlogic,setmask = <0x5 0xf>;
  906. amlogic,clrmask = <0x2 0x380000>;
  907. amlogic,pins = "BOOT_11", "BOOT_12", "BOOT_13", "BOOT_18";
  908. linux,phandle = <0xf>;
  909. phandle = <0xf>;
  910. };
  911. };
  912.  
  913. meson-eth {
  914. compatible = "amlogic,meson-eth";
  915. dev_name = "meson-eth";
  916. status = "okay";
  917. ethbaseaddr = <0xfe0c0000>;
  918. interruptnum = <0x28>;
  919. };
  920. };
RAW Paste Data