Guest User

EXTRACTED DTB

a guest
Jan 23rd, 2023
490
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.27 KB | None | 0 0
  1. /dts-v1/;
  2.  
  3. / {
  4. amlogic-dt-id = "m8b_m201_1G";
  5. compatible = "AMLOGIC,8726_M8B";
  6. model = "AMLOGIC";
  7. interrupt-parent = <0x01>;
  8. #address-cells = <0x01>;
  9. #size-cells = <0x01>;
  10.  
  11. cpus {
  12. #address-cells = <0x01>;
  13. #size-cells = <0x00>;
  14.  
  15. cpu@0 {
  16. device_type = "cpu";
  17. compatible = "arm,cortex-a5";
  18. reg = <0x200>;
  19. };
  20.  
  21. cpu@1 {
  22. device_type = "cpu";
  23. compatible = "arm,cortex-a5";
  24. reg = <0x01>;
  25. };
  26.  
  27. cpu@2 {
  28. device_type = "cpu";
  29. compatible = "arm,cortex-a5";
  30. reg = <0x02>;
  31. };
  32.  
  33. cpu@3 {
  34. device_type = "cpu";
  35. compatible = "arm,cortex-a5";
  36. reg = <0x03>;
  37. };
  38. };
  39.  
  40. cache-controller {
  41. compatible = "arm,meson-pl310-cache";
  42. reg = <0xc4200000 0x1000>;
  43. arm,data-latency = <0x03 0x03 0x03>;
  44. arm,tag-latency = <0x02 0x02 0x02>;
  45. arm,filter-ranges = <0x100000 0xc0000000>;
  46. cache-unified;
  47. cache-level = <0x02>;
  48. aux-instruction_prefetch;
  49. aux-data_prefetch;
  50. aux-ns_lockdown;
  51. aux-force_no_write_alloc;
  52. aux-cache_replace_policy_round_robin;
  53. aux-early_write_response;
  54. aux-full_line_of_zero;
  55. aux-ns_int_ctrl;
  56. aux-share_override;
  57. prefetch-double_line_fill;
  58. prefetch-prefetch_drop;
  59. prefetch-prefetch_offset = <0x07>;
  60. };
  61.  
  62. memory {
  63. device_type = "memory";
  64. aml_reserved_start = <0x6000000>;
  65. aml_reserved_end = <0x5000000>;
  66. phys_offset = <0x200000>;
  67. linux,total-memory = <0x3fe00000>;
  68. #address-cells = <0x01>;
  69. #size-cells = <0x01>;
  70.  
  71. region@0 {
  72. region_name = "cma_0";
  73. reg = <0x00 0x1200000>;
  74. linux,contiguous-region;
  75. linux,phandle = <0x02>;
  76. phandle = <0x02>;
  77. };
  78. };
  79.  
  80. interrupt-controller {
  81. compatible = "arm,cortex-a9-gic";
  82. reg = <0xc4301000 0x1000 0xc4300100 0x100>;
  83. interrupt-controller;
  84. #interrupt-cells = <0x03>;
  85. #address-cells = <0x00>;
  86. linux,phandle = <0x01>;
  87. phandle = <0x01>;
  88. };
  89.  
  90. vpu {
  91. compatible = "amlogic,vpu";
  92. dev_name = "vpu";
  93. status = "ok";
  94. clk_level = <0x03>;
  95. };
  96.  
  97. mesonfb {
  98. compatible = "amlogic,mesonfb";
  99. dev_name = "mesonfb";
  100. status = "okay";
  101. reserve-memory = <0x1800000 0x100000>;
  102. reserve-iomap = "true";
  103. vmode = <0x03>;
  104. scale_mode = <0x01>;
  105. 4k2k_fb = <0x00>;
  106. display_size_default = <0x780 0x438 0x780 0xca8 0x20>;
  107. };
  108.  
  109. deinterlace {
  110. compatible = "amlogic,deinterlace";
  111. dev_name = "deinterlace";
  112. status = "ok";
  113. reserve-memory = <0x2100000>;
  114. };
  115.  
  116. mesonstream {
  117. compatible = "amlogic,mesonstream";
  118. dev_name = "mesonstream.0";
  119. status = "okay";
  120. reserve-memory = <0x2000000>;
  121. };
  122.  
  123. vdec {
  124. compatible = "amlogic,vdec";
  125. dev_name = "vdec.0";
  126. status = "okay";
  127. reserve-memory = <0x4000000>;
  128. reserve-iomap = "true";
  129. };
  130.  
  131. ppmgr {
  132. compatible = "amlogic,ppmgr";
  133. dev_name = "ppmgr";
  134. status = "okay";
  135. reserve-memory = <0x2000000>;
  136. };
  137.  
  138. amvenc_avc {
  139. compatible = "amlogic,amvenc_avc";
  140. dev_name = "amvenc_avc.0";
  141. status = "okay";
  142. linux,contiguous-region = <0x02>;
  143. reserve-iomap = "true";
  144. };
  145.  
  146. ion_dev {
  147. compatible = "amlogic,ion_dev";
  148. dev_name = "ion_dev";
  149. status = "ok";
  150. share-memory-name = "ppmgr0";
  151. share-memory-offset = <0x00>;
  152. share-memory-size = <0x2000000>;
  153. };
  154.  
  155. mesonvout {
  156. compatible = "amlogic,mesonvout";
  157. dev_name = "mesonvout";
  158. status = "okay";
  159. };
  160.  
  161. amvideocap {
  162. compatible = "amlogic,amvideocap";
  163. dev_name = "amvideocap.0";
  164. status = "okay";
  165. reserve-memory = <0x600000>;
  166. reserve-iomap = "true";
  167. };
  168.  
  169. rtc {
  170. compatible = "amlogic,aml_rtc";
  171. sec_adjust = <0x6c7>;
  172. status = "okay";
  173. };
  174.  
  175. uart_ao {
  176. compatible = "amlogic,aml_uart";
  177. port_name = "uart_ao";
  178. status = "okay";
  179. dev_name = "uart_ao";
  180. };
  181.  
  182. uart_0 {
  183. compatible = "amlogic,aml_uart";
  184. port_name = "uart_a";
  185. status = "disabled";
  186. dev_name = "uart_0";
  187. };
  188.  
  189. uart_1 {
  190. compatible = "amlogic,aml_uart";
  191. port_name = "uart_b";
  192. status = "okay";
  193. dev_name = "uart_1";
  194. pinctrl-names = "default";
  195. pinctrl-0 = <0x03>;
  196. };
  197.  
  198. uart_2 {
  199. compatible = "amlogic,aml_uart";
  200. port_name = "uart_c";
  201. status = "disabled";
  202. dev_name = "uart_2";
  203. };
  204.  
  205. uart_3 {
  206. compatible = "amlogic,aml_uart";
  207. port_name = "uart_d";
  208. status = "ok";
  209. dev_name = "uart_3";
  210. };
  211.  
  212. bt-dev {
  213. compatible = "amlogic,bt-dev";
  214. dev_name = "bt-dev";
  215. status = "ok";
  216. gpio_reset = "GPIOX_20";
  217. };
  218.  
  219. wifi {
  220. compatible = "amlogic,aml_broadcm_wifi";
  221. dev_name = "aml_broadcm_wifi";
  222. status = "okay";
  223. interrupt_pin = "GPIOX_21";
  224. irq_num = <0x04>;
  225. irq_trigger_type = "GPIO_IRQ_HIGH";
  226. power_on_pin = "GPIOAO_6";
  227. power_on_pin2 = "GPIOX_11";
  228. clock_32k_pin = "GPIOX_10";
  229. };
  230.  
  231. wifi_power {
  232. compatible = "amlogic,wifi_power";
  233. dev_name = "wifi_power";
  234. status = "okay";
  235. power_gpio = "GPIOAO_6";
  236. power_gpio2 = "GPIOX_11";
  237. };
  238.  
  239. sdio {
  240. compatible = "amlogic,aml_sdio";
  241. dev_name = "aml_sdio.0";
  242. status = "okay";
  243. reg = <0xc1108c20 0x20>;
  244. pinctrl-names = "sd_clk_cmd_pins\0sd_all_pins\0emmc_clk_cmd_pins\0emmc_all_pins\0sdio_clk_cmd_pins\0sdio_all_pins\0sd_1bit_pins";
  245. pinctrl-0 = <0x04>;
  246. pinctrl-1 = <0x05>;
  247. pinctrl-2 = <0x06>;
  248. pinctrl-3 = <0x07>;
  249. pinctrl-4 = <0x08>;
  250. pinctrl-5 = <0x09>;
  251. pinctrl-6 = <0x0a>;
  252.  
  253. sd {
  254. status = "okay";
  255. port = <0x01>;
  256. pinname = "sd";
  257. ocr_avail = <0x200000>;
  258. caps = "MMC_CAP_4_BIT_DATA\0MMC_CAP_MMC_HIGHSPEED\0MMC_CAP_SD_HIGHSPEED";
  259. f_min = <0x493e0>;
  260. f_max = <0x2faf080>;
  261. f_max_w = <0x2faf080>;
  262. max_req_size = <0x20000>;
  263. gpio_dat3 = "CARD_4";
  264. jtag_pin = "CARD_0";
  265. gpio_cd = "CARD_6";
  266. irq_in = <0x03>;
  267. irq_out = <0x05>;
  268. card_type = <0x05>;
  269. };
  270.  
  271. sdio {
  272. status = "ok";
  273. port = <0x00>;
  274. pinname = "sdio";
  275. ocr_avail = <0x200000>;
  276. caps = "MMC_CAP_4_BIT_DATA\0MMC_CAP_SDIO_IRQ\0MMC_CAP_MMC_HIGHSPEED\0MMC_CAP_SD_HIGHSPEED\0MMC_CAP_NONREMOVABLE";
  277. f_min = <0x493e0>;
  278. f_max = <0x2faf080>;
  279. max_req_size = <0x20000>;
  280. card_type = <0x03>;
  281. };
  282. };
  283.  
  284. sdhc {
  285. compatible = "amlogic,aml_sdhc";
  286. dev_name = "aml_sdhc.0";
  287. status = "okay";
  288. reg = <0xc1108e00 0x3c>;
  289. pinctrl-names = "sdhc_sd_clk_cmd_pins\0sdhc_sd_all_pins\0sdhc_emmc_clk_cmd_pins\0sdhc_emmc_all_pins\0sdhc_sdio_clk_cmd_pins\0sdhc_sdio_all_pins";
  290. pinctrl-0 = <0x0b>;
  291. pinctrl-1 = <0x0c>;
  292. pinctrl-2 = <0x0d>;
  293. pinctrl-3 = <0x0e>;
  294. pinctrl-4 = <0x0f>;
  295. pinctrl-5 = <0x10>;
  296.  
  297. emmc {
  298. status = "okay";
  299. port = <0x05>;
  300. pinname = "emmc";
  301. ocr_avail = <0x200000>;
  302. caps = "MMC_CAP_8_BIT_DATA\0MMC_CAP_MMC_HIGHSPEED\0MMC_CAP_SD_HIGHSPEED\0MMC_CAP_NONREMOVABLE\0MMC_CAP_ERASE\0MMC_CAP_HW_RESET";
  303. caps2 = "MMC_CAP2_HS200_1_8V_SDR";
  304. f_min = <0x493e0>;
  305. f_max = <0x5f5e100>;
  306. max_req_size = <0x20000>;
  307. gpio_dat3 = "BOOT_3";
  308. card_type = <0x01>;
  309. };
  310. };
  311.  
  312. dvfs {
  313. compatible = "amlogic, amlogic-dvfs";
  314. #address-cells = <0x01>;
  315. #size-cells = <0x00>;
  316. status = "ok";
  317.  
  318. vcck_dvfs {
  319. dvfs_id = <0x01>;
  320. table_count = <0x0d>;
  321. dvfs_table = <0x17700 0xd1f60 0xd1f60 0x2ee00 0xd1f60 0xd1f60 0x4c2c0 0xd1f60 0xd1f60 0x639c0 0xd1f60 0xd1f60 0x7b0c0 0xd1f60 0xd1f60 0x927c0 0xd1f60 0xd1f60 0xafc80 0xd1f60 0xd1f60 0xc7380 0xdbba0 0xdbba0 0xf6180 0xe09c0 0xe09c0 0x124f80 0xecd10 0xecd10 0x142440 0x10c8e0 0x10c8e0 0x16b480 0x10c8e0 0x10c8e0 0x177000 0x116520 0x116520>;
  322. };
  323. };
  324.  
  325. meson_vcck_dvfs_driver {
  326. compatible = "amlogic, meson_vcck_dvfs";
  327. dev_name = "meson_vcck_dvfs_driver";
  328. status = "ok";
  329. pinctrl-names = "default";
  330. pinctrl-0 = <0x11>;
  331. use_pwm = <0x01>;
  332. pmw_controller = "PWM_C";
  333. table_count = <0x1d>;
  334. cs_voltage_table = <0x1c0000 0xd1f60 0x1b0001 0xd4670 0x1a0002 0xd6d80 0x190003 0xd9490 0x180004 0xdbba0 0x170005 0xde2b0 0x160006 0xe09c0 0x150007 0xe30d0 0x140008 0xe57e0 0x130009 0xe7ef0 0x12000a 0xea600 0x11000b 0xecd10 0x10000c 0xef420 0xf000d 0xf1b30 0xe000e 0xf4240 0xd000f 0xf6950 0xc0010 0xf9060 0xb0011 0xfb770 0xa0012 0xfde80 0x90013 0x100590 0x80014 0x102ca0 0x70015 0x1053b0 0x60016 0x107ac0 0x50017 0x10a1d0 0x40018 0x10c8e0 0x30019 0x10eff0 0x2001a 0x111700 0x1001b 0x113e10 0x1c 0x116520>;
  335. };
  336.  
  337. arm_pmu {
  338. compatible = "arm,cortex-a9-pmu";
  339. status = "ok";
  340. interrupts = <0x00 0x89 0x04 0x00 0x8a 0x04 0x00 0x99 0x04 0x00 0x9a 0x04>;
  341. };
  342.  
  343. usb_con {
  344. lm-compatible = "logicmodule-bus";
  345.  
  346. usb_b {
  347. lm-compatible = "amlogic,usb";
  348. lm-periph-id = <0x01>;
  349. clock-src = "usb1";
  350. port-id = <0x01>;
  351. port-type = <0x01>;
  352. port-speed = <0x00>;
  353. port-config = <0x00>;
  354. port-dma = <0x00>;
  355. port-id-mode = <0x01>;
  356. status = "okay";
  357. };
  358.  
  359. usb_a {
  360. lm-compatible = "amlogic,usb";
  361. lm-periph-id = <0x00>;
  362. clock-src = "usb0";
  363. port-id = <0x00>;
  364. port-type = <0x00>;
  365. port-speed = <0x00>;
  366. port-config = <0x00>;
  367. port-dma = <0x00>;
  368. port-id-mode = <0x00>;
  369. gpio-vbus-power = "GPIOAO_5";
  370. gpio-work-mask = <0x01>;
  371. status = "okay";
  372. };
  373. };
  374.  
  375. led {
  376. compatible = "amlogic-led";
  377. dev_name = "aml-setio";
  378. status = "okay";
  379. red_led_gpio = "GPIOAO_1";
  380. blue_led_gpio = "GPIOAO_1";
  381. red_led_mode = <0x00>;
  382. blue_led_mode = <0x01>;
  383. };
  384.  
  385. audio_platform {
  386. compatible = "amlogic,aml-i2s";
  387. dev_name = "aml-i2s.0";
  388. status = "okay";
  389. };
  390.  
  391. audio_dai {
  392. compatible = "amlogic,aml-i2s-dai";
  393. dev_name = "aml-i2s-dai.0";
  394. status = "okay";
  395. };
  396.  
  397. audio_spdif_dai {
  398. compatible = "amlogic,aml-spdif-dai";
  399. dev_name = "aml-spdif-dai.0";
  400. status = "okay";
  401. };
  402.  
  403. audio_spdif_codec {
  404. compatible = "amlogic,aml-spdif-codec";
  405. dev_name = "spdif-dit.0";
  406. status = "okay";
  407. };
  408.  
  409. audio_pcm2BT_codec {
  410. compatible = "amlogic,pcm2BT-codec";
  411. dev_name = "pcm2bt.0";
  412. status = "okay";
  413. };
  414.  
  415. audio_pcm_dai {
  416. compatible = "amlogic,aml-pcm-dai";
  417. dev_name = "aml-pcm-dai.0";
  418. status = "okay";
  419. };
  420.  
  421. audio_pcm {
  422. compatible = "amlogic,aml-pcm";
  423. dev_name = "aml-pcm.0";
  424. status = "okay";
  425. };
  426.  
  427. audio_m8_audio {
  428. compatible = "amlogic,m8_audio_codec";
  429. dev_name = "aml_m8_codec.0";
  430. status = "disable";
  431. };
  432.  
  433. dummy_codec {
  434. compatible = "amlogic,aml_dummy_codec";
  435. dev_name = "dummy_codec.0";
  436. status = "okay";
  437. };
  438.  
  439. aml_audio_codec {
  440. compatible = "amlogic,audio_codec";
  441.  
  442. rt5616 {
  443. codec_name = "rt5616";
  444. i2c_addr = <0x1b>;
  445. i2c_bus = "i2c_bus_d";
  446. id_reg = <0x00>;
  447. id_val = <0x21>;
  448. capless = <0x00>;
  449. status = "disable";
  450. };
  451.  
  452. rt5631 {
  453. codec_name = "rt5631";
  454. i2c_addr = <0x1a>;
  455. i2c_bus = "i2c_bus_b";
  456. id_reg = <0x00>;
  457. id_val = <0x01>;
  458. capless = <0x00>;
  459. status = "disable";
  460. };
  461.  
  462. wm8960 {
  463. codec_name = "wm8960";
  464. i2c_addr = <0x1a>;
  465. i2c_bus = "i2c_bus_b";
  466. capless = <0x01>;
  467. status = "disable";
  468. };
  469.  
  470. dummy {
  471. codec_name = "dummy_codec";
  472. status = "okay";
  473. };
  474. };
  475.  
  476. aml_m8_sound_card {
  477. compatible = "sound_card, aml_snd_m8";
  478. aml,sound_card = "AML-M8AUDIO";
  479. aml,codec_dai = "AML-M8\0rt5616-aif1\0rt5631-hifi\0wm8960-hifi\0dummy_codec";
  480. aml,audio-routing-rt5616 = "Ext Spk\0LOUTL\0Ext Spk\0LOUTR\0HP\0HPOL\0HP\0HPOR\0micbias1\0MAIN MIC\0IN2P\0micbias1";
  481. aml,audio-routing-amlm8 = "Ext Spk\0LINEOUTL\0Ext Spk\0LINEOUTR\0HP\0HP_L\0HP\0HP_R\0MICBIAS\0MAIN MIC\0LINPUT1\0MICBIAS";
  482. aml,audio-routing-dummy = "Ext Spk\0LOUTL\0Ext Spk\0LOUTR";
  483. mute_gpio = "GPIO_BSD_EN";
  484. hp_disable;
  485. hp_paraments = <0x320 0x12c 0x00 0x05 0x01>;
  486. pinctrl-names = "aml_snd_m8";
  487. pinctrl-0 = <0x12>;
  488. status = "okay";
  489. };
  490.  
  491. gpio_keypad {
  492. compatible = "amlogic,gpio_keypad";
  493. status = "okay";
  494. scan_period = <0x14>;
  495. key_num = <0x01>;
  496. key_name = "power";
  497. key_code = <0x74>;
  498. key_pin = "GPIOAO_3";
  499. irq_keyup = <0x06>;
  500. irq_keydown = <0x07>;
  501. };
  502.  
  503. saradc {
  504. compatible = "amlogic,saradc";
  505. status = "okay";
  506. };
  507.  
  508. meson-remote {
  509. compatible = "amlogic,aml_remote";
  510. dev_name = "meson-remote";
  511. status = "ok";
  512. ao_baseaddr = <0xf3100480>;
  513. pinctrl-names = "default";
  514. pinctrl-0 = <0x13>;
  515. };
  516.  
  517. spi@cc000000 {
  518. compatible = "amlogic,apollo_spi_nor";
  519. status = "ok";
  520. reg = <0xcc000000 0x4000000>;
  521. pinctrl-names = "default";
  522. pinctrl-0 = <0x14>;
  523. nr-parts = <0x02>;
  524. nr-part-0 = <0x15>;
  525. nr-part-1 = <0x16>;
  526.  
  527. bootloader {
  528. offset = <0x00>;
  529. size = <0x100000>;
  530. linux,phandle = <0x15>;
  531. phandle = <0x15>;
  532. };
  533.  
  534. ubootenv {
  535. offset = <0x100000>;
  536. size = <0x10000>;
  537. linux,phandle = <0x16>;
  538. phandle = <0x16>;
  539. };
  540. };
  541.  
  542. nand {
  543. compatible = "amlogic,aml_nand";
  544. dev_name = "nand";
  545. status = "ok";
  546. reg = <0xd0048600 0x24>;
  547. pinctrl-names = "nand_rb_mod\0nand_norb_mod";
  548. pinctrl-0 = <0x17 0x18 0x19>;
  549. pinctrl-1 = <0x17 0x18 0x19>;
  550. device_id = <0x00>;
  551. plat-names = "nandnormal";
  552. plat-num = <0x01>;
  553. plat-part-0 = <0x1a>;
  554.  
  555. normal {
  556. enable_pad = "ce0\0ce1\0ce2\0ce3";
  557. busy_pad = "rb0";
  558. linux,phandle = <0x1a>;
  559. phandle = <0x1a>;
  560. };
  561. };
  562.  
  563. efuse {
  564. compatible = "amlogic,efuse";
  565. dev_name = "efuse";
  566. status = "okay";
  567. plat-pos = <0x00 0x1c6>;
  568. plat-count = <0x3a>;
  569. usid-min = <0x08>;
  570. usid-max = <0x1f>;
  571. };
  572.  
  573. thermal {
  574. compatible = "amlogic-thermal";
  575. #thermal-cells = <0x07>;
  576. dev_name = "aml_thermal";
  577. trip_point = <0x3c 0x177001 0x177001 0x1ff 0x1ff 0x03 0x02 0x41 0x16b481 0x16b481 0x1aa 0x1aa 0x03 0x02 0x46 0x142441 0x142441 0x148 0x148 0x02 0x02 0x4b 0x124f81 0x124f81 0x148 0x148 0x02 0x01 0x50 0xf6181 0xf6181 0x148 0x148 0x02 0x01 0x5a 0xafc81 0xafc81 0xfb 0xfb 0x01 0x01 0x104 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff>;
  578. cpu_cali_a = <0x00>;
  579. idle_interval = <0x3e8>;
  580. use_virtual_thermal;
  581. freq_sample_period = <0x1e>;
  582. report_time = <0x01 0x0a 0x1e 0x3c>;
  583. cpu_virtual = <0x7a120 0x28 0x28 0x28 0x28 0x927c0 0x2d 0x37 0x3c 0x41 0xc3500 0x32 0x3c 0x41 0x46 0xf4240 0x37 0x41 0x46 0x4b 0x124f80 0x3c 0x46 0x4b 0x50 0x149970 0x41 0x4b 0x50 0x55>;
  584. gpu_virtual = <0xb7 0x28 0x28 0x28 0x28 0xfb 0x28 0x2d 0x32 0x37 0x13f 0x32 0x3c 0x41 0x46 0x1aa 0x37 0x41 0x46 0x4b 0x1ff 0x3c 0x46 0x4b 0x50>;
  585. };
  586.  
  587. securitykey {
  588. compatible = "amlogic,aml_keys";
  589. status = "ok";
  590. };
  591.  
  592. unifykey {
  593. compatible = "amlogic,unifykey";
  594. status = "ok";
  595. unifykey-num = <0x06>;
  596. unifykey-index-0 = <0x1b>;
  597. unifykey-index-1 = <0x1c>;
  598. unifykey-index-2 = <0x1d>;
  599. unifykey-index-3 = <0x1e>;
  600. unifykey-index-4 = <0x1f>;
  601. unifykey-index-5 = <0x20>;
  602.  
  603. key_0 {
  604. key-name = "usid";
  605. key-device = "nandkey";
  606. key-dataformat = "allascii";
  607. key-permit = "read\0write\0del";
  608. linux,phandle = <0x1b>;
  609. phandle = <0x1b>;
  610. };
  611.  
  612. key_1 {
  613. key-name = "mac";
  614. key-device = "nandkey";
  615. key-dataformat = "hexdata";
  616. key-permit = "read\0write\0del";
  617. linux,phandle = <0x1c>;
  618. phandle = <0x1c>;
  619. };
  620.  
  621. key_2 {
  622. key-name = "hdcp";
  623. key-device = "nandkey";
  624. key-dataformat = "hexdata";
  625. key-permit = "read\0write\0del";
  626. linux,phandle = <0x1d>;
  627. phandle = <0x1d>;
  628. };
  629.  
  630. key_3 {
  631. key-name = "secure_boot_set";
  632. key-device = "efusekey";
  633. key-dataformat = "hexdata";
  634. key-permit = "read\0write";
  635. linux,phandle = <0x1e>;
  636. phandle = <0x1e>;
  637. };
  638.  
  639. key_4 {
  640. key-name = "mac_bt";
  641. key-device = "nandkey";
  642. key-dataformat = "hexdata";
  643. key-permit = "read\0write\0del";
  644. linux,phandle = <0x1f>;
  645. phandle = <0x1f>;
  646. };
  647.  
  648. key_5 {
  649. key-name = "mac_wifi";
  650. key-device = "nandkey";
  651. key-dataformat = "hexdata";
  652. key-permit = "read\0write\0del";
  653. linux,phandle = <0x20>;
  654. phandle = <0x20>;
  655. };
  656. };
  657.  
  658. amhdmitx {
  659. compatible = "amlogic,amhdmitx";
  660. dev_name = "amhdmitx";
  661. status = "ok";
  662. vend-data = <0x21>;
  663. pwr-ctrl = <0x22>;
  664.  
  665. vend_data {
  666. vendor_name = "Amlogic";
  667. vendor_id = <0x00>;
  668. product_desc = "M8 MBox SKTv1";
  669. cec_osd_string = "MBox";
  670. cec_config = <0x0f>;
  671. ao_cec = <0x01>;
  672. linux,phandle = <0x21>;
  673. phandle = <0x21>;
  674. };
  675.  
  676. pwr_ctrl {
  677. pwr_5v_on = [00];
  678. pwr_5v_off = [00];
  679. pwr_3v3_on = [00];
  680. pwr_3v3_off = [00];
  681. pwr_hpll_vdd_on = [00];
  682. pwr_hpll_vdd_off = [00];
  683. linux,phandle = <0x22>;
  684. phandle = <0x22>;
  685. };
  686. };
  687.  
  688. aml_pm {
  689. compatible = "amlogic,pm-m8";
  690. dev_name = "aml_pm_m8";
  691. status = "okay";
  692. };
  693.  
  694. cpufreq-meson {
  695. compatible = "amlogic,cpufreq-meson";
  696. syspll_fixed;
  697. status = "okay";
  698. };
  699.  
  700. aml_aes {
  701. compatible = "amlogic,aes";
  702. dev_name = "aml_aes";
  703. };
  704.  
  705. aml_tdes {
  706. compatible = "amlogic,des,tdes";
  707. dev_name = "aml_tdes";
  708. };
  709.  
  710. gpio {
  711. compatible = "amlogic,m8b-gpio";
  712. dev_name = "gpio";
  713. #gpio-cells = <0x02>;
  714. };
  715.  
  716. pinmux {
  717. compatible = "amlogic,pinmux-m8b";
  718. dev_name = "pinmux";
  719. #pinmux-cells = <0x02>;
  720.  
  721. b_uart {
  722. amlogic,setmask = <0x04 0x3c0>;
  723. amlogic,pins = "GPIOX_16\0GPIOX_17\0GPIOX_18\0GPIOX_19";
  724. linux,phandle = <0x03>;
  725. phandle = <0x03>;
  726. };
  727.  
  728. nand_input {
  729. amlogic,pins = "BOOT_0\0BOOT_1\0BOOT_2\0BOOT_3\0BOOT_4\0BOOT_5\0BOOT_6\0BOOT_7\0BOOT_12\0BOOT_13\0BOOT_8\0BOOT_9\0BOOT_10\0BOOT_11\0BOOT_14\0BOOT_15\0BOOT_16\0BOOT_17";
  730. amlogic,enable-output = <0x01>;
  731. linux,phandle = <0x17>;
  732. phandle = <0x17>;
  733. };
  734.  
  735. conf_nand {
  736. amlogic,pins = "BOOT_0\0BOOT_1\0BOOT_2\0BOOT_3\0BOOT_4\0BOOT_5\0BOOT_6\0BOOT_7\0BOOT_15";
  737. amlogic,pullup = <0x00>;
  738. linux,phandle = <0x18>;
  739. phandle = <0x18>;
  740. };
  741.  
  742. nand {
  743. amlogic,setmask = <0x02 0x7fe0000>;
  744. amlogic,clrmask = <0x05 0x0e 0x06 0x3f000000 0x04 0x7c000000>;
  745. amlogic,pins = "BOOT_0\0BOOT_1\0BOOT_2\0BOOT_3\0BOOT_4\0BOOT_5\0BOOT_6\0BOOT_7\0BOOT_8\0BOOT_9\0BOOT_10\0BOOT_12\0BOOT_13\0BOOT_14\0BOOT_15\0BOOT_16\0BOOT_17";
  746. linux,phandle = <0x19>;
  747. phandle = <0x19>;
  748. };
  749.  
  750. sdhc_b_pin {
  751. amlogic,setmask = <0x02 0xfc00>;
  752. amlogic,clrmask = <0x02 0xf0 0x08 0x600>;
  753. amlogic,pins = "CARD_0\0CARD_1\0CARD_2\0CARD_3\0CARD_4\0CARD_5";
  754. };
  755.  
  756. sdhc_c_pin {
  757. amlogic,setmask = <0x06 0x3f000000>;
  758. amlogic,clrmask = <0x04 0x6c000000 0x02 0x4c00000>;
  759. amlogic,pins = "BOOT_0\0BOOT_1\0BOOT_2\0BOOT_3\0BOOT_10\0BOOT_11";
  760. };
  761.  
  762. sdhc_a_pin {
  763. amlogic,setmask = <0x08 0x3f>;
  764. amlogic,clrmask = <0x05 0x6c00>;
  765. amlogic,pins = "GPIOX_0\0GPIOX_1\0GPIOX_2\0GPIOX_3\0GPIOX_8\0GPIOX_9";
  766. };
  767.  
  768. sdio_all_pins {
  769. amlogic,setmask = <0x08 0x3f>;
  770. amlogic,clrmask = <0x06 0x3f000000 0x02 0xfc00 0x05 0x6c00>;
  771. amlogic,pins = "GPIOX_0\0GPIOX_1\0GPIOX_2\0GPIOX_3\0GPIOX_8\0GPIOX_9";
  772. amlogic,enable-output = <0x01>;
  773. amlogic,pullup = <0x01>;
  774. amlogic,pullupen = <0x01>;
  775. linux,phandle = <0x09>;
  776. phandle = <0x09>;
  777. };
  778.  
  779. sdio_clk_cmd_pins {
  780. amlogic,setmask = <0x08 0x03>;
  781. amlogic,clrmask = <0x06 0x3f000000 0x02 0xfc00 0x05 0x6c00>;
  782. amlogic,pins = "GPIOX_8\0GPIOX_9";
  783. amlogic,enable-output = <0x01>;
  784. amlogic,pullup = <0x01>;
  785. amlogic,pullupen = <0x01>;
  786. linux,phandle = <0x08>;
  787. phandle = <0x08>;
  788. };
  789.  
  790. sd_all_pins {
  791. amlogic,setmask = <0x02 0xfc00>;
  792. amlogic,clrmask = <0x06 0x3f000000 0x08 0x63f 0x02 0xf0>;
  793. amlogic,pins = "CARD_0\0CARD_1\0CARD_2\0CARD_3\0CARD_4\0CARD_5";
  794. amlogic,enable-output = <0x01>;
  795. amlogic,pullup = <0x01>;
  796. amlogic,pullupen = <0x01>;
  797. linux,phandle = <0x05>;
  798. phandle = <0x05>;
  799. };
  800.  
  801. sd_1bit_pins {
  802. amlogic,setmask = <0x02 0x8c00>;
  803. amlogic,clrmask = <0x06 0x3f000000 0x08 0x3f 0x02 0xf0>;
  804. amlogic,pins = "CARD_0\0CARD_1\0CARD_2\0CARD_3\0CARD_4\0CARD_5";
  805. amlogic,enable-output = <0x01>;
  806. amlogic,pullup = <0x01>;
  807. amlogic,pullupen = <0x01>;
  808. linux,phandle = <0x0a>;
  809. phandle = <0x0a>;
  810. };
  811.  
  812. sd_clk_cmd_pins {
  813. amlogic,setmask = <0x02 0xc00>;
  814. amlogic,clrmask = <0x06 0x3f000000 0x08 0x3f 0x02 0xf0>;
  815. amlogic,pins = "CARD_2\0CARD_3";
  816. amlogic,enable-output = <0x01>;
  817. amlogic,pullup = <0x01>;
  818. amlogic,pullupen = <0x01>;
  819. linux,phandle = <0x04>;
  820. phandle = <0x04>;
  821. };
  822.  
  823. emmc_all_pins {
  824. amlogic,setmask = <0x06 0xfc000000>;
  825. amlogic,clrmask = <0x02 0x6c2fc00 0x08 0x3f 0x04 0x6c000000>;
  826. amlogic,pins = "BOOT_0\0BOOT_1\0BOOT_2\0BOOT_3\0BOOT_8\0BOOT_10";
  827. amlogic,enable-output = <0x01>;
  828. amlogic,pullup = <0x01>;
  829. amlogic,pullupen = <0x01>;
  830. linux,phandle = <0x07>;
  831. phandle = <0x07>;
  832. };
  833.  
  834. emmc_clk_cmd_pins {
  835. amlogic,setmask = <0x06 0xc0000000>;
  836. amlogic,clrmask = <0x02 0x6c2fc00 0x08 0x3f 0x07 0xc0000>;
  837. amlogic,pins = "BOOT_8\0BOOT_10";
  838. amlogic,enable-output = <0x01>;
  839. amlogic,pullup = <0x01>;
  840. amlogic,pullupen = <0x01>;
  841. linux,phandle = <0x06>;
  842. phandle = <0x06>;
  843. };
  844.  
  845. sdhc_sd_clk_cmd_pins {
  846. amlogic,setmask = <0x02 0x30>;
  847. amlogic,clrmask = <0x05 0x7c00 0x04 0x7c000000 0x02 0xfc00 0x08 0x600>;
  848. amlogic,pins = "CARD_2\0CARD_3";
  849. amlogic,enable-output = <0x01>;
  850. amlogic,pullup = <0x01>;
  851. amlogic,pullupen = <0x01>;
  852. linux,phandle = <0x0b>;
  853. phandle = <0x0b>;
  854. };
  855.  
  856. sdhc_sd_all_pins {
  857. amlogic,setmask = <0x02 0xf0>;
  858. amlogic,clrmask = <0x05 0x7c00 0x04 0x7c000000 0x02 0xfc00 0x08 0x600>;
  859. amlogic,pins = "CARD_0\0CARD_1\0CARD_2\0CARD_3\0CARD_4\0CARD_5";
  860. amlogic,enable-output = <0x01>;
  861. amlogic,pullup = <0x01>;
  862. amlogic,pullupen = <0x01>;
  863. linux,phandle = <0x0c>;
  864. phandle = <0x0c>;
  865. };
  866.  
  867. sdhc_emmc_clk_cmd_pins {
  868. amlogic,setmask = <0x07 0xc0000>;
  869. amlogic,clrmask = <0x02 0x4c000f0 0x05 0x7c00 0x06 0xff000000>;
  870. amlogic,pins = "BOOT_8\0BOOT_10";
  871. amlogic,enable-output = <0x01>;
  872. amlogic,pullup = <0x01>;
  873. amlogic,pullupen = <0x01>;
  874. linux,phandle = <0x0d>;
  875. phandle = <0x0d>;
  876. };
  877.  
  878. sdhc_emmc_all_pins {
  879. amlogic,setmask = <0x04 0x70000000 0x07 0xc0000>;
  880. amlogic,clrmask = <0x02 0x4c000f0 0x05 0x7c00 0x06 0xff000000>;
  881. amlogic,pins = "BOOT_0\0BOOT_1\0BOOT_2\0BOOT_3\0BOOT_4\0BOOT_5\0BOOT_6\0BOOT_7\0BOOT_8\0BOOT_10";
  882. amlogic,enable-output = <0x01>;
  883. amlogic,pullup = <0x01>;
  884. amlogic,pullupen = <0x01>;
  885. linux,phandle = <0x0e>;
  886. phandle = <0x0e>;
  887. };
  888.  
  889. sdhc_sdio_clk_cmd_pins {
  890. amlogic,setmask = <0x05 0xc00>;
  891. amlogic,clrmask = <0x02 0x58000f0 0x04 0x7c000000 0x08 0x3f>;
  892. amlogic,pins = "GPIOX_8\0GPIOX_9";
  893. amlogic,enable-output = <0x01>;
  894. amlogic,pullup = <0x01>;
  895. amlogic,pullupen = <0x01>;
  896. linux,phandle = <0x0f>;
  897. phandle = <0x0f>;
  898. };
  899.  
  900. sdhc_sdio_all_pins {
  901. amlogic,setmask = <0x05 0x6c00>;
  902. amlogic,clrmask = <0x02 0x58000f0 0x04 0x7c000000 0x08 0x3f>;
  903. amlogic,pins = "GPIOX_0\0GPIOX_1\0GPIOX_2\0GPIOX_3\0GPIOX_8\0GPIOX_9";
  904. amlogic,enable-output = <0x01>;
  905. amlogic,pullup = <0x01>;
  906. amlogic,pullupen = <0x01>;
  907. linux,phandle = <0x10>;
  908. phandle = <0x10>;
  909. };
  910.  
  911. remote_pin {
  912. amlogic,setmask = <0x0a 0x01>;
  913. amlogic,pins = "GPIOAO_7";
  914. linux,phandle = <0x13>;
  915. phandle = <0x13>;
  916. };
  917.  
  918. audio_pin {
  919. amlogic,setmask = <0x0a 0x78000000 0x01 0x80>;
  920. amlogic,clrmask = <0x0a 0x80002000 0x01 0x10000 0x03 0x40000>;
  921. amlogic,pins = "GPIOAO_8\0GPIOAO_9\0GPIOAO_10\0GPIOAO_11\0GPIOY_3";
  922. linux,phandle = <0x12>;
  923. phandle = <0x12>;
  924. };
  925.  
  926. aml_spi_nor_pins {
  927. amlogic,setmask = <0x05 0x0f>;
  928. amlogic,clrmask = <0x02 0x10380000>;
  929. amlogic,pins = "BOOT_11\0BOOT_12\0BOOT_13\0BOOT_18";
  930. linux,phandle = <0x14>;
  931. phandle = <0x14>;
  932. };
  933.  
  934. aml_pwm {
  935. amlogic,setmask = <0x03 0x1000000>;
  936. amlogic,clrmask = <0x00 0x48 0x07 0x10000020>;
  937. amlogic,pins = "GPIODV_9";
  938. linux,phandle = <0x11>;
  939. phandle = <0x11>;
  940. };
  941.  
  942. dvb_p_ts0_pins {
  943. amlogic,setmask = <0x03 0x37>;
  944. amlogic,clrmask = <0x05 0xc0 0x09 0x37c>;
  945. amlogic,pins = "GPIOY_9\0GPIOY_10\0GPIOY_11\0GPIOY_12\0GPIOY_13\0GPIOY_14\0GPIOY_6\0GPIOY_7\0GPIOY_0\0GPIOY_1\0GPIOY_8";
  946. linux,phandle = <0x23>;
  947. phandle = <0x23>;
  948. };
  949.  
  950. dvb_s_ts0_pins {
  951. amlogic,setmask = <0x03 0x17>;
  952. amlogic,clrmask = <0x09 0x378>;
  953. amlogic,pins = "GPIOY_9\0GPIOY_0\0GPIOY_1\0GPIOY_8";
  954. linux,phandle = <0x24>;
  955. phandle = <0x24>;
  956. };
  957. };
  958.  
  959. ethernet@0xc9410000 {
  960. compatible = "amlogic,meson8b-rmii-dwmac\0snps,dwmac";
  961. reg = <0xc9410000 0x10000 0xc1108108 0x04>;
  962. interrupts = <0x00 0x08 0x01>;
  963. interrupt-names = "macirq";
  964. clocks = "clk81";
  965. clock-names = "stmmaceth";
  966. };
  967.  
  968. meson-rng {
  969. compatible = "amlogic,meson-rng";
  970. status = "ok";
  971. };
  972.  
  973. dvb {
  974. compatible = "amlogic,dvb";
  975. ts0 = "parallel";
  976. ts0_control = <0x00>;
  977. ts0_invert = <0x00>;
  978. pinctrl-names = "p_ts0\0s_ts0";
  979. pinctrl-0 = <0x23>;
  980. pinctrl-1 = <0x24>;
  981. };
  982.  
  983. dvbfe {
  984. compatible = "amlogic,dvbfe";
  985. dtv_demod0 = "Si2168";
  986. dtv_demod0_i2c_adap_id = <0x04>;
  987. dtv_demod0_i2c_addr = <0x64>;
  988. dtv_demod0_reset_value = <0x00>;
  989. dtv_demod0_reset_gpio = "GPIOY_3";
  990. fe0_dtv_demod = <0x00>;
  991. fe0_ts = <0x00>;
  992. fe0_dev = <0x00>;
  993. };
  994. };
Advertisement
Add Comment
Please, Sign In to add comment