aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAditya Prayoga <aditya@kobol.io>2018-12-05 00:57:21 +0800
committerStefan Roese <sr@denx.de>2018-12-08 16:19:41 +0100
commitc209a65e9eed69aebf48938f8a68a1eadcd6b1e5 (patch)
treecacfd7c24156b4c5fd8a8916696094c0f060e6e7 /arch
parenta134d680ea32f3584e82253c68176d645dae62dc (diff)
downloadu-boot-c209a65e9eed69aebf48938f8a68a1eadcd6b1e5.zip
u-boot-c209a65e9eed69aebf48938f8a68a1eadcd6b1e5.tar.gz
u-boot-c209a65e9eed69aebf48938f8a68a1eadcd6b1e5.tar.bz2
arm: mvebu: helios4: Enable I2C and IO Expander
Enable Marvell I2C driver and I2C IO expander. Set default bus to external I2C bus. Define I2C aliases in device tree so it can be recognized by the driver. Signed-off-by: Aditya Prayoga <aditya@kobol.io> Reviewed-by: Stefan Roese <sr@denx.de> Tested-By: Dennis Gilmore <dgilmore@redhat.com> Reviewed-By: Dennis Gilmore <dgilmore@redhat.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/armada-388-helios4-u-boot.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-388-helios4-u-boot.dtsi b/arch/arm/dts/armada-388-helios4-u-boot.dtsi
new file mode 100644
index 0000000..bd8c6ce
--- /dev/null
+++ b/arch/arm/dts/armada-388-helios4-u-boot.dtsi
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+/ {
+ aliases {
+ i2c0 = &i2c0;
+ i2c1 = &i2c1;
+ };
+};