summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2017-05-02 08:35:25 (GMT)
committerStefan Roese <sr@denx.de>2017-05-09 11:38:18 (GMT)
commite38f5fc8d80d946b401ba0e9ba0fcb52d6e7e74b (patch)
tree136b5fe5fad86b74adb2e15ee710c5598c379637 /arch/arm
parentf2ca24d9d69efb8f16d6986b5933d963bf813883 (diff)
downloadu-boot-fsl-qoriq-e38f5fc8d80d946b401ba0e9ba0fcb52d6e7e74b.tar.xz
ARM: mvebu: switch db-88f6820-amc to DM for i2c
Move existing configuration from header file to defconfig or dts as appropriate. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/armada-385-amc.dts3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-385-amc.dts b/arch/arm/dts/armada-385-amc.dts
index a5a8a7f..4649c91 100644
--- a/arch/arm/dts/armada-385-amc.dts
+++ b/arch/arm/dts/armada-385-amc.dts
@@ -54,6 +54,7 @@
aliases {
ethernet0 = &eth0;
ethernet1 = &eth1;
+ i2c0 = &i2c0;
spi1 = &spi1;
};
@@ -68,6 +69,8 @@
internal-regs {
i2c@11000 {
+ clock-frequency = <100000>;
+ u-boot,i2c-slave-addr = <0x0>;
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
status = "okay";