summaryrefslogtreecommitdiff
path: root/src/mainboard/roda/rv11/variants/rw11/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/roda/rv11/variants/rw11/include')
-rw-r--r--src/mainboard/roda/rv11/variants/rw11/include/acpi/brightness_levels.asl19
-rw-r--r--src/mainboard/roda/rv11/variants/rw11/include/acpi/superio.asl30
-rw-r--r--src/mainboard/roda/rv11/variants/rw11/include/variant/hda_verb.h67
-rw-r--r--src/mainboard/roda/rv11/variants/rw11/include/variant/thermal.h17
4 files changed, 133 insertions, 0 deletions
diff --git a/src/mainboard/roda/rv11/variants/rw11/include/acpi/brightness_levels.asl b/src/mainboard/roda/rv11/variants/rw11/include/acpi/brightness_levels.asl
new file mode 100644
index 0000000000..7dba1f228c
--- /dev/null
+++ b/src/mainboard/roda/rv11/variants/rw11/include/acpi/brightness_levels.asl
@@ -0,0 +1,19 @@
+Scope (GFX0)
+{
+ Name (BRIG, Package (13)
+ {
+ 74, /* default AC */
+ 74, /* default Battery */
+ 9, /* 439 / 4882 */
+ 11, /* 537 / 4882 */
+ 14, /* 683 / 4882 */
+ 18, /* 878 / 4882 */
+ 22, /* 1074 / 4882 */
+ 28, /* 1366 / 4882 */
+ 36, /* 1757 / 4882 */
+ 46, /* 2245 / 4882 */
+ 58, /* 2831 / 4882 */
+ 74, /* 3612 / 4882 */
+ 100, /* 4882 / 4882 */
+ })
+}
diff --git a/src/mainboard/roda/rv11/variants/rw11/include/acpi/superio.asl b/src/mainboard/roda/rv11/variants/rw11/include/acpi/superio.asl
new file mode 100644
index 0000000000..ae531670a7
--- /dev/null
+++ b/src/mainboard/roda/rv11/variants/rw11/include/acpi/superio.asl
@@ -0,0 +1,30 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2016 secunet Security Networks AG
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#undef SUPERIO_DEV
+#undef SUPERIO_PNP_BASE
+#undef IT8783EF_SHOW_UARTA
+#undef IT8783EF_SHOW_UARTB
+#undef IT8783EF_SHOW_UARTC
+#undef IT8783EF_SHOW_UARTD
+#undef IT8783EF_SHOW_KBC
+#undef IT8783EF_SHOW_PS2M
+#define SUPERIO_DEV SIO0
+#define SUPERIO_PNP_BASE 0x2e
+#define IT8783EF_SHOW_UARTA 1
+#define IT8783EF_SHOW_UARTB 1
+#define IT8783EF_SHOW_UARTC 1
+#define IT8783EF_SHOW_UARTD 1
+#include <superio/ite/it8783ef/acpi/superio.asl>
diff --git a/src/mainboard/roda/rv11/variants/rw11/include/variant/hda_verb.h b/src/mainboard/roda/rv11/variants/rw11/include/variant/hda_verb.h
new file mode 100644
index 0000000000..edc5f64624
--- /dev/null
+++ b/src/mainboard/roda/rv11/variants/rw11/include/variant/hda_verb.h
@@ -0,0 +1,67 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2016 secunet Security Networks AG
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+const u32 cim_verb_data[] = {
+ /* coreboot specific header */
+ 0x10ec0262, /* Codec Vendor / Device ID: Realtek ALC262 */
+ 0x1a864352, /* Subsystem ID */
+ 0x0000000e, /* Number of jacks */
+
+ /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x10ec0262 */
+ AZALIA_SUBVENDOR(0, 0x1a864352),
+
+ AZALIA_PIN_CFG(0, 0x11, 0x18561180),
+
+ AZALIA_PIN_CFG(0, 0x12, 0x90a60130),
+
+ AZALIA_PIN_CFG(0, 0x14, 0x90170110),
+
+ AZALIA_PIN_CFG(0, 0x15, 0x03214020),
+
+ AZALIA_PIN_CFG(0, 0x16, 0x40000000),
+
+ AZALIA_PIN_CFG(0, 0x18, 0x03a19040),
+
+ AZALIA_PIN_CFG(0, 0x19, 0x411111f0),
+
+ AZALIA_PIN_CFG(0, 0x1a, 0x03813050),
+
+ AZALIA_PIN_CFG(0, 0x1b, 0x411111f0),
+
+ AZALIA_PIN_CFG(0, 0x1c, 0x411111f0),
+
+ AZALIA_PIN_CFG(0, 0x1d, 0x40d6862d),
+
+ AZALIA_PIN_CFG(0, 0x1e, 0x411111f0),
+
+ AZALIA_PIN_CFG(0, 0x1f, 0x411111f0),
+
+ /* coreboot specific header */
+ 0x80862806, /* Codec Vendor / Device ID: Intel PantherPoint HDMI */
+ 0x80860101, /* Subsystem ID */
+ 0x00000004, /* Number of jacks */
+
+ /* NID 0x01, HDA Codec Subsystem ID Verb Table: 0x80860101 */
+ AZALIA_SUBVENDOR(3, 0x80860101),
+
+ /* Pin Complex (NID 0x05) Digital Out at Int HDMI */
+ AZALIA_PIN_CFG(3, 0x05, 0x18560010),
+
+ /* Pin Complex (NID 0x06) Digital Out at Int HDMI */
+ AZALIA_PIN_CFG(3, 0x06, 0x18560020),
+
+ /* Pin Complex (NID 0x07) Digital Out at Int HDMI */
+ AZALIA_PIN_CFG(3, 0x07, 0x18560030),
+};
diff --git a/src/mainboard/roda/rv11/variants/rw11/include/variant/thermal.h b/src/mainboard/roda/rv11/variants/rw11/include/variant/thermal.h
new file mode 100644
index 0000000000..d3b72cd9f4
--- /dev/null
+++ b/src/mainboard/roda/rv11/variants/rw11/include/variant/thermal.h
@@ -0,0 +1,17 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2016 secunet Security Networks AG
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#define CRITICAL_TEMPERATURE 100
+#define PASSIVE_TEMPERATURE 95