summaryrefslogtreecommitdiff
path: root/include/configs/pico-imx6ul.h
diff options
context:
space:
mode:
authorVanessa Maegima <vanessa.maegima@nxp.com>2016-07-13 17:27:32 (GMT)
committerStefano Babic <sbabic@denx.de>2016-07-19 17:52:12 (GMT)
commit88e4774efdf6ae4bf43969ad95ce67d0f228b91a (patch)
tree347912a3a4d8c6289291bc226700924670101d02 /include/configs/pico-imx6ul.h
parent67ff9e11f3971a668a0abd3efbb027ebf985b5b6 (diff)
downloadu-boot-88e4774efdf6ae4bf43969ad95ce67d0f228b91a.tar.xz
pico-imx6ul: Add PMIC support
Add PMIC support. Tested by command "pmic PFUZE3000 dump". Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include/configs/pico-imx6ul.h')
-rw-r--r--include/configs/pico-imx6ul.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/pico-imx6ul.h b/include/configs/pico-imx6ul.h
index f9fc263..a1e5f01 100644
--- a/include/configs/pico-imx6ul.h
+++ b/include/configs/pico-imx6ul.h
@@ -158,6 +158,18 @@
#define CONFIG_SYS_INIT_SP_ADDR \
(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
+/* I2C configs */
+#define CONFIG_SYS_I2C
+#define CONFIG_SYS_I2C_MXC
+#define CONFIG_SYS_I2C_MXC_I2C1
+#define CONFIG_SYS_I2C_SPEED 100000
+
+/* PMIC */
+#define CONFIG_POWER
+#define CONFIG_POWER_I2C
+#define CONFIG_POWER_PFUZE3000
+#define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08
+
/* FLASH and environment organization */
#define CONFIG_SYS_NO_FLASH