aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuc Dang <dhdang@apm.com>2015-12-29 20:02:05 -0500
committerDuc Dang <dhdang@apm.com>2015-12-29 20:02:05 -0500
commit0fe8588fcaac6fff08937a338feb8e3082fe9e57 (patch)
treea437c61192a078d2bceea7406644d34eace9b1b8
parent93beff2c1455497f35c21c561d475be1101dbdc2 (diff)
arm64: dts: X-Gene v1: I2C0 clock is always on
X-Gene v1 I2C0 and I2C1 controllers share the same clock enable register field. This patch remove clock node for I2C0 and leave I2C0 clock always on as having it toggled on/off will affect I2C1 operation. Signed-off-by: Duc Dang <dhdang@apm.com>
-rw-r--r--arch/arm64/boot/dts/apm/apm-storm.dtsi16
1 files changed, 1 insertions, 15 deletions
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index 17f5dc265975..fe30f7671ea3 100644
--- a/arch/arm64/boot/dts/apm/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi
@@ -437,20 +437,6 @@
437 reg-names = "csr-reg"; 437 reg-names = "csr-reg";
438 clock-output-names = "dmaclk"; 438 clock-output-names = "dmaclk";
439 }; 439 };
440
441 i2cclk: i2cclk@17000000 {
442 status = "disabled";
443 compatible = "apm,xgene-device-clock";
444 #clock-cells = <1>;
445 clocks = <&ahbclk 0>;
446 reg = <0x0 0x17000000 0x0 0x2000>;
447 reg-names = "csr-reg";
448 csr-offset = <0xc>;
449 csr-mask = <0x4>;
450 enable-offset = <0x10>;
451 enable-mask = <0x4>;
452 clock-output-names = "i2cclk";
453 };
454 }; 440 };
455 441
456 msi: msi@79000000 { 442 msi: msi@79000000 {
@@ -789,7 +775,7 @@
789 reg = <0x0 0x10512000 0x0 0x1000>; 775 reg = <0x0 0x10512000 0x0 0x1000>;
790 interrupts = <0 0x44 0x4>; 776 interrupts = <0 0x44 0x4>;
791 #clock-cells = <1>; 777 #clock-cells = <1>;
792 clocks = <&i2cclk 0>; 778 clocks = <&ahbclk 0>;
793 bus_num = <0>; 779 bus_num = <0>;
794 }; 780 };
795 781