找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 5137|回复: 2

玩客云的dts设备树描述表,从网心云固件中找来的

[复制链接]
可以考滤把5.7内核的armbian用网心云的emmc布局写到emmc中去,用abootimg生成5.7内核的boot.img,高手快来弄来下,内容如下:


/dts-v1/;

/ {
        amlogic-dt-id = "m8b_m201_1G";
        compatible = "AMLOGIC,8726_M8B";
        model = "AMLOGIC";
        interrupt-parent = <0x1>;
        #address-cells = <0x1>;
        #size-cells = <0x1>;

        cpus {
                #address-cells = <0x1>;
                #size-cells = <0x0>;

                cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a5";
                        reg = <0x200>;
                };

                cpu@1 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a5";
                        reg = <0x1>;
                };

                cpu@2 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a5";
                        reg = <0x2>;
                };

                cpu@3 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a5";
                        reg = <0x3>;
                };
        };

        cache-controller {
                compatible = "arm,meson-pl310-cache";
                reg = <0xc4200000 0x1000>;
                arm,data-latency = <0x3 0x3 0x3>;
                arm,tag-latency = <0x2 0x2 0x2>;
                arm,filter-ranges = <0x100000 0xc0000000>;
                cache-unified;
                cache-level = <0x2>;
                aux-instruction_prefetch;
                aux-data_prefetch;
                aux-ns_lockdown;
                aux-force_no_write_alloc;
                aux-cache_replace_policy_round_robin;
                aux-early_write_response;
                aux-full_line_of_zero;
                aux-ns_int_ctrl;
                aux-share_override;
                prefetch-double_line_fill;
                prefetch-prefetch_drop;
                prefetch-prefetch_offset = <0x7>;
        };

        memory {
                device_type = "memory";
                aml_reserved_start = <0x6000000>;
                aml_reserved_end = <0x5000000>;
                phys_offset = <0x200000>;
                linux,total-memory = <0x3fe00000>;
                #address-cells = <0x1>;
                #size-cells = <0x1>;

                region@1 {
                        region_name = "cma_4k2k";
                        linux,contiguous-region;
                        reg = <0x0 0xbc00000>;
                };

                region@0 {
                        region_name = "cma_0";
                        reg = <0x0 0x1200000>;
                        linux,contiguous-region;
                        linux,phandle = <0x2>;
                        phandle = <0x2>;
                };
        };

        interrupt-controller {
                compatible = "arm,cortex-a9-gic";
                reg = <0xc4301000 0x1000 0xc4300100 0x100>;
                interrupt-controller;
                #interrupt-cells = <0x3>;
                #address-cells = <0x0>;
                linux,phandle = <0x1>;
                phandle = <0x1>;
        };

        vpu {
                compatible = "amlogic,vpu";
                dev_name = "vpu";
                status = "ok";
                clk_level = <0x3>;
        };

        mesonfb {
                compatible = "amlogic,mesonfb";
                dev_name = "mesonfb";
                status = "okay";
                reserve-memory = <0x800000 0x800000>;
                reserve-iomap = "true";
                mem-usable = "false";
                vmode = <0x3>;
                scale_mode = <0x1>;
                4k2k_fb = <0x0>;
                display_size_default = <0x500 0x2d0 0x500 0x5a0 0x20>;
        };

        deinterlace {
                compatible = "amlogic,deinterlace";
                dev_name = "deinterlace";
                status = "ok";
                reserve-memory = <0x2100000>;
        };

        mesonstream {
                compatible = "amlogic,mesonstream";
                dev_name = "mesonstream.0";
                status = "okay";
        };

        vdec {
                compatible = "amlogic,vdec";
                dev_name = "vdec.0";
                status = "okay";
        };

        codec_mm {
                compatible = "amlogic, codec, mm";
                dev_name = "codec_mm";
                status = "okay";
                reserve-memory = <0x4100000>;
        };

        picdec {
                compatible = "amlogic,picdec";
                dev_name = "picdec";
                status = "okay";
                share-memory-name = "vdec0";
                share-memory-offset = <0x0>;
                share-memory-size = <0x4000000>;
        };

        ppmgr {
                compatible = "amlogic,ppmgr";
                dev_name = "ppmgr";
                status = "okay";
                reserve-memory = <0x1000000>;
        };

        amvenc_avc {
                compatible = "amlogic,amvenc_avc";
                dev_name = "amvenc_avc.0";
                status = "okay";
                linux,contiguous-region = <0x2>;
                reserve-iomap = "true";
        };

        ion_dev {
                compatible = "amlogic,ion_dev";
                dev_name = "ion_dev";
                status = "ok";
                share-memory-name = "ppmgr0";
                share-memory-offset = <0x0>;
                share-memory-size = <0x1000000>;
        };

        mesonvout {
                compatible = "amlogic,mesonvout";
                dev_name = "mesonvout";
                status = "okay";
        };

        tvout {
                compatible = "amlogic,tvout";
                dev_name = "tvout";
                status = "okay";
        };

        uart_ao {
                compatible = "amlogic,aml_uart";
                port_name = "uart_ao";
                status = "okay";
                dev_name = "uart_ao";
                pinctrl-names = "default";
                pinctrl-0 = <0x3>;
        };

        uart_0 {
                compatible = "amlogic,aml_uart";
                port_name = "uart_a";
                status = "okay";
                dev_name = "uart_0";
        };

        uart_1 {
                compatible = "amlogic,aml_uart";
                port_name = "uart_b";
                status = "okay";
                dev_name = "uart_1";
                pinctrl-names = "default";
                pinctrl-0 = <0x4>;
        };

        uart_2 {
                compatible = "amlogic,aml_uart";
                port_name = "uart_c";
                status = "disabled";
                dev_name = "uart_2";
        };

        uart_3 {
                compatible = "amlogic,aml_uart";
                port_name = "uart_d";
                status = "ok";
                dev_name = "uart_3";
        };

        bt-dev {
                compatible = "amlogic,bt-dev";
                dev_name = "bt-dev";
                status = "ok";
                gpio_reset = "GPIOX_20";
        };

        wifi {
                compatible = "amlogic,aml_broadcm_wifi";
                dev_name = "aml_broadcm_wifi";
                status = "okay";
                interrupt_pin = "GPIOX_21";
                irq_num = <0x4>;
                irq_trigger_type = "GPIO_IRQ_HIGH";
                power_on_pin = "GPIOX_11";
                power_on_pin2 = "GPIOX_11";
                clock_32k_pin = "GPIOX_10";
        };

        wifi_power {
                compatible = "amlogic,wifi_power";
                dev_name = "wifi_power";
                status = "okay";
                power_gpio = "GPIOX_11";
                power_gpio2 = "GPIOX_11";
        };

        sdio {
                compatible = "amlogic,aml_sdio";
                dev_name = "aml_sdio.0";
                status = "okay";
                reg = <0xc1108c20 0x20>;
                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";
                pinctrl-0 = <0x5>;
                pinctrl-1 = <0x6>;
                pinctrl-2 = <0x7>;
                pinctrl-3 = <0x8>;
                pinctrl-4 = <0x9>;
                pinctrl-5 = <0xa>;
                pinctrl-6 = <0xb>;

                sd {
                        status = "okay";
                        port = <0x1>;
                        pinname = "sd";
                        ocr_avail = <0x200000>;
                        caps = "MMC_CAP_4_BIT_DATA", "MMC_CAP_MMC_HIGHSPEED", "MMC_CAP_SD_HIGHSPEED";
                        f_min = <0x493e0>;
                        f_max = <0x2faf080>;
                        f_max_w = <0x2faf080>;
                        max_req_size = <0x20000>;
                        gpio_dat3 = "CARD_4";
                        jtag_pin = "CARD_0";
                        gpio_cd = "CARD_6";
                        gpio_ro = "GPIODV_25";
                        irq_in = <0x3>;
                        irq_out = <0x5>;
                        card_type = <0x5>;
                };

                sdio {
                        status = "ok";
                        port = <0x0>;
                        pinname = "sdio";
                        ocr_avail = <0x200000>;
                        caps = "MMC_CAP_4_BIT_DATA", "MMC_CAP_SDIO_IRQ", "MMC_CAP_MMC_HIGHSPEED", "MMC_CAP_SD_HIGHSPEED", "MMC_CAP_NONREMOVABLE";
                        f_min = <0x493e0>;
                        f_max = <0x2faf080>;
                        max_req_size = <0x20000>;
                        card_type = <0x3>;
                };
        };

        sdhc {
                compatible = "amlogic,aml_sdhc";
                dev_name = "aml_sdhc.0";
                status = "okay";
                reg = <0xc1108e00 0x3c>;
                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";
                pinctrl-0 = <0xc>;
                pinctrl-1 = <0xd>;
                pinctrl-2 = <0xe>;
                pinctrl-3 = <0xf>;
                pinctrl-4 = <0x10>;
                pinctrl-5 = <0x11>;

                emmc {
                        status = "okay";
                        port = <0x5>;
                        pinname = "emmc";
                        ocr_avail = <0x200000>;
                        caps = "MMC_CAP_8_BIT_DATA", "MMC_CAP_MMC_HIGHSPEED", "MMC_CAP_SD_HIGHSPEED", "MMC_CAP_NONREMOVABLE", "MMC_CAP_ERASE", "MMC_CAP_HW_RESET";
                        f_min = <0x493e0>;
                        f_max = <0x2faf080>;
                        max_req_size = <0x20000>;
                        gpio_dat3 = "BOOT_3";
                        card_type = <0x1>;
                };
        };

        i2c@c1108500 {
                compatible = "amlogic,aml_i2c";
                dev_name = "i2c-A";
                status = "ok";
                reg = <0xc1108500 0x20>;
                device_id = <0x1>;
                pinctrl-names = "default";
                pinctrl-0 = <0x12>;
                #address-cells = <0x1>;
                #size-cells = <0x0>;
                use_pio = <0x0>;
                master_i2c_speed = <0x493e0>;
        };

        i2c@c11087c0 {
                compatible = "amlogic,aml_i2c";
                dev_name = "i2c-B";
                status = "ok";
                reg = <0xc11087c0 0x20>;
                device_id = <0x2>;
                pinctrl-names = "default";
                pinctrl-0 = <0x13>;
                #address-cells = <0x1>;
                #size-cells = <0x0>;
                use_pio = <0x0>;
                master_i2c_speed = <0x493e0>;
        };

        i2c@c11087e0 {
                compatible = "amlogic,aml_i2c";
                dev_name = "i2c-C";
                status = "ok";
                reg = <0xc11087e0 0x20>;
                device_id = <0x3>;
                pinctrl-names = "default";
                #address-cells = <0x1>;
                #size-cells = <0x0>;
                use_pio = <0x0>;
                master_i2c_speed = <0x493e0>;
        };

        i2c@c1108d20 {
                compatible = "amlogic,aml_i2c";
                dev_name = "i2c-D";
                status = "ok";
                reg = <0xc1108d20 0x20>;
                device_id = <0x4>;
                pinctrl-names = "default";
                pinctrl-0 = <0x14>;
                #address-cells = <0x1>;
                #size-cells = <0x0>;
                use_pio = <0x0>;
                master_i2c_speed = <0x493e0>;
        };

        dvfs {
                compatible = "amlogic, amlogic-dvfs";
                #address-cells = <0x1>;
                #size-cells = <0x0>;
                status = "ok";

                vcck_dvfs {
                        dvfs_id = <0x1>;
                        table_count = <0xd>;
                        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 0x116520 0x116520 0x124f80 0x116520 0x116520 0x142440 0x116520 0x116520 0x16b480 0x116520 0x116520 0x177000 0x116520 0x116520>;
                };
        };

        meson_vcck_dvfs_driver {
                compatible = "amlogic, meson_vcck_dvfs";
                dev_name = "meson_vcck_dvfs_driver";
                status = "ok";
                pinctrl-names = "default";
                pinctrl-0 = <0x15>;
                use_pwm = <0x1>;
                pmw_controller = "PWM_C";
                table_count = <0x1d>;
                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>;
        };

        arm_pmu {
                compatible = "arm,cortex-a9-pmu";
                status = "ok";
                interrupts = <0x0 0x89 0x4 0x0 0x8a 0x4 0x0 0x99 0x4 0x0 0x9a 0x4>;
        };

        usb_con {
                lm-compatible = "logicmodule-bus";

                usb_b {
                        lm-compatible = "amlogic,usb";
                        lm-periph-id = <0x1>;
                        clock-src = "usb1";
                        port-id = <0x1>;
                        port-type = <0x1>;
                        port-speed = <0x0>;
                        port-config = <0x0>;
                        port-dma = <0x0>;
                        port-id-mode = <0x1>;
                        status = "okay";
                };

                usb_a {
                        lm-compatible = "amlogic,usb";
                        lm-periph-id = <0x0>;
                        clock-src = "usb0";
                        port-id = <0x0>;
                        port-type = <0x1>;
                        port-speed = <0x0>;
                        port-config = <0x0>;
                        port-dma = <0x0>;
                        port-id-mode = <0x0>;
                        gpio-work-mask = <0x1>;
                        status = "okay";
                };
        };

        audio_platform {
                compatible = "amlogic,aml-i2s";
                dev_name = "aml-i2s.0";
                status = "okay";
        };

        audio_dai {
                compatible = "amlogic,aml-i2s-dai";
                dev_name = "aml-i2s-dai.0";
                status = "okay";
        };

        audio_spdif_dai {
                compatible = "amlogic,aml-spdif-dai";
                dev_name = "aml-spdif-dai.0";
                status = "okay";
        };

        audio_spdif_codec {
                compatible = "amlogic,aml-spdif-codec";
                dev_name = "spdif-dit.0";
                status = "okay";
        };

        audio_pcm2BT_codec {
                compatible = "amlogic,pcm2BT-codec";
                dev_name = "pcm2bt.0";
                status = "okay";
        };

        audio_pcm_dai {
                compatible = "amlogic,aml-pcm-dai";
                dev_name = "aml-pcm-dai.0";
                status = "okay";
        };

        audio_pcm {
                compatible = "amlogic,aml-pcm";
                dev_name = "aml-pcm.0";
                status = "okay";
        };

        audio_m8_audio {
                compatible = "amlogic,m8_audio_codec";
                dev_name = "aml_m8_codec.0";
                status = "disable";
        };

        dummy_codec {
                compatible = "amlogic,aml_dummy_codec";
                dev_name = "dummy_codec.0";
                status = "okay";
        };

        aml_audio_codec {
                compatible = "amlogic,audio_codec";

                rt5616 {
                        codec_name = "rt5616";
                        i2c_addr = <0x1b>;
                        i2c_bus = "i2c_bus_d";
                        id_reg = <0x0>;
                        id_val = <0x21>;
                        capless = <0x0>;
                        status = "disable";
                };

                rt5631 {
                        codec_name = "rt5631";
                        i2c_addr = <0x1a>;
                        i2c_bus = "i2c_bus_b";
                        id_reg = <0x0>;
                        id_val = <0x1>;
                        capless = <0x0>;
                        status = "disable";
                };

                wm8960 {
                        codec_name = "wm8960";
                        i2c_addr = <0x1a>;
                        i2c_bus = "i2c_bus_b";
                        capless = <0x1>;
                        status = "disable";
                };

                dummy {
                        codec_name = "dummy_codec";
                        status = "okay";
                };
        };

        aml_m8_sound_card {
                compatible = "sound_card, aml_snd_m8";
                aml,sound_card = "AML-M8AUDIO";
                aml,codec_dai = "AML-M8", "rt5616-aif1", "rt5631-hifi", "wm8960-hifi", "dummy_codec";
                aml,audio-routing-rt5616 = "Ext Spk", "LOUTL", "Ext Spk", "LOUTR", "HP", "HPOL", "HP", "HPOR", "micbias1", "MAIN MIC", "IN2P", "micbias1";
                aml,audio-routing-amlm8 = "Ext Spk", "LINEOUTL", "Ext Spk", "LINEOUTR", "HP", "HP_L", "HP", "HP_R", "MICBIAS", "MAIN MIC", "LINPUT1", "MICBIAS";
                aml,audio-routing-dummy = "Ext Spk", "LOUTL", "Ext Spk", "LOUTR";
                mute_gpio = "GPIO_BSD_EN";
                hp_disable;
                hp_paraments = <0x320 0x12c 0x0 0x5 0x1>;
                pinctrl-names = "aml_snd_m8";
                pinctrl-0 = <0x16>;
                status = "okay";
        };

        aml_cams {
                compatible = "amlogic,cams_prober";
                status = "okay";
                pinctrl-names = "gpio", "csi";
                pinctrl-0 = <0x17>;
                pinctrl-1 = <0x18>;

                cam_0 {
                        cam_name = "ar0543";
                        front_back = <0x0>;
                        i2c_bus = "i2c_bus_d";
                        gpio_pwdn = "GPIOH_6";
                        gpio_rst = "GPIOH_4";
                        mirror_flip = <0x0>;
                        vertical_flip = <0x0>;
                        config_path = "/system/etc/camera_isp_cfg/ar0543_skt";
                        mclk = <0x2ee0>;
                        bt_path = "csi";
                        interface = "mipi";
                        clk_channel = [61 00];
                        status = "okay";
                };

                cam_1 {
                        cam_name = "ov5647";
                        front_back = <0x0>;
                        i2c_bus = "i2c_bus_d";
                        gpio_pwdn = "GPIOH_5";
                        gpio_rst = "GPIOH_4";
                        mirror_flip = <0x0>;
                        vertical_flip = <0x0>;
                        config_path = "/system/etc/camera_isp_cfg/ov5647_cw0767";
                        bt_path = "csi";
                        interface = "mipi";
                        clk_channel = [62 00];
                        status = "okay";
                };

                cam_2 {
                        cam_name = "ar0833";
                        front_back = <0x0>;
                        i2c_bus = "i2c_bus_d";
                        gpio_pwdn = "GPIOH_6";
                        gpio_rst = "GPIOH_4";
                        mirror_flip = <0x0>;
                        vertical_flip = <0x0>;
                        config_path = "/system/etc/camera_isp_cfg/ar0833_skt";
                        mclk = <0x2ee0>;
                        bt_path = "csi";
                        interface = "mipi";
                        clk_channel = [61 00];
                        status = "okay";
                };
        };

        gpio_keypad {
                compatible = "amlogic,gpio_keypad";
                status = "okay";
                scan_period = <0x14>;
                key_num = <0x1>;
                key_name = "power";
                key_code = <0x74>;
                key_pin = "GPIOAO_5";
                irq_keyup = <0x6>;
                irq_keydown = <0x7>;
        };

        saradc {
                compatible = "amlogic,saradc";
                status = "okay";
        };

        meson-remote {
                compatible = "amlogic,aml_remote";
                dev_name = "meson-remote";
                status = "ok";
                ao_baseaddr = <0xf3100480>;
                pinctrl-names = "default";
                pinctrl-0 = <0x19>;
        };

        spi@cc000000 {
                compatible = "amlogic,apollo_spi_nor";
                status = "ok";
                reg = <0xcc000000 0x4000000>;
                pinctrl-names = "default";
                pinctrl-0 = <0x1a>;
                nr-parts = <0x2>;
                nr-part-0 = <0x1b>;
                nr-part-1 = <0x1c>;

                bootloader {
                        offset = <0x0>;
                        size = <0x100000>;
                        linux,phandle = <0x1b>;
                        phandle = <0x1b>;
                };

                ubootenv {
                        offset = <0x100000>;
                        size = <0x10000>;
                        linux,phandle = <0x1c>;
                        phandle = <0x1c>;
                };
        };

        nand {
                compatible = "amlogic,aml_nand";
                dev_name = "nand";
                status = "ok";
                reg = <0xd0048600 0x24>;
                pinctrl-names = "nand_rb_mod", "nand_norb_mod", "nand_cs_pins_only";
                pinctrl-0 = <0x1d 0x1e 0x1f>;
                pinctrl-1 = <0x1d 0x1e 0x1f>;
                pinctrl-2 = <0x20>;
                device_id = <0x0>;
                plat-names = "nandnormal";
                plat-num = <0x1>;
                plat-part-0 = <0x21>;

                normal {
                        enable_pad = "ce0", "ce1", "ce2", "ce3";
                        busy_pad = "rb0";
                        linux,phandle = <0x21>;
                        phandle = <0x21>;
                };
        };

        efuse {
                compatible = "amlogic,efuse";
                dev_name = "efuse";
                status = "okay";
                plat-pos = <0x0 0x1c6>;
                plat-count = <0x3a>;
                usid-min = <0x8>;
                usid-max = <0x1f>;
        };

        thermal {
                compatible = "amlogic-thermal";
                #thermal-cells = <0x7>;
                dev_name = "aml_thermal";
                trip_point = <0x46 0x16b481 0x16b481 0x1ff 0x1ff 0x3 0x2 0x50 0x1266f1 0x1266f1 0x1b3 0x1b3 0x2 0x2 0x5a 0xc44a1 0xc44a1 0x148 0x148 0x1 0x1 0x104 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff>;
                cpu_cali_a = <0x0>;
                idle_interval = <0x3e8>;
                use_virtual_thermal;
                freq_sample_period = <0x1e>;
                report_time = <0x1 0xa 0x1e 0x3c>;
                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>;
                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>;
        };

        securitykey {
                compatible = "amlogic,aml_keys";
                status = "ok";
        };

        unifykey {
                compatible = "amlogic,unifykey";
                status = "ok";
                unifykey-num = <0x6>;
                unifykey-index-0 = <0x22>;
                unifykey-index-1 = <0x23>;
                unifykey-index-2 = <0x24>;
                unifykey-index-3 = <0x25>;
                unifykey-index-4 = <0x26>;
                unifykey-index-5 = <0x27>;

                key_0 {
                        key-name = "usid";
                        key-device = "nandkey";
                        key-dataformat = "allascii";
                        key-permit = "read", "write", "del";
                        linux,phandle = <0x22>;
                        phandle = <0x22>;
                };

                key_1 {
                        key-name = "mac";
                        key-device = "nandkey";
                        key-dataformat = "hexdata";
                        key-permit = "read", "write", "del";
                        linux,phandle = <0x23>;
                        phandle = <0x23>;
                };

                key_2 {
                        key-name = "hdcp";
                        key-device = "nandkey";
                        key-dataformat = "hexdata";
                        key-permit = "read", "write", "del";
                        linux,phandle = <0x24>;
                        phandle = <0x24>;
                };

                key_3 {
                        key-name = "secure_boot_set";
                        key-device = "efusekey";
                        key-dataformat = "hexdata";
                        key-permit = "read", "write";
                        linux,phandle = <0x25>;
                        phandle = <0x25>;
                };

                key_4 {
                        key-name = "mac_bt";
                        key-device = "nandkey";
                        key-dataformat = "hexdata";
                        key-permit = "read", "write", "del";
                        linux,phandle = <0x26>;
                        phandle = <0x26>;
                };

                key_5 {
                        key-name = "mac_wifi";
                        key-device = "nandkey";
                        key-dataformat = "hexdata";
                        key-permit = "read", "write", "del";
                        linux,phandle = <0x27>;
                        phandle = <0x27>;
                };
        };

        amhdmitx {
                compatible = "amlogic,amhdmitx";
                dev_name = "amhdmitx";
                status = "ok";
                vend-data = <0x28>;
                pwr-ctrl = <0x29>;

                vend_data {
                        vendor_name = "Amlogic";
                        vendor_id = <0x0>;
                        product_desc = "M8 MBox SKTv1";
                        cec_osd_string = "MBox";
                        cec_config = <0xf>;
                        ao_cec = <0x1>;
                        linux,phandle = <0x28>;
                        phandle = <0x28>;
                };

                pwr_ctrl {
                        pwr_5v_on = [00];
                        pwr_5v_off = [00];
                        pwr_3v3_on = [00];
                        pwr_3v3_off = [00];
                        pwr_hpll_vdd_on = [00];
                        pwr_hpll_vdd_off = [00];
                        linux,phandle = <0x29>;
                        phandle = <0x29>;
                };
        };

        aml_pm {
                compatible = "amlogic,pm-m8";
                dev_name = "aml_pm_m8";
                status = "okay";
        };

        cpufreq-meson {
                compatible = "amlogic,cpufreq-meson";
                syspll_fixed;
                fixpll_target = <0x177000>;
                status = "okay";
        };

        aml_aes {
                compatible = "amlogic,aes";
                dev_name = "aml_aes";
        };

        aml_tdes {
                compatible = "amlogic,des,tdes";
                dev_name = "aml_tdes";
        };

        amlogic-watchdog {
                compatible = "amlogic,aml-wdt";
                status = "okay";
                default_timeout = <0x8>;
                reset_watchdog_method = <0x1>;
                reset_watchdog_time = <0x2>;
                shutdown_timeout = <0xa>;
                firmware_timeout = <0x6>;
                suspend_timeout = <0x6>;
        };

        gpio {
                compatible = "amlogic,m8b-gpio";
                dev_name = "gpio";
                #gpio-cells = <0x2>;
        };

        pinmux {
                compatible = "amlogic,pinmux-m8b";
                dev_name = "pinmux";
                #pinmux-cells = <0x2>;

                ao_uart {
                        amlogic,setmask = <0xa 0x1800>;
                        amlogic,pins = "GPIOAO_0", "GPIOAO_1";
                        linux,phandle = <0x3>;
                        phandle = <0x3>;
                };

                b_uart {
                        amlogic,setmask = <0x4 0x3c0>;
                        amlogic,pins = "GPIOX_16", "GPIOX_17", "GPIOX_18", "GPIOX_19";
                        linux,phandle = <0x4>;
                        phandle = <0x4>;
                };

                conf_nand_pulldown {
                        amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_15";
                        amlogic,pullup = <0x0>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0x1d>;
                        phandle = <0x1d>;
                };

                conf_nand_pullup {
                        amlogic,pins = "BOOT_8", "BOOT_10";
                        amlogic,pullup = <0x1>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0x1e>;
                        phandle = <0x1e>;
                };

                all_nand_pins {
                        amlogic,setmask = <0x2 0x7fe0000>;
                        amlogic,clrmask = <0x5 0xe 0x6 0x3f000000 0x4 0x7c000000>;
                        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_11", "BOOT_12", "BOOT_13", "BOOT_14", "BOOT_15", "BOOT_16", "BOOT_17";
                        amlogic,enable-output = <0x1>;
                        linux,phandle = <0x1f>;
                        phandle = <0x1f>;
                };

                nand_cs {
                        amlogic,setmask = <0x2 0x3000000>;
                        amlogic,clrmask = <0x7 0x80000 0x6 0x80000000>;
                        amlogic,pins = "BOOT_8", "BOOT_9";
                        linux,phandle = <0x20>;
                        phandle = <0x20>;
                };

                sdhc_b_pin {
                        amlogic,setmask = <0x2 0xfc00>;
                        amlogic,clrmask = <0x2 0xf0 0x8 0x600>;
                        amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
                };

                sdhc_c_pin {
                        amlogic,setmask = <0x6 0x3f000000>;
                        amlogic,clrmask = <0x4 0x6c000000 0x2 0x4c00000>;
                        amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_10", "BOOT_11";
                };

                sdhc_a_pin {
                        amlogic,setmask = <0x8 0x3f>;
                        amlogic,clrmask = <0x5 0x6c00>;
                        amlogic,pins = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_8", "GPIOX_9";
                };

                sdio_all_pins {
                        amlogic,setmask = <0x8 0x3f>;
                        amlogic,clrmask = <0x6 0x3f000000 0x2 0xfc00 0x5 0x6c00>;
                        amlogic,pins = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_8", "GPIOX_9";
                        amlogic,enable-output = <0x1>;
                        amlogic,pullup = <0x1>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0xa>;
                        phandle = <0xa>;
                };

                sdio_clk_cmd_pins {
                        amlogic,setmask = <0x8 0x3>;
                        amlogic,clrmask = <0x6 0x3f000000 0x2 0xfc00 0x5 0x6c00>;
                        amlogic,pins = "GPIOX_8", "GPIOX_9";
                        amlogic,enable-output = <0x1>;
                        amlogic,pullup = <0x1>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0x9>;
                        phandle = <0x9>;
                };

                sd_all_pins {
                        amlogic,setmask = <0x2 0xfc00>;
                        amlogic,clrmask = <0x6 0x3f000000 0x8 0x63f 0x2 0xf0>;
                        amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
                        amlogic,enable-output = <0x1>;
                        amlogic,pullup = <0x1>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0x6>;
                        phandle = <0x6>;
                };

                sd_1bit_pins {
                        amlogic,setmask = <0x2 0x8c00>;
                        amlogic,clrmask = <0x6 0x3f000000 0x8 0x3f 0x2 0xf0>;
                        amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
                        amlogic,enable-output = <0x1>;
                        amlogic,pullup = <0x1>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0xb>;
                        phandle = <0xb>;
                };

                sd_clk_cmd_pins {
                        amlogic,setmask = <0x2 0xc00>;
                        amlogic,clrmask = <0x6 0x3f000000 0x8 0x3f 0x2 0xf0>;
                        amlogic,pins = "CARD_2", "CARD_3";
                        amlogic,enable-output = <0x1>;
                        amlogic,pullup = <0x1>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0x5>;
                        phandle = <0x5>;
                };

                emmc_all_pins {
                        amlogic,setmask = <0x6 0xfc000000>;
                        amlogic,clrmask = <0x2 0x6c2fc00 0x8 0x3f 0x4 0x6c000000>;
                        amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_8", "BOOT_10";
                        amlogic,enable-output = <0x1>;
                        amlogic,pullup = <0x1>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0x8>;
                        phandle = <0x8>;
                };

                emmc_clk_cmd_pins {
                        amlogic,setmask = <0x6 0xc0000000>;
                        amlogic,clrmask = <0x2 0x6c2fc00 0x8 0x3f 0x7 0xc0000>;
                        amlogic,pins = "BOOT_8", "BOOT_10";
                        amlogic,enable-output = <0x1>;
                        amlogic,pullup = <0x1>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0x7>;
                        phandle = <0x7>;
                };

                sdhc_sd_clk_cmd_pins {
                        amlogic,setmask = <0x2 0x30>;
                        amlogic,clrmask = <0x5 0x7c00 0x4 0x7c000000 0x2 0xfc00 0x8 0x600>;
                        amlogic,pins = "CARD_2", "CARD_3";
                        amlogic,enable-output = <0x1>;
                        amlogic,pullup = <0x1>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0xc>;
                        phandle = <0xc>;
                };

                sdhc_sd_all_pins {
                        amlogic,setmask = <0x2 0xf0>;
                        amlogic,clrmask = <0x5 0x7c00 0x4 0x7c000000 0x2 0xfc00 0x8 0x600>;
                        amlogic,pins = "CARD_0", "CARD_1", "CARD_2", "CARD_3", "CARD_4", "CARD_5";
                        amlogic,enable-output = <0x1>;
                        amlogic,pullup = <0x1>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0xd>;
                        phandle = <0xd>;
                };

                sdhc_emmc_clk_cmd_pins {
                        amlogic,setmask = <0x7 0xc0000>;
                        amlogic,clrmask = <0x2 0x4c000f0 0x5 0x7c00 0x6 0xff000000>;
                        amlogic,pins = "BOOT_8", "BOOT_10";
                        amlogic,enable-output = <0x1>;
                        amlogic,pullup = <0x1>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0xe>;
                        phandle = <0xe>;
                };

                sdhc_emmc_all_pins {
                        amlogic,setmask = <0x4 0x70000000 0x7 0xc0000>;
                        amlogic,clrmask = <0x2 0x4c000f0 0x5 0x7c00 0x6 0xff000000>;
                        amlogic,pins = "BOOT_0", "BOOT_1", "BOOT_2", "BOOT_3", "BOOT_4", "BOOT_5", "BOOT_6", "BOOT_7", "BOOT_8", "BOOT_10";
                        amlogic,enable-output = <0x1>;
                        amlogic,pullup = <0x1>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0xf>;
                        phandle = <0xf>;
                };

                sdhc_sdio_clk_cmd_pins {
                        amlogic,setmask = <0x5 0xc00>;
                        amlogic,clrmask = <0x2 0x58000f0 0x4 0x7c000000 0x8 0x3f>;
                        amlogic,pins = "GPIOX_8", "GPIOX_9";
                        amlogic,enable-output = <0x1>;
                        amlogic,pullup = <0x1>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0x10>;
                        phandle = <0x10>;
                };

                sdhc_sdio_all_pins {
                        amlogic,setmask = <0x5 0x6c00>;
                        amlogic,clrmask = <0x2 0x58000f0 0x4 0x7c000000 0x8 0x3f>;
                        amlogic,pins = "GPIOX_0", "GPIOX_1", "GPIOX_2", "GPIOX_3", "GPIOX_8", "GPIOX_9";
                        amlogic,enable-output = <0x1>;
                        amlogic,pullup = <0x1>;
                        amlogic,pullupen = <0x1>;
                        linux,phandle = <0x11>;
                        phandle = <0x11>;
                };

                aml_cam_gpio_pins {
                        amlogic,setmask = <0x3 0x80000 0x9 0x37c>;
                        amlogic,pins = "GPIOH_9", "GPIOY_6", "GPIOY_7", "GPIOY_8", "GPIOY_9", "GPIOY_10", "GPIOY_11", "GPIOY_12", "GPIOY_13", "GPIOY_14";
                        linux,phandle = <0x17>;
                        phandle = <0x17>;
                };

                aml_cam_csi_pins {
                        amlogic,setmask = <0x3 0x80000>;
                        amlogic,pins = "GPIOH_9";
                        linux,phandle = <0x18>;
                        phandle = <0x18>;
                };

                a_i2c {
                        amlogic,setmask = <0x9 0xc0000000>;
                        amlogic,clrmask = <0x0 0x3c0300 0x6 0xc00000 0x8 0x1800000>;
                        amlogic,pins = "GPIODV_24", "GPIODV_25";
                        linux,phandle = <0x12>;
                        phandle = <0x12>;
                };

                b_i2c {
                        amlogic,setmask = <0x9 0x30000000>;
                        amlogic,clrmask = <0x0 0x480 0x6 0x300000 0x8 0x10780000>;
                        amlogic,pins = "GPIODV_26", "GPIODV_27";
                        linux,phandle = <0x13>;
                        phandle = <0x13>;
                };

                d_i2c {
                        amlogic,setmask = <0x4 0xc>;
                        amlogic,clrmask = <0x6 0x3000>;
                        amlogic,pins = "GPIOH_7", "GPIOH_8";
                        linux,phandle = <0x14>;
                        phandle = <0x14>;
                };

                remote_pin {
                        amlogic,setmask = <0xa 0x1>;
                        amlogic,pins = "GPIOAO_7";
                        linux,phandle = <0x19>;
                        phandle = <0x19>;
                };

                audio_pin {
                        amlogic,setmask = <0xa 0x78000008>;
                        amlogic,clrmask = <0xa 0x80002000>;
                        amlogic,pins = "GPIOAO_8", "GPIOAO_9", "GPIOAO_10", "GPIOAO_11", "GPIOAO_13";
                        linux,phandle = <0x16>;
                        phandle = <0x16>;
                };

                aml_spi_nor_pins {
                        amlogic,setmask = <0x5 0xf>;
                        amlogic,clrmask = <0x2 0x10380000>;
                        amlogic,pins = "BOOT_11", "BOOT_12", "BOOT_13", "BOOT_18";
                        linux,phandle = <0x1a>;
                        phandle = <0x1a>;
                };

                aml_pwm {
                        amlogic,setmask = <0x3 0x1000000>;
                        amlogic,clrmask = <0x0 0x48 0x7 0x10000020>;
                        amlogic,pins = "GPIODV_9";
                        linux,phandle = <0x15>;
                        phandle = <0x15>;
                };

                dvb_p_ts0_pins {
                        amlogic,setmask = <0x3 0x37>;
                        amlogic,clrmask = <0x5 0xc0 0x9 0x37c>;
                        amlogic,pins = "GPIOY_9", "GPIOY_10", "GPIOY_11", "GPIOY_12", "GPIOY_13", "GPIOY_14", "GPIOY_6", "GPIOY_7", "GPIOY_0", "GPIOY_1", "GPIOY_8";
                        linux,phandle = <0x2a>;
                        phandle = <0x2a>;
                };

                dvb_s_ts0_pins {
                        amlogic,setmask = <0x3 0x17>;
                        amlogic,clrmask = <0x9 0x378>;
                        amlogic,pins = "GPIOY_9", "GPIOY_0", "GPIOY_1", "GPIOY_8";
                        linux,phandle = <0x2b>;
                        phandle = <0x2b>;
                };
        };

        ethernet@0xc9410000 {
                compatible = "amlogic,meson8b-rgmii-dwmac", "snps,dwmac";
                reg = <0xc9410000 0x10000 0xc1108108 0x4>;
                interrupts = <0x0 0x8 0x1>;
                interrupt-names = "macirq";
                clocks = "clk81";
                clock-names = "stmmaceth";
        };

        meson-rng {
                compatible = "amlogic,meson-rng";
                status = "ok";
        };

        dvb {
                compatible = "amlogic,dvb";
                ts0 = "parallel";
                ts0_control = <0x0>;
                ts0_invert = <0x0>;
                pinctrl-names = "p_ts0", "s_ts0";
                pinctrl-0 = <0x2a>;
                pinctrl-1 = <0x2b>;
        };

        dvbfe {
                compatible = "amlogic,dvbfe";
                dtv_demod0 = "Si2168";
                dtv_demod0_i2c_adap_id = <0x4>;
                dtv_demod0_i2c_addr = <0x64>;
                dtv_demod0_reset_value = <0x0>;
                dtv_demod0_reset_gpio = "GPIOY_3";
                fe0_dtv_demod = <0x0>;
                fe0_ts = <0x0>;
                fe0_dev = <0x0>;
        };
};
真的是大神啊
回复

使用道具 举报

支持下~~~等大神动手,现在都在凑合用,好多小毛病不完美
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-24 01:33

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表