[U-Boot] [PATCH 3/3] ARM: tegra: paz00: enable nvec keyboard support
Andrey Danin
danindrey at mail.ru
Fri Jul 19 10:47:43 CEST 2013
Signed-off-by: Andrey Danin <danindrey at mail.ru>
---
board/compal/dts/tegra20-paz00.dts | 8 ++++++++
include/configs/paz00.h | 8 ++++++++
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/board/compal/dts/tegra20-paz00.dts b/board/compal/dts/tegra20-paz00.dts
index 780203c..2df5446 100644
--- a/board/compal/dts/tegra20-paz00.dts
+++ b/board/compal/dts/tegra20-paz00.dts
@@ -88,4 +88,12 @@
nvidia,panel-vdd-gpios = <&gpio 4 0>; /* PA4 */
nvidia,panel-timings = <400 4 203 17 15>;
};
+
+ nvec {
+ compatible = "nvidia,tegra20-nvec";
+ reg = <0x7000c500 0x100>;
+ clock-frequency = <80000>;
+ request-gpios = <&gpio 170 0>; /* gpio PV2 */
+ slave-addr = <138>;
+ };
};
diff --git a/include/configs/paz00.h b/include/configs/paz00.h
index eac1ef9..d711be8 100644
--- a/include/configs/paz00.h
+++ b/include/configs/paz00.h
@@ -72,6 +72,14 @@
#define CONFIG_SYS_WHITE_ON_BLACK
#define CONFIG_CONSOLE_SCROLL_LINES 10
+/* Keyboard support */
+#define CONFIG_KEYBOARD
+#define CONFIG_TEGRA_NVEC_KEYBOARD
+/* NVEC support */
+#define CONFIG_TEGRA_I2C
+#define CONFIG_SYS_I2C_INIT_BOARD
+#define CONFIG_TEGRA_NVEC
+
#include "tegra-common-post.h"
#endif /* __CONFIG_H */
--
1.7.1
More information about the U-Boot
mailing list