aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRobert Beckett <bob.beckett@collabora.com>2020-01-31 15:07:54 +0200
committerStefano Babic <sbabic@denx.de>2020-02-09 21:47:20 +0100
commit1dec7fa79716adb478052798ceb0cf5c3a412f61 (patch)
tree9b7cf8add78976ba994a332ba6f7cb68ead607d2 /arch
parentb64088c5c2d161a8732f04076195a48d8bbf25e7 (diff)
downloadu-boot-1dec7fa79716adb478052798ceb0cf5c3a412f61.zip
u-boot-1dec7fa79716adb478052798ceb0cf5c3a412f61.tar.gz
u-boot-1dec7fa79716adb478052798ceb0cf5c3a412f61.tar.bz2
board: ge: bx50v3, imx53ppd: use DM I2C
Remove old (pre-DM) i2c setup code. Enable DM i2c. Convert common code to use DM rtc. Convert common code to read VPD from eeprom partition. Convert the generic i2c PMIC init code to use the new da9063 driver. mx53ppd only: Correct RTC compatible in device tree. Enable MXC DM i2c driver. Define CONFIG_SYS_MALLOC_F_LEN so that DM is available in pre-reloc. Make GPIO banks available during preloc, since initialisation is done in board_early_init_f(). Add gpio_request() calls to satisfy the DM_GPIO compatibility API. Remove unused power configuration. Signed-off-by: Robert Beckett <bob.beckett@collabora.com> Signed-off-by: Ian Ray <ian.ray@ge.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/imx53-ppd-uboot.dtsi20
-rw-r--r--arch/arm/dts/imx53-ppd.dts2
2 files changed, 21 insertions, 1 deletions
diff --git a/arch/arm/dts/imx53-ppd-uboot.dtsi b/arch/arm/dts/imx53-ppd-uboot.dtsi
index 99d409d..8e45ee7 100644
--- a/arch/arm/dts/imx53-ppd-uboot.dtsi
+++ b/arch/arm/dts/imx53-ppd-uboot.dtsi
@@ -26,3 +26,23 @@
};
};
};
+
+&gpio1 {
+ u-boot,dm-pre-reloc;
+};
+
+&gpio2 {
+ u-boot,dm-pre-reloc;
+};
+
+&gpio3 {
+ u-boot,dm-pre-reloc;
+};
+
+&gpio4 {
+ u-boot,dm-pre-reloc;
+};
+
+&gpio5 {
+ u-boot,dm-pre-reloc;
+};
diff --git a/arch/arm/dts/imx53-ppd.dts b/arch/arm/dts/imx53-ppd.dts
index 016a859..a627847 100644
--- a/arch/arm/dts/imx53-ppd.dts
+++ b/arch/arm/dts/imx53-ppd.dts
@@ -489,7 +489,7 @@
reg = <1>;
rtc@30 {
- compatible = "sii,s35390a";
+ compatible = "sii,s35392a-rtc";
reg = <0x30>;
};