summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Christ <s.christ@phytec.de>2016-02-25 10:50:32 +0100
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2016-02-26 09:34:42 +0100
commit1095c0564d4eef5cd1d29e62590aa810d0effe87 (patch)
treec2cc9a198433663e050b21b3db1dd547d84d1a57
parentbcaea0431d1281b770f448f5d20c01cea5a8bb73 (diff)
downloadmeta-phytec-1095c0564d4eef5cd1d29e62590aa810d0effe87.tar.bz2
meta-phytec-1095c0564d4eef5cd1d29e62590aa810d0effe87.zip
barebox: imx6: env: add PEB-WLBT-01 (wifi) support
Add support for expansion board PEB-WLBT-01 for phyBOARD-MIRA-i.MX6 to barebox environment Signed-off-by: Stefan Christ <s.christ@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--conf/machine/phyboard-mira-imx6-3.conf2
-rw-r--r--conf/machine/phyboard-mira-imx6-4.conf2
-rw-r--r--recipes-bsp/barebox/env-2015.11.0-phy1/mx6/commonenv/expansions/imx6qdl-phytec-peb-wlbt-013
-rw-r--r--recipes-bsp/barebox/env-2015.11.0-phy1/phyboard-mira-imx6/boardenv/config-expansions1
4 files changed, 7 insertions, 1 deletions
diff --git a/conf/machine/phyboard-mira-imx6-3.conf b/conf/machine/phyboard-mira-imx6-3.conf
index 70858df..09a93ec 100644
--- a/conf/machine/phyboard-mira-imx6-3.conf
+++ b/conf/machine/phyboard-mira-imx6-3.conf
@@ -14,6 +14,6 @@ KERNEL_DEVICETREE = "imx6q-phytec-mira-rdk-nand.dtb"
# Barebox Config
BAREBOX_BIN = "images/barebox-phytec-phycore-imx6q-som-nand-1gib.img"
-MACHINE_FEATURES += "touchscreen pci can"
+MACHINE_FEATURES += "touchscreen pci can wlan"
SERIAL_CONSOLES = "115200;ttymxc1"
diff --git a/conf/machine/phyboard-mira-imx6-4.conf b/conf/machine/phyboard-mira-imx6-4.conf
index 6e4fc8b..e1e706d 100644
--- a/conf/machine/phyboard-mira-imx6-4.conf
+++ b/conf/machine/phyboard-mira-imx6-4.conf
@@ -14,4 +14,6 @@ KERNEL_DEVICETREE = "imx6dl-phytec-mira-rdk-nand.dtb"
# Barebox Config
BAREBOX_BIN = "images/barebox-phytec-phycore-imx6dl-som-nand-256mb.img"
+MACHINE_FEATURES += "wlan"
+
SERIAL_CONSOLES = "115200;ttymxc1"
diff --git a/recipes-bsp/barebox/env-2015.11.0-phy1/mx6/commonenv/expansions/imx6qdl-phytec-peb-wlbt-01 b/recipes-bsp/barebox/env-2015.11.0-phy1/mx6/commonenv/expansions/imx6qdl-phytec-peb-wlbt-01
new file mode 100644
index 0000000..e73932d
--- /dev/null
+++ b/recipes-bsp/barebox/env-2015.11.0-phy1/mx6/commonenv/expansions/imx6qdl-phytec-peb-wlbt-01
@@ -0,0 +1,3 @@
+#!/bin/sh
+of_enable_node /soc/aips-bus@02100000/usdhc@02198000
+of_enable_node /regulators/regulator@7
diff --git a/recipes-bsp/barebox/env-2015.11.0-phy1/phyboard-mira-imx6/boardenv/config-expansions b/recipes-bsp/barebox/env-2015.11.0-phy1/phyboard-mira-imx6/boardenv/config-expansions
index 79375ff..e89c5fb 100644
--- a/recipes-bsp/barebox/env-2015.11.0-phy1/phyboard-mira-imx6/boardenv/config-expansions
+++ b/recipes-bsp/barebox/env-2015.11.0-phy1/phyboard-mira-imx6/boardenv/config-expansions
@@ -3,3 +3,4 @@
. /env/expansions/imx6qdl-mira-peb-eval-01
#. /env/expansions/imx6qdl-phytec-lcd-018-peb-av-02
#. /env/expansions/imx6qdl-mira-enable-lvds
+#. /env/expansions/imx6qdl-phytec-peb-wlbt-01