aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHannes Petermaier2015-02-03 13:22:26 +0100
committerTom Rini2015-03-05 20:13:16 -0500
commitfbd5aeda481526c5c23cb913461378423bdb2137 (patch)
treea44f29f8655bdeca02bbd980dcfdd5cb9a11caff /include
parent1b7caf1123facf67816b03675952a5c700d0db9e (diff)
board/BuR/common: Take usage of am335x LCD-Display
a summary screen to the lcd. Values are taken from environment and or devicetree blob. Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
Diffstat (limited to 'include')
-rw-r--r--include/configs/tseries.h8
-rw-r--r--include/power/tps65217.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/tseries.h b/include/configs/tseries.h
index 9a6207048cd..9ad294fd568 100644
--- a/include/configs/tseries.h
+++ b/include/configs/tseries.h
@@ -14,6 +14,12 @@
#include <configs/bur_am335x_common.h>
/* ------------------------------------------------------------------------- */
+#define CONFIG_AM335X_LCD
+#define CONFIG_LCD
+#define CONFIG_LCD_NOSTDOUT
+#define CONFIG_SYS_WHITE_ON_BLACK
+#define LCD_BPP LCD_COLOR32
+
/* Clock Defines */
#define V_OSCK 26000000 /* Clock output from T2 */
#define V_SCLK (V_OSCK)
@@ -22,6 +28,8 @@
/* Support both device trees and ATAGs. */
#define CONFIG_OF_LIBFDT
+#define CONFIG_USE_FDT /* use fdt within board code */
+#define CONFIG_OF_BOARD_SETUP
#define CONFIG_CMDLINE_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_INITRD_TAG
diff --git a/include/power/tps65217.h b/include/power/tps65217.h
index 297c4cbd99a..93cbe36c472 100644
--- a/include/power/tps65217.h
+++ b/include/power/tps65217.h
@@ -73,6 +73,7 @@ enum {
#define TPS65217_LDO_VOLTAGE_OUT_1_8 0x06
#define TPS65217_LDO_VOLTAGE_OUT_3_3 0x1F
+#define TPS65217_PWR_OFF 0x80
#define TPS65217_PWR_SRC_USB_BITMASK 0x4
#define TPS65217_PWR_SRC_AC_BITMASK 0x8