summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBreno Lima <breno.lima@nxp.com>2016-12-06 15:38:25 -0200
committerStefano Babic <sbabic@denx.de>2016-12-16 10:21:29 +0100
commit21729bcdbdcd102cdb15535331d7e4b7b204a0b4 (patch)
tree3500ef37762657f4f69c563645fff257f65183a0 /include
parent894a4b4da7e295a95741c8b0f969e43f8ee239af (diff)
downloadu-boot-imx-21729bcdbdcd102cdb15535331d7e4b7b204a0b4.zip
u-boot-imx-21729bcdbdcd102cdb15535331d7e4b7b204a0b4.tar.gz
u-boot-imx-21729bcdbdcd102cdb15535331d7e4b7b204a0b4.tar.bz2
udoo_neo: Add PFUZE300 PMIC support
UDOO Neo boards has a PFUZE300 connected to I2C1 bus. Tested on a UDOO Neo Full with "pmic PFUZE3000 dump" command. Signed-off-by: Breno Lima <breno.lima@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/udoo_neo.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h
index 0357631..0c59068 100644
--- a/include/configs/udoo_neo.h
+++ b/include/configs/udoo_neo.h
@@ -90,4 +90,17 @@
#define CONFIG_IMX_THERMAL
+/* 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
+#define PFUZE3000_I2C_BUS 0
+
#endif /* __CONFIG_H */