导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    aw869a wifi模块没有调通,insmod 报错。请教各位大佬,我是芯片是t113s3

    T Series
    1
    1
    59
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • A
      andy123 LV 3 最后由 编辑

      18f5e667-2579-4e13-bdb1-ebe072af5395-image.png
      b922a3ee-7ab8-43db-950e-63f56bf938b1-image.png
      设备树代码

      &soc {
      	leds {
                      compatible = "gpio-leds";
      				status = "okay";
                      gpio_pb6 {
                              label = "GPIO_PB6";
                              gpios = <&pio PB 6 GPIO_ACTIVE_HIGH>; /* PB6 */
      						        // 初始状态:设为on(触发模式需要LED先开启)
             					default-state = "on";
             					// 核心:指定默认触发模式为heartbeat
             					linux,default-trigger = "heartbeat";
         						 };
      
          	};
      	card0_boot_para@2 {
      		/*
      		 * Avoid dtc compiling warnings.
      		 * @TODO: Developer should modify this to the actual value
      		 */
      		reg = <0x0 0x2 0x0 0x0>;
      		device_type = "card0_boot_para";
      		card_ctrl = <0x0>;
      		card_high_speed = <0x1>;
      		card_line = <0x4>;
      		pinctrl-0 = <&sdc0_pins_a>;
      	};
      
      	card2_boot_para@3 {
      		/*
      		 * Avoid dtc compiling warnings.
      		 * @TODO: Developer should modify this to the actual value
      		 */
      		reg = <0x0 0x3 0x0 0x0>;
      		device_type = "card2_boot_para";
      		card_ctrl = <0x2>;
      		card_high_speed = <0x1>;
      		card_line = <0x4>;
      		pinctrl-0 = <&sdc2_pins_a>;
      		/*pinctrl-0 = <&sdc0_pins_a>;*/
      		/*sdc_ex_dly_used = <0x2>;*/
      		sdc_io_1v8 = <0x1>;
      		/*sdc_type = "tm4";*/
      		sdc_tm4_hs200_max_freq = <150>;
      		sdc_tm4_hs400_max_freq = <100>;
      		sdc_ex_dly_used = <2>;
      		/*sdc_tm4_win_th = <8>;*/
      		/*sdc_dis_host_caps = <0x180>;*/
      	};
      
      	rfkill: rfkill@0 {
      		compatible    = "allwinner,sunxi-rfkill";
      		chip_en;
      		power_en;
      		pinctrl-0 ;
      		pinctrl-names;
      		status        = "okay";
      
      		wlan: wlan@0 {
      			compatible    = "allwinner,sunxi-wlan";
      			clock-names ;
      			clocks;
      			wlan_power = "axp2202‑aldo3", "axp2202‑bldo1"; /* vcc‑pl/vcc‑pg/vcc‑pm */
          	 	// wlan_power_vol= <3300000>, <1800000>;
      			wlan_busnum    = <0x1>;
      			// wlan_regon    = <&pio PE 3 GPIO_ACTIVE_HIGH>;
      			wlan_hostwake  = <&pio PG 10 GPIO_ACTIVE_HIGH>;
      			/*wlan_power    = "VCC-3V3";*/
      			wlan_power_vol = <3300000>;
      			/*interrupt-parent = <&pio>;
      			interrupts = < PG 10 IRQ_TYPE_LEVEL_HIGH>;*/
      
      			chip_en;                              /*启用模块*/
          		power_en;                             /*启用 Wi-Fi 电源*/
          		status        = "okay";               /*启用这个节点*/
      			wakeup-source;
      
      		};
      
      		bt: bt@0 {
      			compatible    = "allwinner,sunxi-bt";
      			clock-names ;
      			clocks ;
      			/*bt_power_num = <0x01>;*/
      			/*bt_power      = "axp803-dldo1";*/
      			/*bt_io_regulator = "axp803-dldo1";*/
      			/*bt_io_vol = <3300000>;*/
      			bt_power_vol = <3300000>;
      			bt_power = "axp2202‑aldo3", "axp2202‑bldo1"; /* vcc‑pl/vcc‑pg/vcc‑pm */
      			// bt_power_vol= <3300000>, <1800000>;
      			// bt_rst_n      = <&pio PE 2 GPIO_ACTIVE_LOW>;
      			status        = "okay";
      		};
      	};
      
      	btlpm: btlpm@0 {
      		compatible  = "allwinner,sunxi-btlpm";
      		uart_index  = <0x1>;
      		// bt_wake     = <&pio PE 1 GPIO_ACTIVE_HIGH>;
      		bt_hostwake = <&pio PG 11 GPIO_ACTIVE_HIGH>;
      		wakeup-source;
      		status      = "okay";
      	};
      
      	addr_mgt: addr_mgt@0 {
      		compatible     = "allwinner,sunxi-addr_mgt";
      		type_addr_wifi = <0x0>;
      		type_addr_bt   = <0x0>;
      		type_addr_eth  = <0x0>;
      		status         = "okay";
      	};
      };
      
      1 条回复 最后回复 回复 引用 分享 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策