ARM: dts: exynos-artik5: add support for wlan
Subsystems (2)
PATCH v3 1/1 ARM: dts: exynos-artik5: add support for wlan
On the Artik520 module, there's a bcm4354 attached to mshc_1. Enable it, and turn on the regulator used for it, so that both wifi & bluetooth work.
Verified to work on the Artik 520 evaluation board.
v2: accidentally sent out v1
v3: non-removable instead of broken-cd, alphabetical order, formatting
--- arch/arm/boot/dts/exynos3250-artik5.dtsi | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+)
arch/arm/boot/dts/exynos3250-artik5.dtsi +36 -0
@@ -245,6 +245,7 @@ regulator-name = "VLDO23_1.8V"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; }; ldo24_reg: LDO24 {
@@ -316,6 +317,41 @@ status = "okay"; }; +&mshc_1 { + cap-sd-highspeed; + cap-sdio-irq; + disable-wp; + non-removable; + keep-power-in-suspend; + fifo-depth = <0x40>; + vqmmc-supply = <&ldo11_reg>; + /* + * Voltage negotiation is broken for the SDIO periph so we + * can't actually set the voltage here. + * vmmc-supply = <&ldo23_reg>; + */ + card-detect-delay = <500>; + clock-frequency = <100000000>; + max-frequency = <100000000>; + samsung,dw-mshc-ciu-div = <3>; + samsung,dw-mshc-sdr-timing = <0 1>; + samsung,dw-mshc-ddr-timing = <1 2>; + pinctrl-names = "default"; + pinctrl-0 = <&sd1_cmd &sd1_clk &sd1_bus1 &sd1_bus4 &wlanen>; + bus-width = <4>; + status = "okay"; +}; + +&pinctrl_1 { + wlanen: wlanen { + samsung,pins = "gpx2-3"; + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; + samsung,pin-drv = <EXYNOS4_PIN_DRV_LV3>; + samsung,pin-val = <1>; + }; +}; + &rtc { clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>; clock-names = "rtc", "rtc_src";
Signature · 1 line
2.14.1
Krzysztof Kozlowski
maintainerPATCH v3 1/1 ARM: dts: exynos-artik5: add support for wlan
Quoted 8 lines · Michael Lyle
On the Artik520 module, there's a bcm4354 attached to
mshc_1. Enable it, and turn on the regulator used for it, so that both wifi & bluetooth work.Verified to work on the Artik 520 evaluation board.
v2: accidentally sent out v1
v3: non-removable instead of broken-cd, alphabetical order, formatting
Changelog should go after --- separator so it would not end in commit.
I'll fix it during applying. Looks good to me. I'll take it after merge window.
Best regards,
Krzysztof
Quoted 63 lines
Signed-off-by Michael Lyle <[email protected]>--- arch/arm/boot/dts/exynos3250-artik5.dtsi | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+)arch/arm/boot/dts/exynos3250-artik5.dtsi +36
-0@@ -245,6 +245,7 @@ regulator-name = "VLDO23_1.8V"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; }; ldo24_reg: LDO24 {@@ -316,6 +317,41 @@ status = "okay"; }; +&mshc_1 { + cap-sd-highspeed; + cap-sdio-irq; + disable-wp; + non-removable; + keep-power-in-suspend; + fifo-depth = <0x40>; + vqmmc-supply = <&ldo11_reg>; + /* + * Voltage negotiation is broken for the SDIO periph so we + * can't actually set the voltage here. + * vmmc-supply = <&ldo23_reg>; + */ + card-detect-delay = <500>; + clock-frequency = <100000000>; + max-frequency = <100000000>; + samsung,dw-mshc-ciu-div = <3>; + samsung,dw-mshc-sdr-timing = <0 1>; + samsung,dw-mshc-ddr-timing = <1 2>; + pinctrl-names = "default"; + pinctrl-0 = <&sd1_cmd &sd1_clk &sd1_bus1 &sd1_bus4 &wlanen>; + bus-width = <4>; + status = "okay"; +}; + +&pinctrl_1 { + wlanen: wlanen { + samsung,pins = "gpx2-3"; + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; + samsung,pin-drv = <EXYNOS4_PIN_DRV_LV3>; + samsung,pin-val = <1>; + }; +}; + &rtc { clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>; clock-names = "rtc", "rtc_src";Signature · 1 line
2.14.1
PATCH v3 1/1 ARM: dts: exynos-artik5: add support for wlan
Hi Krzysztof ---
Excellent, thank you for all your help.
Mike
Quoted 81 lines · Krzysztof Kozlowski
Quoted 8 lines · Michael Lyle
On the Artik520 module, there's a bcm4354 attached to
mshc_1. Enable it, and turn on the regulator used for it, so that both wifi & bluetooth work.Verified to work on the Artik 520 evaluation board.
v2: accidentally sent out v1
v3: non-removable instead of broken-cd, alphabetical order, formattingChangelog should go after --- separator so it would not end in commit.
I'll fix it during applying. Looks good to me. I'll take it after merge window.
Best regards,
KrzysztofQuoted 63 lines
Signed-off-by Michael Lyle <[email protected]>--- arch/arm/boot/dts/exynos3250-artik5.dtsi | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+)arch/arm/boot/dts/exynos3250-artik5.dtsi +36
-1@@ -245,6 +245,7 @@ regulator-name = "VLDO23_1.8V"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; }; ldo24_reg: LDO24 {@@ -316,6 +317,41 @@ status = "okay"; }; +&mshc_1 { + cap-sd-highspeed; + cap-sdio-irq; + disable-wp; + non-removable; + keep-power-in-suspend; + fifo-depth = <0x40>; + vqmmc-supply = <&ldo11_reg>; + /* + * Voltage negotiation is broken for the SDIO periph so we + * can't actually set the voltage here. + * vmmc-supply = <&ldo23_reg>; + */ + card-detect-delay = <500>; + clock-frequency = <100000000>; + max-frequency = <100000000>; + samsung,dw-mshc-ciu-div = <3>; + samsung,dw-mshc-sdr-timing = <0 1>; + samsung,dw-mshc-ddr-timing = <1 2>; + pinctrl-names = "default"; + pinctrl-0 = <&sd1_cmd &sd1_clk &sd1_bus1 &sd1_bus4 &wlanen>; + bus-width = <4>; + status = "okay"; +}; + +&pinctrl_1 { + wlanen: wlanen { + samsung,pins = "gpx2-3"; + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; + samsung,pin-drv = <EXYNOS4_PIN_DRV_LV3>; + samsung,pin-val = <1>; + }; +}; + &rtc { clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>; clock-names = "rtc", "rtc_src"; --2.14.1
PATCH v3 1/1 ARM: dts: exynos-artik5: add support for wlan
In reply to Michael LyleQuoted 6 lines · Michael Lyle
On the Artik520 module, there's a bcm4354 attached to
mshc_1. Enable it, and turn on the regulator used for it, so that both wifi & bluetooth work.Verified to work on the Artik 520 evaluation board.
Quoted 8 lines
v2: accidentally sent out v1
v3: non-removable instead of broken-cd, alphabetical order, formattingSigned-off-by Michael Lyle <[email protected]>--- arch/arm/boot/dts/exynos3250-artik5.dtsi | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+)
Thanks, applied.
Best regards,
Krzysztof