This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3301: cc33xx driver probe

Part Number: CC3301
Other Parts Discussed in Thread: AM62A3-Q1, CC3300, CC3351, CC3350

Tool/software:

Once the driver is compiled, will it load automatically based on compatibility string from device tree? or i have to load it manually?

  • The firmware gets automatically downloaded so the user does not need to load it manually. For a reference of the device tree, see below:

    &sdhci2 {
    	status = "okay";
        bootph-all;
    	vmmc-supply = <&wlan_en>;
    	pinctrl-names = "default";
    	pinctrl-0 = <&main_mmc2_pins_default>;
    	bus-width = <4>;
    	non-removable;
    	ti,fails-without-test-cd;
    	cap-power-off-card;
    	keep-power-in-suspend;
    	ti,driver-strength-ohm = <50>;
    
    	#address-cells = <1>;
    	#size-cells = <0>;
    	wlcore: wlcore@2 {
    		compatible = "ti,cc3301";
    		reg = <2>;
    		pinctrl-names = "default";
    		pinctrl-0 = <&main_wlirq_pins_default>;
    		interrupt-parent = <&main_gpio0>;
    		interrupts = <72 IRQ_TYPE_EDGE_FALLING>;
    	};
    };

  • will the driver recognize "ti,cc3301"?

    I can see it only has "ti,cc33xx" in sdio.c file.

    And also in my case driver is not loading automatically. If I load manually also, there is no log.

    I am using AM62A3-Q1 processor.

  • Hi Sathiya,

    Are you using a custom board or the AM62A-SK? 

    "ti,cc33xx" would detect all cc33xx variants (cc3300, cc3301, cc3350, cc3351). 

    Can you please share your entire kernel boot logs and DTS for review?