projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2ea878
)
arm: dts: Stratix10: Enable i2c
author
Ley Foon Tan
<ley.foon.tan@intel.com>
Thu, 13 Jun 2019 08:17:23 +0000
(16:17 +0800)
committer
Marek Vasut
<marex@denx.de>
Fri, 14 Jun 2019 10:41:26 +0000
(12:41 +0200)
Enable i2c1 in Stratix 10 devkit.
SOCFPGA_STRATIX10 # i2c bus
Bus 0: i2c@
ffc02900
SOCFPGA_STRATIX10 # i2c dev 0
Setting bus to 0
SOCFPGA_STRATIX10 # i2c probe
Valid chip addresses: 14 4C 51 68 74
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/dts/socfpga_stratix10_socdk.dts
patch
|
blob
|
history
diff --git
a/arch/arm/dts/socfpga_stratix10_socdk.dts
b/arch/arm/dts/socfpga_stratix10_socdk.dts
index 2745050810ff4509e72b1b2aed941a71bc6d3862..c5409df026ec1db7826841360c520853b53a43d2 100755
(executable)
--- a/
arch/arm/dts/socfpga_stratix10_socdk.dts
+++ b/
arch/arm/dts/socfpga_stratix10_socdk.dts
@@
-9,6
+9,7
@@
model = "SoCFPGA Stratix 10 SoCDK";
aliases {
+ i2c0 = &i2c1;
serial0 = &uart0;
};
@@
-77,6
+78,10
@@
};
};
+&i2c1 {
+ status = "okay";
+};
+
&mmc {
status = "okay";
cap-sd-highspeed;