summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeresa Remmet <t.remmet@phytec.de>2016-04-18 07:49:27 (GMT)
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2016-04-22 11:21:16 (GMT)
commit045fe39516122e7fd6aa12d5332875bec42891c5 (patch)
treea46bc5fc8bfcef24dd30e7d95ea12594155a65e7
parentff2ca732c9b442084477d05b6f1e29d925ffe238 (diff)
downloadmeta-phytec-045fe39516122e7fd6aa12d5332875bec42891c5.zip
meta-phytec-045fe39516122e7fd6aa12d5332875bec42891c5.tar.bz2
machine: Add new phycore-r2-am335x machines
Add the new phycore-r2-am335x modules. They have less power consumption and depending on the variant a temperature sensor and powermangment support is also available. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--conf/machine/phycore-r2-am335x-1.conf17
-rw-r--r--conf/machine/phycore-r2-am335x-2.conf17
-rw-r--r--conf/machine/phycore-r2-am335x-3.conf17
-rw-r--r--conf/machine/phycore-r2-am335x-4.conf17
-rw-r--r--recipes-bsp/barebox/barebox-ipl_2016.04.0.bb4
-rw-r--r--recipes-bsp/barebox/barebox_2016.04.0.bb4
-rw-r--r--recipes-kernel/linux/linux-ti_3.12.30-phy11.bb4
7 files changed, 80 insertions, 0 deletions
diff --git a/conf/machine/phycore-r2-am335x-1.conf b/conf/machine/phycore-r2-am335x-1.conf
new file mode 100644
index 0000000..4103a69
--- /dev/null
+++ b/conf/machine/phycore-r2-am335x-1.conf
@@ -0,0 +1,17 @@
+#@TYPE: Machine
+#@NAME: phycore-r2-am335x-1
+#@DESCRIPTION: PCM-060-12102F06I.A1/PCM-953 (Kit)
+
+require conf/machine/include/phyam335x.inc
+
+SOC_FAMILY_append := ":phycore-am335x"
+
+# Kernel
+KERNEL_DEVICETREE = "am335x-phycore-rdk.dtb"
+
+# Barebox
+BAREBOX_BIN = "images/barebox-am33xx-phytec-phycore.img"
+BAREBOX_IPL_BIN = "images/barebox-am33xx-phytec-phycore-r2-mlo-512mb.img"
+
+# touchscreen, the rdk has one attached
+MACHINE_FEATURES += "touchscreen sgx"
diff --git a/conf/machine/phycore-r2-am335x-2.conf b/conf/machine/phycore-r2-am335x-2.conf
new file mode 100644
index 0000000..8db0544
--- /dev/null
+++ b/conf/machine/phycore-r2-am335x-2.conf
@@ -0,0 +1,17 @@
+#@TYPE: Machine
+#@NAME: phycore-r2-am335x-2
+#@DESCRIPTION: PCM-060-01051E10I.A0/PCM-953 (Kit)
+
+require conf/machine/include/phyam335x.inc
+
+SOC_FAMILY_append := ":phycore-am335x"
+
+# Kernel
+KERNEL_DEVICETREE = "am335x-phycore-eeprom.dtb"
+
+# Barebox
+BAREBOX_BIN = "images/barebox-am33xx-phytec-phycore-no-spi.img"
+BAREBOX_IPL_BIN = "images/barebox-am33xx-phytec-phycore-r2-mlo-256mb.img"
+
+# touchscreen, the rdk has one attached
+MACHINE_FEATURES += "touchscreen"
diff --git a/conf/machine/phycore-r2-am335x-3.conf b/conf/machine/phycore-r2-am335x-3.conf
new file mode 100644
index 0000000..85193c5
--- /dev/null
+++ b/conf/machine/phycore-r2-am335x-3.conf
@@ -0,0 +1,17 @@
+#@TYPE: Machine
+#@NAME: phycore-r2-am335x-3
+#@DESCRIPTION: PCM-060-12142F10I.A1/PCM-953
+
+require conf/machine/include/phyam335x.inc
+
+SOC_FAMILY_append := ":phycore-am335x"
+
+# Kernel
+KERNEL_DEVICETREE = "am335x-phycore-rdk.dtb"
+
+# Barebox
+BAREBOX_BIN = "images/barebox-am33xx-phytec-phycore.img"
+BAREBOX_IPL_BIN = "images/barebox-am33xx-phytec-phycore-r2-mlo-512mb.img"
+
+# touchscreen, the rdk has one attached
+MACHINE_FEATURES += "touchscreen sgx"
diff --git a/conf/machine/phycore-r2-am335x-4.conf b/conf/machine/phycore-r2-am335x-4.conf
new file mode 100644
index 0000000..7bc806a
--- /dev/null
+++ b/conf/machine/phycore-r2-am335x-4.conf
@@ -0,0 +1,17 @@
+#@TYPE: Machine
+#@NAME: phycore-r2-am335x-4
+#@DESCRIPTION: PCM-060-12052F10I.A0/PCM-953 (Kit)
+
+require conf/machine/include/phyam335x.inc
+
+SOC_FAMILY_append := ":phycore-am335x"
+
+# Kernel
+KERNEL_DEVICETREE = "am335x-phycore-eeprom-rtc.dtb"
+
+# Barebox
+BAREBOX_BIN = "images/barebox-am33xx-phytec-phycore-no-spi.img"
+BAREBOX_IPL_BIN = "images/barebox-am33xx-phytec-phycore-r2-mlo-512mb.img"
+
+# touchscreen, the rdk has one attached
+MACHINE_FEATURES += "touchscreen"
diff --git a/recipes-bsp/barebox/barebox-ipl_2016.04.0.bb b/recipes-bsp/barebox/barebox-ipl_2016.04.0.bb
index 65c98a1..cebb49d 100644
--- a/recipes-bsp/barebox/barebox-ipl_2016.04.0.bb
+++ b/recipes-bsp/barebox/barebox-ipl_2016.04.0.bb
@@ -32,6 +32,10 @@ COMPATIBLE_MACHINE .= "|phyflex-am335x-2"
COMPATIBLE_MACHINE .= "|phyflex-am335x-3"
COMPATIBLE_MACHINE .= "|phyflex-am335x-4"
COMPATIBLE_MACHINE .= "|phyboard-regor-am335x-1"
+COMPATIBLE_MACHINE .= "|phycore-r2-am335x-1"
+COMPATIBLE_MACHINE .= "|phycore-r2-am335x-2"
+COMPATIBLE_MACHINE .= "|phycore-r2-am335x-3"
+COMPATIBLE_MACHINE .= "|phycore-r2-am335x-4"
do_deploy_append () {
# deploy spi boot images
diff --git a/recipes-bsp/barebox/barebox_2016.04.0.bb b/recipes-bsp/barebox/barebox_2016.04.0.bb
index a6653af..5317e84 100644
--- a/recipes-bsp/barebox/barebox_2016.04.0.bb
+++ b/recipes-bsp/barebox/barebox_2016.04.0.bb
@@ -39,3 +39,7 @@ COMPATIBLE_MACHINE .= "|phyflex-am335x-2"
COMPATIBLE_MACHINE .= "|phyflex-am335x-3"
COMPATIBLE_MACHINE .= "|phyflex-am335x-4"
COMPATIBLE_MACHINE .= "|phyboard-regor-am335x-1"
+COMPATIBLE_MACHINE .= "|phycore-r2-am335x-1"
+COMPATIBLE_MACHINE .= "|phycore-r2-am335x-2"
+COMPATIBLE_MACHINE .= "|phycore-r2-am335x-3"
+COMPATIBLE_MACHINE .= "|phycore-r2-am335x-4"
diff --git a/recipes-kernel/linux/linux-ti_3.12.30-phy11.bb b/recipes-kernel/linux/linux-ti_3.12.30-phy11.bb
index f6787ae..0b13ca3 100644
--- a/recipes-kernel/linux/linux-ti_3.12.30-phy11.bb
+++ b/recipes-kernel/linux/linux-ti_3.12.30-phy11.bb
@@ -46,3 +46,7 @@ COMPATIBLE_MACHINE .= "|phyflex-am335x-2"
COMPATIBLE_MACHINE .= "|phyflex-am335x-3"
COMPATIBLE_MACHINE .= "|phyflex-am335x-4"
COMPATIBLE_MACHINE .= "|phyboard-regor-am335x-1"
+COMPATIBLE_MACHINE .= "|phycore-r2-am335x-1"
+COMPATIBLE_MACHINE .= "|phycore-r2-am335x-2"
+COMPATIBLE_MACHINE .= "|phycore-r2-am335x-3"
+COMPATIBLE_MACHINE .= "|phycore-r2-am335x-4"