Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9594acf authored by Michael Lyle's avatar Michael Lyle Committed by Krzysztof Kozlowski
Browse files

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: default avatarMichael Lyle <mlyle@lyle.org>
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 7928b2cb
Loading
Loading
Loading
Loading
+36 −0
Original line number Original line Diff line number Diff line
@@ -245,6 +245,7 @@
				regulator-name = "VLDO23_1.8V";
				regulator-name = "VLDO23_1.8V";
				regulator-min-microvolt = <1800000>;
				regulator-min-microvolt = <1800000>;
				regulator-max-microvolt = <1800000>;
				regulator-max-microvolt = <1800000>;
				regulator-always-on;
			};
			};


			ldo24_reg: LDO24 {
			ldo24_reg: LDO24 {
@@ -316,6 +317,41 @@
	status = "okay";
	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 {
&rtc {
	clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
	clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
	clock-names = "rtc", "rtc_src";
	clock-names = "rtc", "rtc_src";