Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
- Loading branch information
1 parent
d96cdf8
commit 57be275
Showing
4 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -441,6 +441,7 @@ soc () { | |
|
||
dir 'soc/ti/panda' | ||
dir 'soc/stm32' | ||
dir 'soc/stm32_wifi' | ||
} | ||
|
||
### | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
patches/soc/stm32_wifi/0001-stm32mp157c-dk2.dts-add-WiFi.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
From 4dc334f8d20f245be794f706be4215a1fa09c426 Mon Sep 17 00:00:00 2001 | ||
From: Robert Nelson <robertcnelson@gmail.com> | ||
Date: Mon, 3 Feb 2020 10:14:36 -0600 | ||
Subject: [PATCH] stm32mp157c-dk2.dts: add WiFi | ||
|
||
Signed-off-by: Robert Nelson <robertcnelson@gmail.com> | ||
--- | ||
arch/arm/boot/dts/stm32mp157c-dk2.dts | 28 +++++++++++++++++++++++++++ | ||
1 file changed, 28 insertions(+) | ||
|
||
diff --git a/arch/arm/boot/dts/stm32mp157c-dk2.dts b/arch/arm/boot/dts/stm32mp157c-dk2.dts | ||
index 7985b80967ca..51cd0beaf904 100644 | ||
--- a/arch/arm/boot/dts/stm32mp157c-dk2.dts | ||
+++ b/arch/arm/boot/dts/stm32mp157c-dk2.dts | ||
@@ -24,6 +24,11 @@ aliases { | ||
chosen { | ||
stdout-path = "serial0:115200n8"; | ||
}; | ||
+ | ||
+ wifi_pwrseq: wifi-pwrseq { | ||
+ compatible = "mmc-pwrseq-simple"; | ||
+ reset-gpios = <&gpioh 4 GPIO_ACTIVE_LOW>; | ||
+ }; | ||
}; | ||
|
||
&dsi { | ||
@@ -92,3 +97,26 @@ ltdc_ep1_out: endpoint@1 { | ||
}; | ||
}; | ||
}; | ||
+ | ||
+/* Wifi */ | ||
+&sdmmc2 { | ||
+ arm,primecell-periphid = <0x10153180>; | ||
+ pinctrl-names = "default", "opendrain", "sleep"; | ||
+ pinctrl-0 = <&sdmmc2_b4_pins_b>; | ||
+ pinctrl-1 = <&sdmmc2_b4_od_pins_b>; | ||
+ pinctrl-2 = <&sdmmc2_b4_sleep_pins_a>; | ||
+ non-removable; | ||
+ st,neg-edge; | ||
+ bus-width = <4>; | ||
+ vmmc-supply = <&v3v3>; | ||
+ mmc-pwrseq = <&wifi_pwrseq>; | ||
+ #address-cells = <1>; | ||
+ #size-cells = <0>; | ||
+ keep-power-in-suspend; | ||
+ status = "okay"; | ||
+ | ||
+ brcmf: bcrmf@1 { | ||
+ reg = <1>; | ||
+ compatible = "brcm,bcm4329-fmac"; | ||
+ }; | ||
+}; | ||
-- | ||
2.24.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters