mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
MIPS: CI20: DTS: Add IW8103 Wifi + bluetooth
Add IW8103 Wifi + bluetooth module to device tree and related power domain. Signed-off-by: Alexandre GRIVEAUX <agriveaux@deutnet.info> Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: robh+dt@kernel.org Cc: mark.rutland@arm.com Cc: ralf@linux-mips.org Cc: jhogan@kernel.org Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: devicetree@vger.kernel.org
This commit is contained in:
parent
73f2b94047
commit
948f2708f9
1 changed files with 39 additions and 0 deletions
|
@ -31,6 +31,13 @@ eth0_power: fixedregulator@0 {
|
||||||
gpio = <&gpb 25 GPIO_ACTIVE_LOW>;
|
gpio = <&gpb 25 GPIO_ACTIVE_LOW>;
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wlan0_power: fixedregulator@1 {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "wlan0_power";
|
||||||
|
gpio = <&gpb 19 GPIO_ACTIVE_LOW>;
|
||||||
|
enable-active-high;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&ext {
|
&ext {
|
||||||
|
@ -54,9 +61,18 @@ &mmc1 {
|
||||||
|
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
max-frequency = <50000000>;
|
max-frequency = <50000000>;
|
||||||
|
non-removable;
|
||||||
|
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pins_mmc1>;
|
pinctrl-0 = <&pins_mmc1>;
|
||||||
|
|
||||||
|
brcmf: wifi@1 {
|
||||||
|
/* reg = <4>;*/
|
||||||
|
compatible = "brcm,bcm4330-fmac";
|
||||||
|
vcc-supply = <&wlan0_power>;
|
||||||
|
device-wakeup-gpios = <&gpd 9 GPIO_ACTIVE_HIGH>;
|
||||||
|
shutdown-gpios = <&gpf 7 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&uart0 {
|
&uart0 {
|
||||||
|
@ -73,6 +89,23 @@ &uart1 {
|
||||||
pinctrl-0 = <&pins_uart1>;
|
pinctrl-0 = <&pins_uart1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&uart2 {
|
||||||
|
status = "okay";
|
||||||
|
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pins_uart2>;
|
||||||
|
uart-has-rtscts;
|
||||||
|
|
||||||
|
bluetooth {
|
||||||
|
compatible = "brcm,bcm4330-bt";
|
||||||
|
reset-gpios = <&gpf 8 GPIO_ACTIVE_HIGH>;
|
||||||
|
vcc-supply = <&wlan0_power>;
|
||||||
|
device-wakeup-gpios = <&gpf 5 GPIO_ACTIVE_HIGH>;
|
||||||
|
host-wakeup-gpios = <&gpf 6 GPIO_ACTIVE_HIGH>;
|
||||||
|
shutdown-gpios = <&gpf 4 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&uart3 {
|
&uart3 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
@ -314,6 +347,12 @@ pins_uart1: uart1 {
|
||||||
bias-disable;
|
bias-disable;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pins_uart2: uart2 {
|
||||||
|
function = "uart2";
|
||||||
|
groups = "uart2-data", "uart2-hwflow";
|
||||||
|
bias-disable;
|
||||||
|
};
|
||||||
|
|
||||||
pins_uart3: uart3 {
|
pins_uart3: uart3 {
|
||||||
function = "uart3";
|
function = "uart3";
|
||||||
groups = "uart3-data", "uart3-hwflow";
|
groups = "uart3-data", "uart3-hwflow";
|
||||||
|
|
Loading…
Reference in a new issue