Skip to content
Snippets Groups Projects
Commit 9ebf47bb authored by Duc Dang's avatar Duc Dang
Browse files

arm64: dts: X-Gene v2: I2C1 clock is always on


X-Gene v2 I2C0 and I2C1 controllers share the same clock
enable register field. This patch remove clock node for I2C1
and leave I2C1 clock always on as having it toggled on/off
will affect I2C0 operation.

Signed-off-by: default avatarDuc Dang <dhdang@apm.com>
parent 0fe8588f
No related branches found
No related tags found
No related merge requests found
......@@ -334,19 +334,6 @@ rngpkaclk: rngpkaclk@17000000 {
clock-output-names = "rngpkaclk";
};
i2c1clk: i2c1clk@17000000 {
compatible = "apm,xgene-device-clock";
#clock-cells = <1>;
clocks = <&sbapbclk 0>;
reg = <0x0 0x17000000 0x0 0x2000>;
reg-names = "csr-reg";
csr-offset = <0xc>;
csr-mask = <0x4>;
enable-offset = <0x10>;
enable-mask = <0x4>;
clock-output-names = "i2c1clk";
};
i2c4clk: i2c4clk@1704c000 {
compatible = "apm,xgene-device-clock";
#clock-cells = <1>;
......@@ -656,7 +643,7 @@ i2c1: i2c@10511000 {
reg = <0x0 0x10511000 0x0 0x1000>;
interrupts = <0 0x45 0x4>;
#clock-cells = <1>;
clocks = <&i2c1clk 0>;
clocks = <&sbapbclk 0>;
bus_num = <1>;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment