Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: exynos: Add support for wlan to Artik 5

On the Artik 520 module, there is a bcm4354 attached to mshc_1. Enable
it and turn on the regulator used for it, so that both WiFi & Bluetooth
will work.

Verified to work on the Artik 520 evaluation board.

Signed-off-by: Michael Lyle <mlyle@lyle.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

authored by

Michael Lyle and committed by
Krzysztof Kozlowski
e9594acf 7928b2cb

+36
+36
arch/arm/boot/dts/exynos3250-artik5.dtsi
··· 245 245 regulator-name = "VLDO23_1.8V"; 246 246 regulator-min-microvolt = <1800000>; 247 247 regulator-max-microvolt = <1800000>; 248 + regulator-always-on; 248 249 }; 249 250 250 251 ldo24_reg: LDO24 { ··· 315 314 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>; 316 315 bus-width = <8>; 317 316 status = "okay"; 317 + }; 318 + 319 + &mshc_1 { 320 + cap-sd-highspeed; 321 + cap-sdio-irq; 322 + disable-wp; 323 + non-removable; 324 + keep-power-in-suspend; 325 + fifo-depth = <0x40>; 326 + vqmmc-supply = <&ldo11_reg>; 327 + /* 328 + * Voltage negotiation is broken for the SDIO periph so we 329 + * can't actually set the voltage here. 330 + * vmmc-supply = <&ldo23_reg>; 331 + */ 332 + card-detect-delay = <500>; 333 + clock-frequency = <100000000>; 334 + max-frequency = <100000000>; 335 + samsung,dw-mshc-ciu-div = <3>; 336 + samsung,dw-mshc-sdr-timing = <0 1>; 337 + samsung,dw-mshc-ddr-timing = <1 2>; 338 + pinctrl-names = "default"; 339 + pinctrl-0 = <&sd1_cmd &sd1_clk &sd1_bus1 &sd1_bus4 &wlanen>; 340 + bus-width = <4>; 341 + status = "okay"; 342 + }; 343 + 344 + &pinctrl_1 { 345 + wlanen: wlanen { 346 + samsung,pins = "gpx2-3"; 347 + samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 348 + samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 349 + samsung,pin-drv = <EXYNOS4_PIN_DRV_LV3>; 350 + samsung,pin-val = <1>; 351 + }; 318 352 }; 319 353 320 354 &rtc {