[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230716220644.22158-2-markuss.broks@gmail.com>
Date: Mon, 17 Jul 2023 01:05:02 +0300
From: Markuss Broks <markuss.broks@...il.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: Markuss Broks <markuss.broks@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 1/7] ARM: dts: exynos: k3g: Add WiFi card support
This device has Broadcom BCM4354 WiFi card installed,
which uses SDIO interface.
Signed-off-by: Markuss Broks <markuss.broks@...il.com>
---
arch/arm/boot/dts/exynos5422-samsung-k3g.dts | 29 ++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5422-samsung-k3g.dts b/arch/arm/boot/dts/exynos5422-samsung-k3g.dts
index c35261a338ff..1a11a6993ba7 100644
--- a/arch/arm/boot/dts/exynos5422-samsung-k3g.dts
+++ b/arch/arm/boot/dts/exynos5422-samsung-k3g.dts
@@ -48,6 +48,13 @@ tsp_vdd: regulator-tsp-vdd-en {
gpio = <&gpy3 5 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
+
+ wlan_pwrseq: wlan-pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&gpy7 7 GPIO_ACTIVE_LOW>; /* WIFI_EN */
+ clocks = <&s2mps11_osc S2MPS11_CLK_BT>; /* Used not only for Bluetooth */
+ clock-names = "ext_clock";
+ };
};
&cpu0 {
@@ -616,6 +623,23 @@ &mmc_0 {
bus-width = <8>;
};
+/* WiFi SDIO module */
+&mmc_1 {
+ status = "okay";
+ cap-sdio-irq;
+ cap-sd-highspeed;
+ non-removable;
+ samsung,dw-mshc-ciu-div = <1>;
+ samsung,dw-mshc-sdr-timing = <0 1>;
+ samsung,dw-mshc-ddr-timing = <0 2>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_int>, <&sd1_bus1>,
+ <&sd1_bus4>, <&wlan_reset>;
+ bus-width = <4>;
+ vqmmc-supply = <&ldo3_reg>;
+ mmc-pwrseq = <&wlan_pwrseq>;
+};
+
&pinctrl_0 {
s2mps11_irq: s2mps11-irq-pins {
samsung,pins = "gpx0-7";
@@ -628,6 +652,11 @@ touch_irq: touch-irq-pins {
samsung,pins = "gpx1-6";
samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
};
+
+ wlan_reset: wlan-reset {
+ samsung,pins = "gpy7-7";
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+ };
};
&rtc {
--
2.41.0
Powered by blists - more mailing lists