mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
93beff2c14
commit
0fe8588fca
|
@ -437,20 +437,6 @@ dmaclk: dmaclk@1f27c000 {
|
||||||
reg-names = "csr-reg";
|
reg-names = "csr-reg";
|
||||||
clock-output-names = "dmaclk";
|
clock-output-names = "dmaclk";
|
||||||
};
|
};
|
||||||
|
|
||||||
i2cclk: i2cclk@17000000 {
|
|
||||||
status = "disabled";
|
|
||||||
compatible = "apm,xgene-device-clock";
|
|
||||||
#clock-cells = <1>;
|
|
||||||
clocks = <&ahbclk 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 = "i2cclk";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
msi: msi@79000000 {
|
msi: msi@79000000 {
|
||||||
|
@ -789,7 +775,7 @@ i2c0: i2c@10512000 {
|
||||||
reg = <0x0 0x10512000 0x0 0x1000>;
|
reg = <0x0 0x10512000 0x0 0x1000>;
|
||||||
interrupts = <0 0x44 0x4>;
|
interrupts = <0 0x44 0x4>;
|
||||||
#clock-cells = <1>;
|
#clock-cells = <1>;
|
||||||
clocks = <&i2cclk 0>;
|
clocks = <&ahbclk 0>;
|
||||||
bus_num = <0>;
|
bus_num = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue