Commit da1fe323 authored by Rosen Penev's avatar Rosen Penev Committed by Thomas Bogendoerfer
Browse files

mips: dts: qca: add wmac support



Now that OF ahb support was added to the ath9k driver, we can use it to
enable and use the SoC wireless found in these chipsets.

Signed-off-by: default avatarRosen Penev <rosenp@gmail.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent f973fe65
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -156,6 +156,15 @@ spi: spi@1f000000 {
			#address-cells = <1>;
			#size-cells = <0>;
		};

		wifi: wifi@180c0000 {
			compatible = "qca,ar9130-wifi";
			reg = <0x180c0000 0x230000>;

			interrupts = <2>;

			status = "disabled";
		};
	};

	usb_phy: usb-phy {
+4 −0
Original line number Diff line number Diff line
@@ -108,3 +108,7 @@ partition@2 {
		};
	};
};

&wifi {
	status = "okay";
};
+9 −0
Original line number Diff line number Diff line
@@ -285,6 +285,15 @@ spi: spi@1f000000 {

			status = "disabled";
		};

		wifi: wifi@18100000 {
			compatible = "qca,ar9330-wifi";
			reg = <0x18100000 0x20000>;

			interrupts = <2>;

			status = "disabled";
		};
	};

	usb_phy: usb-phy {
+4 −0
Original line number Diff line number Diff line
@@ -97,3 +97,7 @@ &phy_port0 {
&phy_port4 {
	status = "okay";
};

&wifi {
	status = "okay";
};
+4 −0
Original line number Diff line number Diff line
@@ -98,3 +98,7 @@ spiflash: w25q128@0 {
		reg = <0>;
	};
};

&wifi {
	status = "okay";
};
Loading