SHARE
TWEET

OTT_M8S_4335.dtd

Kshi Nov 3rd, 2016 1,757 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /dts-v1/;
  2.  
  3. / {
  4.     amlogic-dt-id = "m8m2_bcm4335_n200C_1G";
  5.     compatible = "AMLOGIC,8726_M8M2";
  6.     model = "AMLOGIC";
  7.     interrupt-parent = <0x1>;
  8.     #address-cells = <0x1>;
  9.     #size-cells = <0x1>;
  10.  
  11.     cpus {
  12.         #address-cells = <0x1>;
  13.         #size-cells = <0x0>;
  14.  
  15.         cpu@0 {
  16.             device_type = "cpu";
  17.             compatible = "arm,cortex-a9";
  18.             reg = <0x200>;
  19.         };
  20.  
  21.         cpu@1 {
  22.             device_type = "cpu";
  23.             compatible = "arm,cortex-a9";
  24.             reg = <0x1>;
  25.         };
  26.  
  27.         cpu@2 {
  28.             device_type = "cpu";
  29.             compatible = "arm,cortex-a9";
  30.             reg = <0x2>;
  31.         };
  32.  
  33.         cpu@3 {
  34.             device_type = "cpu";
  35.             compatible = "arm,cortex-a9";
  36.             reg = <0x3>;
  37.         };
  38.     };
  39.  
  40.     cache-controller {
  41.         compatible = "arm,meson-pl310-cache";
  42.         reg = <0xc4200000 0x1000>;
  43.         arm,data-latency = <0x3 0x3 0x3>;
  44.         arm,tag-latency = <0x2 0x2 0x2>;
  45.         arm,filter-ranges = <0x100000 0xc0000000>;
  46.         cache-unified;
  47.         cache-level = <0x2>;
  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 = <0x7>;
  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.  
  69.         region@1 {
  70.             region_name = "cma_4k2k";
  71.             linux,contiguous-region;
  72.             reg = <0x0 0xc000000>;
  73.             linux,phandle = <0x2>;
  74.             phandle = <0x2>;
  75.         };
  76.  
  77.         region@0 {
  78.             region_name = "cma_0";
  79.             reg = <0x0 0x1200000>;
  80.             linux,contiguous-region;
  81.             linux,phandle = <0x3>;
  82.             phandle = <0x3>;
  83.         };
  84.     };
  85.  
  86.     interrupt-controller {
  87.         compatible = "arm,cortex-a9-gic";
  88.         reg = <0xc4301000 0x1000 0xc4300100 0x100>;
  89.         interrupt-controller;
  90.         #interrupt-cells = <0x3>;
  91.         #address-cells = <0x0>;
  92.         linux,phandle = <0x1>;
  93.         phandle = <0x1>;
  94.     };
  95.  
  96.     vpu {
  97.         compatible = "amlogic,vpu";
  98.         dev_name = "vpu";
  99.         status = "ok";
  100.         clk_level = <0x7>;
  101.     };
  102.  
  103.     mesonfb {
  104.         compatible = "amlogic,mesonfb";
  105.         dev_name = "mesonfb";
  106.         status = "okay";
  107.         reserve-memory = <0x1800000 0x100000>;
  108.         reserve-iomap = "true";
  109.         vmode = <0x3>;
  110.         scale_mode = <0x1>;
  111.         4k2k_fb = <0x0>;
  112.         display_size_default = <0x780 0x438 0x780 0xca8 0x20>;
  113.     };
  114.  
  115.     deinterlace {
  116.         compatible = "amlogic,deinterlace";
  117.         dev_name = "deinterlace";
  118.         status = "ok";
  119.         reserve-memory = <0x2100000>;
  120.     };
  121.  
  122.     mesonstream {
  123.         compatible = "amlogic,mesonstream";
  124.         dev_name = "mesonstream.0";
  125.         status = "okay";
  126.         reserve-memory = <0x2000000>;
  127.         reserve-iomap = "true";
  128.     };
  129.  
  130.     vdec {
  131.         compatible = "amlogic,vdec";
  132.         dev_name = "vdec.0";
  133.         status = "okay";
  134.         reserve-memory = <0x4000000>;
  135.         linux,contiguous-region = <0x2>;
  136.     };
  137.  
  138.     picdec {
  139.         compatible = "amlogic,picdec";
  140.         dev_name = "picdec";
  141.         status = "okay";
  142.         share-memory-name = "vdec0";
  143.         share-memory-offset = <0x0>;
  144.         share-memory-size = <0x4000000>;
  145.     };
  146.  
  147.     ppmgr {
  148.         compatible = "amlogic,ppmgr";
  149.         dev_name = "ppmgr";
  150.         status = "okay";
  151.         reserve-memory = <0x1000000>;
  152.     };
  153.  
  154.     amvenc_avc {
  155.         compatible = "amlogic,amvenc_avc";
  156.         dev_name = "amvenc_avc.0";
  157.         status = "okay";
  158.         linux,contiguous-region = <0x3>;
  159.     };
  160.  
  161.     ion_dev {
  162.         compatible = "amlogic,ion_dev";
  163.         dev_name = "ion_dev";
  164.         status = "ok";
  165.         share-memory-name = "ppmgr0";
  166.         share-memory-offset = <0x0>;
  167.         share-memory-size = <0x1000000>;
  168.     };
  169.  
  170.     mesonvout {
  171.         compatible = "amlogic,mesonvout";
  172.         dev_name = "mesonvout";
  173.         status = "okay";
  174.     };
  175.  
  176.     rtc {
  177.         compatible = "amlogic,aml_rtc";
  178.         sec_adjust = <0x6c7>;
  179.         status = "okay";
  180.     };
  181.  
  182.     uart_ao {
  183.         compatible = "amlogic,aml_uart";
  184.         port_name = "uart_ao";
  185.         status = "okay";
  186.         dev_name = "uart_ao";
  187.         pinctrl-names = "default";
  188.         pinctrl-0 = <0x4>;
  189.     };
  190.  
  191.     uart_0 {
  192.         compatible = "amlogic,aml_uart";
  193.         port_name = "uart_a";
  194.         status = "okay";
  195.         dev_name = "uart_0";
  196.         pinctrl-names = "default";
  197.         pinctrl-0 = <0x5>;
  198.     };
  199.  
  200.     uart_1 {
  201.         compatible = "amlogic,aml_uart";
  202.         port_name = "uart_b";
  203.         status = "disabled";
  204.         dev_name = "uart_1";
  205.     };
  206.  
  207.     uart_2 {
  208.         compatible = "amlogic,aml_uart";
  209.         port_name = "uart_c";
  210.         status = "disabled";
  211.         dev_name = "uart_2";
  212.     };
  213.  
  214.     uart_3 {
  215.         compatible = "amlogic,aml_uart";
  216.         port_name = "uart_d";
  217.         status = "ok";
  218.         dev_name = "uart_3";
  219.     };
  220.  
  221.     bt-dev {
  222.         compatible = "amlogic,bt-dev";
  223.         dev_name = "bt-dev";
  224.         status = "ok";
  225.         gpio_reset = "GPIOX_20";
  226.     };
  227.  
  228.     wifi {
  229.         compatible = "amlogic,aml_broadcm_wifi";
  230.         dev_name = "aml_broadcm_wifi";
  231.         status = "okay";
  232.         interrupt_pin = "GPIOX_21";
  233.         irq_num = <0x4>;
  234.         irq_trigger_type = "GPIO_IRQ_HIGH";
  235.         power_on_pin = "GPIOAO_6";
  236.         power_on_pin2 = "GPIOX_11";
  237.         clock_32k_pin = "GPIOX_10";
  238.     };
  239.  
  240.     wifi_power {
  241.         compatible = "amlogic,wifi_power";
  242.         dev_name = "wifi_power";
  243.         status = "okay";
  244.         power_gpio = "GPIOAO_6";
  245.         power_gpio2 = "GPIOX_11";
  246.         power_gpio3 = "GPIO_TEST_N";
  247.         valid = "high";
  248.     };
  249.  
  250.     sdio {
  251.         compatible = "amlogic,aml_sdio";
  252.         dev_name = "aml_sdio.0";
  253.         status = "okay";
  254.         reg = <0xc1108c20 0x20>;
  255.         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";
  256.         pinctrl-0 = <0x6>;
  257.         pinctrl-1 = <0x7>;
  258.         pinctrl-2 = <0x8>;
  259.         pinctrl-3 = <0x9>;
  260.         pinctrl-4 = <0xa>;
  261.         pinctrl-5 = <0xb>;
  262.         pinctrl-6 = <0xc>;
  263.  
  264.         sd {
  265.             status = "okay";
  266.             port = <0x1>;
  267.             pinname = "sd";
  268.             ocr_avail = <0x200000>;
  269.             caps = "MMC_CAP_4_BIT_DATA", "MMC_CAP_MMC_HIGHSPEED", "MMC_CAP_SD_HIGHSPEED";
  270.             f_min = <0x493e0>;
  271.             f_max = <0x2faf080>;
  272.             max_req_size = <0x20000>;
  273.             gpio_dat3 = "CARD_4";
  274.             jtag_pin = "CARD_0";
  275.             gpio_cd = "CARD_6";
  276.             irq_in = <0x3>;
  277.             irq_out = <0x5>;
  278.             card_type = <0x5>;
  279.         };
  280.     };
  281.  
  282.     sdhc {
  283.         compatible = "amlogic,aml_sdhc";
  284.         dev_name = "aml_sdhc.0";
  285.         reg = <0xc1108e00 0x3c>;
  286.         pinctrl-names = "sdhc_sd_clk_cmd_pins", "sdhc_sd_all_pins", "sdhc_emmc_clk_cmd_pins", "sdhc_emmc_all_pins", "sdhc_sdio_clk_cmd_pins", "sdhc_sdio_all_pins";
  287.         pinctrl-0 = <0xd>;
  288.         pinctrl-1 = <0xe>;
  289.         pinctrl-2 = <0xf>;
  290.         pinctrl-3 = <0x10>;
  291.         pinctrl-4 = <0x11>;
  292.         pinctrl-5 = <0x12>;
  293.  
  294.         emmc {
  295.             status = "okay";
  296.             port = <0x5>;
  297.             pinname = "emmc";
  298.             ocr_avail = <0x200080>;
  299.             caps = "MMC_CAP_8_BIT_DATA", "MMC_CAP_MMC_HIGHSPEED", "MMC_CAP_SD_HIGHSPEED", "MMC_CAP_NONREMOVABLE", "MMC_CAP_ERASE", "MMC_CAP_HW_RESET";
  300.             caps2 = "MMC_CAP2_HS200_1_8V_SDR";
  301.             f_min = <0x493e0>;
  302.             f_max = <0x8f0d180>;
  303.             max_req_size = <0x20000>;
  304.             gpio_dat3 = "BOOT_3";
  305.             card_type = <0x1>;
  306.         };
  307.  
  308.         sdio {
  309.             status = "okay";
  310.             port = <0x3>;
  311.             pinname = "sdio";
  312.             ocr_avail = <0x200080>;
  313.             caps = "MMC_CAP_4_BIT_DATA", "MMC_CAP_MMC_HIGHSPEED", "MMC_CAP_SD_HIGHSPEED", "MMC_CAP_NONREMOVABLE", "MMC_CAP_UHS_SDR12", "MMC_CAP_UHS_SDR25", "MMC_CAP_UHS_SDR50", "MMC_CAP_UHS_SDR104";
  314.             f_min = <0x493e0>;
  315.             f_max = <0x5f5e100>;
  316.             max_req_size = <0x20000>;
  317.             card_type = <0x3>;
  318.         };
  319.     };
  320.  
  321.     i2c@c8100500 {
  322.         compatible = "amlogic,aml_i2c";
  323.         dev_name = "i2c-AO";
  324.         status = "ok";
  325.         reg = <0xc8100500 0x1d>;
  326.         #address-cells = <0x1>;
  327.         #size-cells = <0x0>;
  328.         device_id = <0x0>;
  329.         pinctrl-names = "default";
  330.         pinctrl-0 = <0x13>;
  331.         use_pio = <0x0>;
  332.         master_i2c_speed = <0x186a0>;
  333.     };
  334.  
  335.     i2c@c1108500 {
  336.         compatible = "amlogic,aml_i2c";
  337.         dev_name = "i2c-A";
  338.         status = "ok";
  339.         reg = <0xc1108500 0x20>;
  340.         device_id = <0x1>;
  341.         pinctrl-names = "default";
  342.         #address-cells = <0x1>;
  343.         #size-cells = <0x0>;
  344.         use_pio = <0x0>;
  345.         master_i2c_speed = <0x493e0>;
  346.     };
  347.  
  348.     i2c@c11087c0 {
  349.         compatible = "amlogic,aml_i2c";
  350.         dev_name = "i2c-B";
  351.         status = "ok";
  352.         reg = <0xc11087c0 0x20>;
  353.         device_id = <0x2>;
  354.         pinctrl-names = "default";
  355.         pinctrl-0 = <0x14>;
  356.         #address-cells = <0x1>;
  357.         #size-cells = <0x0>;
  358.         use_pio = <0x0>;
  359.         master_i2c_speed = <0x493e0>;
  360.     };
  361.  
  362.     i2c@c11087e0 {
  363.         compatible = "amlogic,aml_i2c";
  364.         dev_name = "i2c-C";
  365.         status = "ok";
  366.         reg = <0xc11087e0 0x20>;
  367.         device_id = <0x3>;
  368.         pinctrl-names = "default";
  369.         #address-cells = <0x1>;
  370.         #size-cells = <0x0>;
  371.         use_pio = <0x0>;
  372.         master_i2c_speed = <0x493e0>;
  373.     };
  374.  
  375.     dvfs {
  376.         compatible = "amlogic, amlogic-dvfs";
  377.         #address-cells = <0x1>;
  378.         #size-cells = <0x0>;
  379.         status = "ok";
  380.  
  381.         vcck_dvfs {
  382.             dvfs_id = <0x1>;
  383.             table_count = <0xe>;
  384.             dvfs_table = <0x17700 0xd1f60 0xd1f60 0x2ee00 0xd1f60 0xd1f60 0x4c2c0 0xd1f60 0xd1f60 0x639c0 0xd1f60 0xd1f60 0x7b0c0 0xd1f60 0xd1f60 0x927c0 0xd1f60 0xd1f60 0xafc80 0xd1f60 0xd1f60 0xc7380 0xd6d80 0xd6d80 0xf6180 0xe30d0 0xe30d0 0x124f80 0xef420 0xef420 0x159b40 0xfb770 0xfb770 0x188940 0x10c8e0 0x10c8e0 0x1b7740 0x113e10 0x113e10 0x1e6540 0x116520 0x116520>;
  385.         };
  386.     };
  387.  
  388.     meson_vcck_dvfs_driver {
  389.         compatible = "amlogic, meson_vcck_dvfs";
  390.         dev_name = "meson_vcck_dvfs_driver";
  391.         status = "ok";
  392.         pinctrl-names = "default";
  393.         pinctrl-0 = <0x15>;
  394.         use_pwm = <0x1>;
  395.         pmw_controller = "PWM_C";
  396.         table_count = <0x1d>;
  397.         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>;
  398.     };
  399.  
  400.     usb_con {
  401.         lm-compatible = "logicmodule-bus";
  402.  
  403.         usb_b {
  404.             lm-compatible = "amlogic,usb";
  405.             lm-periph-id = <0x1>;
  406.             clock-src = "usb1";
  407.             port-id = <0x1>;
  408.             port-type = <0x1>;
  409.             port-speed = <0x0>;
  410.             port-config = <0x0>;
  411.             port-dma = <0x0>;
  412.             port-id-mode = <0x1>;
  413.             host-only-core = <0x1>;
  414.             pmu-apply-power = <0x1>;
  415.             status = "okay";
  416.         };
  417.  
  418.         usb_a {
  419.             lm-compatible = "amlogic,usb";
  420.             lm-periph-id = <0x0>;
  421.             clock-src = "usb0";
  422.             port-id = <0x0>;
  423.             port-type = <0x0>;
  424.             port-speed = <0x0>;
  425.             port-config = <0x0>;
  426.             port-dma = <0x0>;
  427.             port-id-mode = <0x0>;
  428.             gpio-vbus-power = "GPIOZ_1";
  429.             gpio-work-mask = <0x1>;
  430.             status = "okay";
  431.         };
  432.     };
  433.  
  434.     spi@cc000000 {
  435.         compatible = "amlogic,apollo_spi_nor";
  436.         status = "ok";
  437.         reg = <0xcc000000 0x4000000>;
  438.         pinctrl-names = "default";
  439.         pinctrl-0 = <0x16>;
  440.         nr-parts = <0x2>;
  441.         nr-part-0 = <0x17>;
  442.         nr-part-1 = <0x18>;
  443.  
  444.         bootloader {
  445.             offset = <0x0>;
  446.             size = <0x100000>;
  447.             linux,phandle = <0x17>;
  448.             phandle = <0x17>;
  449.         };
  450.  
  451.         ubootenv {
  452.             offset = <0x100000>;
  453.             size = <0x10000>;
  454.             linux,phandle = <0x18>;
  455.             phandle = <0x18>;
  456.         };
  457.     };
  458.  
  459.     nand {
  460.         compatible = "amlogic,aml_nand";
  461.         dev_name = "nand";
  462.         status = "ok";
  463.         reg = <0xd0048600 0x24>;
  464.         pinctrl-names = "nand_rb_mod", "nand_norb_mod";
  465.         pinctrl-0 = <0x19 0x1a 0x1b>;
  466.         pinctrl-1 = <0x19 0x1a 0x1b>;
  467.         device_id = <0x0>;
  468.         plat-names = "nandnormal";
  469.         plat-num = <0x1>;
  470.         plat-part-0 = <0x1c>;
  471.  
  472.         normal {
  473.             enable_pad = "ce0", "ce1", "ce2", "ce3";
  474.             busy_pad = "rb0";
  475.             linux,phandle = <0x1c>;
  476.             phandle = <0x1c>;
  477.         };
  478.     };
  479.  
  480.     efuse {
  481.         compatible = "amlogic,efuse";
  482.         dev_name = "efuse";
  483.         status = "okay";
  484.         plat-pos = <0x0 0x1c6>;
  485.         plat-count = <0x3a>;
  486.         usid-min = <0x8>;
  487.         usid-max = <0x1f>;
  488.     };
  489.  
  490.     thermal {
  491.         compatible = "amlogic-thermal";
  492.         #thermal-cells = <0x7>;
  493.         dev_name = "aml_thermal";
  494.         trip_point = <0x46 0x188941 0x188941 0x1ff 0x1ff 0x3 0x5 0x50 0x124f81 0x124f81 0x1b3 0x1b3 0x2 0x4 0x5a 0xc3501 0xc3501 0x148 0x148 0x2 0x3 0x104 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff>;
  495.         cpu_cali_a = <0x0>;
  496.         idle_interval = <0x3e8>;
  497.         use_virtual_thermal;
  498.         freq_sample_period = <0x1e>;
  499.         report_time = <0x1 0xa 0x1e 0x3c>;
  500.         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 0x155cc0 0x41 0x4b 0x50 0x55>;
  501.         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>;
  502.     };
  503.  
  504.     audio_platform {
  505.         compatible = "amlogic,aml-i2s";
  506.         dev_name = "aml-i2s.0";
  507.         status = "okay";
  508.     };
  509.  
  510.     audio_dai {
  511.         compatible = "amlogic,aml-i2s-dai";
  512.         dev_name = "aml-i2s-dai.0";
  513.         status = "okay";
  514.     };
  515.  
  516.     audio_spdif_dai {
  517.         compatible = "amlogic,aml-spdif-dai";
  518.         dev_name = "aml-spdif-dai.0";
  519.         status = "okay";
  520.     };
  521.  
  522.     audio_spdif_codec {
  523.         compatible = "amlogic,aml-spdif-codec";
  524.         dev_name = "spdif-dit.0";
  525.         status = "okay";
  526.     };
  527.  
  528.     audio_pcm2BT_codec {
  529.         compatible = "amlogic,pcm2BT-codec";
  530.         dev_name = "pcm2bt.0";
  531.         status = "okay";
  532.     };
  533.  
  534.     audio_pcm_dai {
  535.         compatible = "amlogic,aml-pcm-dai";
  536.         dev_name = "aml-pcm-dai.0";
  537.         status = "okay";
  538.     };
  539.  
  540.     audio_pcm {
  541.         compatible = "amlogic,aml-pcm";
  542.         dev_name = "aml-pcm.0";
  543.         status = "okay";
  544.     };
  545.  
  546.     audio_m8_audio {
  547.         compatible = "amlogic,m8_audio_codec";
  548.         dev_name = "aml_m8_codec.0";
  549.         status = "disable";
  550.     };
  551.  
  552.     dummy_codec {
  553.         compatible = "amlogic,aml_dummy_codec";
  554.         dev_name = "dummy_codec.0";
  555.         status = "okay";
  556.     };
  557.  
  558.     aml_audio_codec {
  559.         compatible = "amlogic,audio_codec";
  560.  
  561.         dummy {
  562.             codec_name = "dummy_codec";
  563.             status = "okay";
  564.         };
  565.     };
  566.  
  567.     aml_m8_sound_card {
  568.         compatible = "sound_card, aml_snd_m8";
  569.         aml,sound_card = "AML-M8AUDIO";
  570.         aml,codec_dai = "AML-M8", "dummy_codec";
  571.         aml,audio-routing-rt5616 = "Ext Spk", "LOUTL", "Ext Spk", "LOUTR", "HP", "HPOL", "HP", "HPOR", "micbias1", "MAIN MIC", "IN2P", "micbias1";
  572.         aml,audio-routing-amlm8 = "Ext Spk", "LINEOUTL", "Ext Spk", "LINEOUTR", "HP", "HP_L", "HP", "HP_R", "MICBIAS", "MAIN MIC", "LINPUT1", "MICBIAS";
  573.         aml,audio-routing-dummy = "Ext Spk", "LOUTL", "Ext Spk", "LOUTR";
  574.         mute_gpio = "GPIO_BSD_EN";
  575.         hp_disable;
  576.         hp_paraments = <0x320 0x12c 0x0 0x5 0x1>;
  577.         pinctrl-names = "aml_snd_m8";
  578.         pinctrl-0 = <0x1d>;
  579.         status = "okay";
  580.     };
  581.  
  582.     gpio_keypad {
  583.         compatible = "amlogic,gpio_keypad";
  584.         status = "okay";
  585.         scan_period = <0x14>;
  586.         key_num = <0x1>;
  587.         key_name = "power";
  588.         key_code = <0x74>;
  589.         key_pin = "GPIOAO_3";
  590.         gpio_high_z;
  591.         irq_keyup = <0x6>;
  592.         irq_keydown = <0x7>;
  593.     };
  594.  
  595.     saradc {
  596.         compatible = "amlogic,saradc";
  597.         status = "okay";
  598.     };
  599.  
  600.     meson-remote {
  601.         compatible = "amlogic,aml_remote";
  602.         dev_name = "meson-remote";
  603.         status = "ok";
  604.         ao_baseaddr = <0xf3100480>;
  605.         pinctrl-names = "default";
  606.         pinctrl-0 = <0x1e>;
  607.     };
  608.  
  609.     securitykey {
  610.         compatible = "amlogic,aml_keys";
  611.         status = "ok";
  612.     };
  613.  
  614.     unifykey {
  615.         compatible = "amlogic,unifykey";
  616.         status = "ok";
  617.         unifykey-num = <0x6>;
  618.         unifykey-index-0 = <0x1f>;
  619.         unifykey-index-1 = <0x20>;
  620.         unifykey-index-2 = <0x21>;
  621.         unifykey-index-3 = <0x22>;
  622.         unifykey-index-4 = <0x23>;
  623.         unifykey-index-5 = <0x24>;
  624.  
  625.         key_0 {
  626.             key-name = "usid";
  627.             key-device = "nandkey";
  628.             key-dataformat = "allascii";
  629.             key-permit = "read", "write", "del";
  630.             linux,phandle = <0x1f>;
  631.             phandle = <0x1f>;
  632.         };
  633.  
  634.         key_1 {
  635.             key-name = "mac";
  636.             key-device = "nandkey";
  637.             key-dataformat = "allascii";
  638.             key-permit = "read", "write", "del";
  639.             linux,phandle = <0x20>;
  640.             phandle = <0x20>;
  641.         };
  642.  
  643.         key_2 {
  644.             key-name = "hdcp";
  645.             key-device = "nandkey";
  646.             key-dataformat = "hexdata";
  647.             key-permit = "read", "write", "del";
  648.             linux,phandle = <0x21>;
  649.             phandle = <0x21>;
  650.         };
  651.  
  652.         key_3 {
  653.             key-name = "secure_boot_set";
  654.             key-device = "efusekey";
  655.             key-dataformat = "hexdata";
  656.             key-permit = "read", "write";
  657.             linux,phandle = <0x22>;
  658.             phandle = <0x22>;
  659.         };
  660.  
  661.         key_4 {
  662.             key-name = "mac_bt";
  663.             key-device = "nandkey";
  664.             key-dataformat = "hexdata";
  665.             key-permit = "read", "write", "del";
  666.             linux,phandle = <0x23>;
  667.             phandle = <0x23>;
  668.         };
  669.  
  670.         key_5 {
  671.             key-name = "mac_wifi";
  672.             key-device = "nandkey";
  673.             key-dataformat = "hexdata";
  674.             key-permit = "read", "write", "del";
  675.             linux,phandle = <0x24>;
  676.             phandle = <0x24>;
  677.         };
  678.     };
  679.  
  680.     amhdmitx {
  681.         compatible = "amlogic,amhdmitx";
  682.         dev_name = "amhdmitx";
  683.         status = "ok";
  684.         vend-data = <0x25>;
  685.         pwr-ctrl = <0x26>;
  686.  
  687.         vend_data {
  688.             vendor_name = "Amlogic";
  689.             vendor_id = <0x0>;
  690.             product_desc = "M8 MBox SKTv1";
  691.             cec_osd_string = "Amlogic MBox";
  692.             linux,phandle = <0x25>;
  693.             phandle = <0x25>;
  694.         };
  695.  
  696.         pwr_ctrl {
  697.             pwr_5v_on = [00];
  698.             pwr_5v_off = [00];
  699.             pwr_3v3_on = [00];
  700.             pwr_3v3_off = [00];
  701.             pwr_hpll_vdd_on = [00];
  702.             pwr_hpll_vdd_off = [00];
  703.             linux,phandle = <0x26>;
  704.             phandle = <0x26>;
  705.         };
  706.     };
  707.  
  708.     aml_pm {
  709.         compatible = "amlogic,pm-m8";
  710.         dev_name = "aml_pm_m8";
  711.         status = "okay";
  712.     };
  713.  
  714.     cpufreq-meson {
  715.         compatible = "amlogic,cpufreq-meson";
  716.         status = "okay";
  717.     };
  718.  
  719.     crypto_device {
  720.         compatible = "amlogic,crypto-device";
  721.         dev_name = "crypto_device";
  722.     };
  723.  
  724.     gpio {
  725.         compatible = "amlogic,m8-gpio";
  726.         dev_name = "gpio";
  727.         #gpio-cells = <0x2>;
  728.     };
  729.  
  730.     pinmux {
  731.         compatible = "amlogic,pinmux-m8";
  732.         dev_name = "pinmux";
  733.         #pinmux-cells = <0x2>;
  734.  
  735.         ao_uart {
  736.             amlogic,setmask = <0xa 0x1800>;
  737.             amlogic,pins = "GPIOAO_0", "GPIOAO_1";
  738.             linux,phandle = <0x4>;
  739.             phandle = <0x4>;
  740.         };
  741.  
  742.         a_uart {
  743.             amlogic,setmask = <0x4 0x3c00>;
  744.             amlogic,pins = "GPIOX_12", "GPIOX_13", "GPIOX_14", "GPIOX_15";
  745.             linux,phandle = <0x5>;
  746.             phandle = <0x5>;
  747.         };
  748.  
  749.         nand_input {
  750.             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";
  751.             amlogic,enable-output = <0x1>;
  752.             linux,phandle = <0x19>;
  753.             phandle = <0x19>;
  754.         };
  755.  
  756.         conf_nand {
  757.             amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_15";
  758.             amlogic,pullup = <0x0>;
  759.             linux,phandle = <0x1a>;
  760.             phandle = <0x1a>;
  761.         };
  762.  
  763.         nand {
  764.             amlogic,setmask = <0x2 0x7fe0000>;
  765.             amlogic,clrmask = <0x5 0xe 0x6 0x3f000000 0x4 0x7c000000>;
  766.             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";
  767.             linux,phandle = <0x1b>;
  768.             phandle = <0x1b>;
  769.         };
  770.  
  771.         sdhc_b_pin {
  772.             amlogic,setmask = <0x2 0xfc00>;
  773.             amlogic,clrmask = <0x2 0xf0 0x8 0x600>;
  774.             amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
  775.         };
  776.  
  777.         sdhc_c_pin {
  778.             amlogic,setmask = <0x6 0x3f000000>;
  779.             amlogic,clrmask = <0x4 0x6c000000 0x2 0x4c00000>;
  780.             amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_10", "BOOT_11";
  781.         };
  782.  
  783.         sdhc_a_pin {
  784.             amlogic,setmask = <0x8 0x3f>;
  785.             amlogic,clrmask = <0x5 0x6c00>;
  786.             amlogic,pins = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_8", "GPIOX_9";
  787.         };
  788.  
  789.         sdio_all_pins {
  790.             amlogic,setmask = <0x8 0x3f>;
  791.             amlogic,clrmask = <0x6 0x3f000000 0x2 0xfc00 0x5 0x6c00>;
  792.             amlogic,pins = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_8", "GPIOX_9";
  793.             amlogic,enable-output = <0x1>;
  794.             amlogic,pullup = <0x1>;
  795.             amlogic,pullupen = <0x1>;
  796.             linux,phandle = <0xb>;
  797.             phandle = <0xb>;
  798.         };
  799.  
  800.         sdio_clk_cmd_pins {
  801.             amlogic,setmask = <0x8 0x3>;
  802.             amlogic,clrmask = <0x6 0x3f000000 0x2 0xfc00 0x5 0x6c00>;
  803.             amlogic,pins = "GPIOX_8", "GPIOX_9";
  804.             amlogic,enable-output = <0x1>;
  805.             amlogic,pullup = <0x1>;
  806.             amlogic,pullupen = <0x1>;
  807.             linux,phandle = <0xa>;
  808.             phandle = <0xa>;
  809.         };
  810.  
  811.         sd_all_pins {
  812.             amlogic,setmask = <0x2 0xfc00>;
  813.             amlogic,clrmask = <0x6 0x3f000000 0x8 0x63f 0x2 0xf0>;
  814.             amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
  815.             amlogic,enable-output = <0x1>;
  816.             amlogic,pullup = <0x1>;
  817.             amlogic,pullupen = <0x1>;
  818.             linux,phandle = <0x7>;
  819.             phandle = <0x7>;
  820.         };
  821.  
  822.         sd_1bit_pins {
  823.             amlogic,setmask = <0x2 0x8c00>;
  824.             amlogic,clrmask = <0x6 0x3f000000 0x8 0x3f 0x2 0xf0>;
  825.             amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
  826.             amlogic,enable-output = <0x1>;
  827.             amlogic,pullup = <0x1>;
  828.             amlogic,pullupen = <0x1>;
  829.             linux,phandle = <0xc>;
  830.             phandle = <0xc>;
  831.         };
  832.  
  833.         sd_clk_cmd_pins {
  834.             amlogic,setmask = <0x2 0xc00>;
  835.             amlogic,clrmask = <0x6 0x3f000000 0x8 0x3f 0x2 0xf0>;
  836.             amlogic,pins = "CARD_2", "CARD_3";
  837.             amlogic,enable-output = <0x1>;
  838.             amlogic,pullup = <0x1>;
  839.             amlogic,pullupen = <0x1>;
  840.             linux,phandle = <0x6>;
  841.             phandle = <0x6>;
  842.         };
  843.  
  844.         emmc_all_pins {
  845.             amlogic,setmask = <0x6 0x3f000000>;
  846.             amlogic,clrmask = <0x2 0x4c0fc00 0x8 0x3f 0x4 0x6c000000>;
  847.             amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_16", "BOOT_17";
  848.             amlogic,enable-output = <0x1>;
  849.             amlogic,pullup = <0x1>;
  850.             amlogic,pullupen = <0x1>;
  851.             linux,phandle = <0x9>;
  852.             phandle = <0x9>;
  853.         };
  854.  
  855.         emmc_clk_cmd_pins {
  856.             amlogic,setmask = <0x6 0x3000000>;
  857.             amlogic,clrmask = <0x2 0x4c0fc00 0x8 0x3f 0x4 0x6c000000>;
  858.             amlogic,pins = "BOOT_16", "BOOT_17";
  859.             amlogic,enable-output = <0x1>;
  860.             amlogic,pullup = <0x1>;
  861.             amlogic,pullupen = <0x1>;
  862.             linux,phandle = <0x8>;
  863.             phandle = <0x8>;
  864.         };
  865.  
  866.         sdhc_sd_clk_cmd_pins {
  867.             amlogic,setmask = <0x2 0x30>;
  868.             amlogic,clrmask = <0x5 0x7c00 0x4 0x7c000000 0x2 0xfc00 0x8 0x600>;
  869.             amlogic,pins = "CARD_2", "CARD_3";
  870.             amlogic,enable-output = <0x1>;
  871.             amlogic,pullup = <0x1>;
  872.             amlogic,pullupen = <0x1>;
  873.             linux,phandle = <0xd>;
  874.             phandle = <0xd>;
  875.         };
  876.  
  877.         sdhc_sd_all_pins {
  878.             amlogic,setmask = <0x2 0xf0>;
  879.             amlogic,clrmask = <0x5 0x7c00 0x4 0x7c000000 0x2 0xfc00 0x8 0x600>;
  880.             amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
  881.             amlogic,enable-output = <0x1>;
  882.             amlogic,pullup = <0x1>;
  883.             amlogic,pullupen = <0x1>;
  884.             linux,phandle = <0xe>;
  885.             phandle = <0xe>;
  886.         };
  887.  
  888.         sdhc_emmc_clk_cmd_pins {
  889.             amlogic,setmask = <0x4 0xc000000>;
  890.             amlogic,clrmask = <0x2 0x4c000f0 0x5 0x7c00 0x6 0x3f000000>;
  891.             amlogic,pins = "BOOT_16", "BOOT_17";
  892.             amlogic,enable-output = <0x1>;
  893.             amlogic,pullup = <0x1>;
  894.             amlogic,pullupen = <0x1>;
  895.             linux,phandle = <0xf>;
  896.             phandle = <0xf>;
  897.         };
  898.  
  899.         sdhc_emmc_all_pins {
  900.             amlogic,setmask = <0x4 0x7c000000>;
  901.             amlogic,clrmask = <0x2 0x4c000f0 0x5 0x7c00 0x6 0x3f000000>;
  902.             amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_16", "BOOT_17";
  903.             amlogic,enable-output = <0x1>;
  904.             amlogic,pullup = <0x1>;
  905.             amlogic,pullupen = <0x1>;
  906.             linux,phandle = <0x10>;
  907.             phandle = <0x10>;
  908.         };
  909.  
  910.         sdhc_sdio_clk_cmd_pins {
  911.             amlogic,setmask = <0x5 0xc00>;
  912.             amlogic,clrmask = <0x2 0xf0 0x4 0x7c000000 0x8 0x3f>;
  913.             amlogic,pins = "GPIOX_8", "GPIOX_9";
  914.             amlogic,enable-output = <0x1>;
  915.             amlogic,pullup = <0x1>;
  916.             amlogic,pullupen = <0x1>;
  917.             linux,phandle = <0x11>;
  918.             phandle = <0x11>;
  919.         };
  920.  
  921.         sdhc_sdio_all_pins {
  922.             amlogic,setmask = <0x5 0x6c00>;
  923.             amlogic,clrmask = <0x2 0xf0 0x4 0x7c000000 0x8 0x3f>;
  924.             amlogic,pins = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_8", "GPIOX_9";
  925.             amlogic,enable-output = <0x1>;
  926.             amlogic,pullup = <0x1>;
  927.             amlogic,pullupen = <0x1>;
  928.             linux,phandle = <0x12>;
  929.             phandle = <0x12>;
  930.         };
  931.  
  932.         ao_i2c {
  933.             amlogic,setmask = <0xa 0x60>;
  934.             amlogic,clrmask = <0xa 0x1800006>;
  935.             amlogic,pins = "GPIOAO_4", "GPIOAO_5";
  936.             linux,phandle = <0x13>;
  937.             phandle = <0x13>;
  938.         };
  939.  
  940.         b_i2c {
  941.             amlogic,setmask = <0x5 0xc000000>;
  942.             amlogic,pins = "GPIOZ_2", "GPIOZ_3";
  943.             linux,phandle = <0x14>;
  944.             phandle = <0x14>;
  945.         };
  946.  
  947.         remote_pin {
  948.             amlogic,setmask = <0xa 0x1>;
  949.             amlogic,pins = "GPIOAO_7";
  950.             linux,phandle = <0x1e>;
  951.             phandle = <0x1e>;
  952.         };
  953.  
  954.         audio_pin {
  955.             amlogic,setmask = <0x1 0x80 0x3 0x78000000 0xa 0x78000000>;
  956.             amlogic,clrmask = <0x1 0x10000 0x4 0x3c000 0x5 0x1000>;
  957.             amlogic,pins = "GPIOY_3", "GPIOX_4", "GPIOX_5", "GPIOX_6", "GPIOX_7", "GPIOAO_8", "GPIOAO_9", "GPIOAO_10", "GPIOAO_11";
  958.             linux,phandle = <0x1d>;
  959.             phandle = <0x1d>;
  960.         };
  961.  
  962.         aml_spi_nor_pins {
  963.             amlogic,setmask = <0x5 0xf>;
  964.             amlogic,clrmask = <0x2 0x380000>;
  965.             amlogic,pins = "BOOT_11", "BOOT_12", "BOOT_13", "BOOT_18";
  966.             linux,phandle = <0x16>;
  967.             phandle = <0x16>;
  968.         };
  969.  
  970.         dvb_p_ts0_pins {
  971.             amlogic,setmask = <0x3 0x3f>;
  972.             amlogic,clrmask = <0x1 0xcce41 0x4 0x2000000 0x7 0x20000000 0x9 0x431f>;
  973.             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";
  974.             linux,phandle = <0x27>;
  975.             phandle = <0x27>;
  976.         };
  977.  
  978.         dvb_s_ts0_pins {
  979.             amlogic,setmask = <0x3 0x1f>;
  980.             amlogic,clrmask = <0x1 0xcce41 0x4 0x2000000 0x9 0x310>;
  981.             amlogic,pins = "GPIOY_9", "GPIOY_0", "GPIOY_1", "GPIOY_4", "GPIOY_8";
  982.             linux,phandle = <0x28>;
  983.             phandle = <0x28>;
  984.         };
  985.  
  986.         dvb_fe_pins {
  987.             amlogic,clrmask = <0x1 0x38 0x3 0x18000 0x4 0x1800000 0x9 0xc0>;
  988.             amlogic,pins = "GPIOY_5", "GPIOY_6";
  989.             linux,phandle = <0x29>;
  990.             phandle = <0x29>;
  991.         };
  992.  
  993.         aml_pwm_pins {
  994.             amlogic,setmask = <0x3 0x1000000>;
  995.             amlogic,clrmask = <0x0 0x108 0x7 0x10000200>;
  996.             amlogic,pins = "GPIODV_9";
  997.             linux,phandle = <0x15>;
  998.             phandle = <0x15>;
  999.         };
  1000.     };
  1001.  
  1002.     meson-eth {
  1003.         compatible = "amlogic,meson-eth";
  1004.         dev_name = "meson-eth";
  1005.         status = "okay";
  1006.         ethbaseaddr = <0xfe0c0000>;
  1007.         interruptnum = <0x28>;
  1008.         phy_interface = <0x1>;
  1009.         new_maclogic = <0x1>;
  1010.         reset_pin_enable = <0x0>;
  1011.         reset_pin = "GPIOH_4";
  1012.         reset_delay = <0x64>;
  1013.     };
  1014.  
  1015.     dvb {
  1016.         compatible = "amlogic,dvb";
  1017.         ts0 = "parallel";
  1018.         ts0_control = <0x0>;
  1019.         ts0_invert = <0x0>;
  1020.         pinctrl-names = "p_ts0", "s_ts0";
  1021.         pinctrl-0 = <0x27>;
  1022.         pinctrl-1 = <0x28>;
  1023.     };
  1024.  
  1025.     dvbfe {
  1026.         compatible = "amlogic,dvbfe";
  1027.         dtv_demod0 = "Avl6211";
  1028.         dtv_demod0_i2c_adap_id = <0x2>;
  1029.         dtv_demod0_i2c_addr = <0xc0>;
  1030.         dtv_demod0_reset_value = <0x0>;
  1031.         dtv_demod0_reset_gpio = "GPIOY_5";
  1032.         fe0_dtv_demod = <0x0>;
  1033.         fe0_ts = <0x0>;
  1034.         fe0_dev = <0x0>;
  1035.         pinctrl-names = "default";
  1036.         pinctrl-0 = <0x29>;
  1037.     };
  1038.  
  1039.     meson-rng {
  1040.         compatible = "amlogic,meson-rng";
  1041.         status = "ok";
  1042.     };
  1043. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top