diff mbox series

[1/4] ARM: dts: exynos: Enable WLAN support for the UniversalC210 board

Message ID 20200326094626.28308-2-m.szyprowski@samsung.com (mailing list archive)
State Accepted
Headers show
Series Enable Broadcom SDIO WLAN for the Exynos boards | expand

Commit Message

Marek Szyprowski March 26, 2020, 9:46 a.m. UTC
Add a node for BCM4330/2 SDIO chip on SDHCI bus #3 and the required MMC
power sequence node for the Exynos4210-based UniversalC210 board.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
---
 .../boot/dts/exynos4210-universal_c210.dts    | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)

Comments

Krzysztof Kozlowski March 27, 2020, 12:21 p.m. UTC | #1
On Thu, Mar 26, 2020 at 10:46:23AM +0100, Marek Szyprowski wrote:
> Add a node for BCM4330/2 SDIO chip on SDHCI bus #3 and the required MMC
> power sequence node for the Exynos4210-based UniversalC210 board.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
>  .../boot/dts/exynos4210-universal_c210.dts    | 28 +++++++++++++++++++

Thanks, applied (for late pull).

Best regards,
Krzysztof
Krzysztof Kozlowski March 27, 2020, 12:51 p.m. UTC | #2
On Thu, Mar 26, 2020 at 10:46:23AM +0100, Marek Szyprowski wrote:
> Add a node for BCM4330/2 SDIO chip on SDHCI bus #3 and the required MMC
> power sequence node for the Exynos4210-based UniversalC210 board.
> 
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
>  .../boot/dts/exynos4210-universal_c210.dts    | 28 +++++++++++++++++++

... and dropped. You have multiple checkpatch errors. Please fix them.

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/exynos4210-universal_c210.dts b/arch/arm/boot/dts/exynos4210-universal_c210.dts
index 9dda6bdb9253..c78423a2d10f 100644
--- a/arch/arm/boot/dts/exynos4210-universal_c210.dts
+++ b/arch/arm/boot/dts/exynos4210-universal_c210.dts
@@ -50,6 +50,11 @@ 
 		enable-active-high;
 	};
 
+	wlan_pwrseq: sdhci3-pwrseq {
+		compatible = "mmc-pwrseq-simple";
+		reset-gpios = <&gpe3 1 GPIO_ACTIVE_LOW>;
+	};
+
 	gpio-keys {
 		compatible = "gpio-keys";
 
@@ -563,6 +568,29 @@ 
 	status = "okay";
 };
 
+&sdhci_3 {
+        status = "okay";
+
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        non-removable;
+        bus-width = <4>;
+        mmc-pwrseq = <&wlan_pwrseq>;
+        vmmc-supply = <&ldo5_reg>;
+
+        pinctrl-names = "default";
+        pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <&sd3_bus4>;
+
+        brcmf: wifi@1 {
+                compatible = "brcm,bcm4330-fmac";
+                reg = <1>;
+                interrupt-parent = <&gpx2>;
+                interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
+                interrupt-names = "host-wake";
+        };
+};
+
 &serial_0 {
 	status = "okay";
 	/delete-property/dmas;