ls1088 dts configuration for qca9984

cancel
Showing results for 
Search instead for 
Did you mean: 

ls1088 dts configuration for qca9984

Jump to solution
74 Views
Contributor II

Hi everyone,

I want to use wifi module(qca9984) over pcie. But i dont understand how to add it to device tree. I followed the https://elixir.bootlin.com/linux/v5.9-rc4/source/Documentation/devicetree/bindings/net/wireless/qcom... dts bindings but failed when pratice.

i open this configs in linux : 

CONFIG_PCI=y

CONFIG_PICEPORTBUS=y

CONFIG_PCI_MSI:y

CONFIG_PCI_HOST_GENERIC:y

CONFIG_PCI_LAYERSCAPE:y

CONFIG_ATH10K:y

CONFIG_ATH10K_PCI:y

 

 

include "fsl-ls1088a.dtsi"

/ {
	model = "LS1088A RDB Board";
	compatible = "fsl,ls1088a-rdb", "fsl,ls1088a";

	pcie@3400000{
		status = "okay";
		pcie@0 {
			wifi@0,0 {
				pinctrl-names = "default";
				compatible = "qcom,ath10k";
				reg = <0 0 0>;
				qcom,ath10k-calibration-data = [00];
			};
		};
	};
	...

 

uboot log attached.

0 Kudos
1 Solution
66 Views
NXP TechSupport
NXP TechSupport

Device Tree node is required for the devices that cannot be discovered automatically, e.g. SoC integrated peripherals or devices connected via a simple bus.  PCI is a plug-and-play bus which has special provisions for device discovery. For this reason, PCI(e) connected devices normally do not need to be declared in the Device Tree at all. If your device cannot be discovered using standard PCIe procedures, which is a rare case, consult at the device manufacturer ad/or the driver maintainer for required Device Tree node properties.

 


Have a great day,
Platon

 

View solution in original post

0 Kudos
1 Reply
67 Views
NXP TechSupport
NXP TechSupport

Device Tree node is required for the devices that cannot be discovered automatically, e.g. SoC integrated peripherals or devices connected via a simple bus.  PCI is a plug-and-play bus which has special provisions for device discovery. For this reason, PCI(e) connected devices normally do not need to be declared in the Device Tree at all. If your device cannot be discovered using standard PCIe procedures, which is a rare case, consult at the device manufacturer ad/or the driver maintainer for required Device Tree node properties.

 


Have a great day,
Platon

 

View solution in original post

0 Kudos