rk3368: i2c: fix i2c1&i2c2 reg address and irq error

Signed-off-by: David Wu <wdc@rock-chips.com>
This commit is contained in:
David Wu
2014-12-23 16:43:17 +08:00
committed by Huang, Tao
parent 41b711c60f
commit 5ecb63c75e

View File

@@ -584,6 +584,7 @@
<&clk_gates19 1>;/*pclk_peri_axi_matrix*/
};
/* I2C_PMU */
i2c0: i2c@ff650000 {
compatible = "rockchip,rk30-i2c";
reg = <0x0 0xff650000 0x0 0x1000>;
@@ -599,36 +600,39 @@
status = "disabled";
};
i2c1: i2c@ff140000 {
compatible = "rockchip,rk30-i2c";
reg = <0x0 0xff140000 0x0 0x1000>;
interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default", "gpio";
pinctrl-0 = <&i2c1_xfer>;
pinctrl-1 = <&i2c1_gpio>;
gpios = <&gpio2 GPIO_C5 GPIO_ACTIVE_LOW>, <&gpio2 GPIO_C6 GPIO_ACTIVE_LOW>;
clocks = <&clk_gates19 11>;
rockchip,check-idle = <1>;
status = "disabled";
};
i2c2: i2c@ff660000 {
/* I2C_AUDIO */
i2c1: i2c@ff660000 {
compatible = "rockchip,rk30-i2c";
reg = <0x0 0xff660000 0x0 0x1000>;
interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default", "gpio";
pinctrl-0 = <&i2c2_xfer>;
pinctrl-1 = <&i2c2_gpio>;
gpios = <&gpio3 GPIO_D7 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_B1 GPIO_ACTIVE_LOW>;
pinctrl-0 = <&i2c1_xfer>;
pinctrl-1 = <&i2c1_gpio>;
gpios = <&gpio2 GPIO_C5 GPIO_ACTIVE_LOW>, <&gpio2 GPIO_C6 GPIO_ACTIVE_LOW>;
clocks = <&clk_gates12 3>;
rockchip,check-idle = <1>;
status = "disabled";
};
/* I2C_SENSOR */
i2c2: i2c@ff140000 {
compatible = "rockchip,rk30-i2c";
reg = <0x0 0xff140000 0x0 0x1000>;
interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default", "gpio";
pinctrl-0 = <&i2c2_xfer>;
pinctrl-1 = <&i2c2_gpio>;
gpios = <&gpio3 GPIO_D7 GPIO_ACTIVE_LOW>, <&gpio0 GPIO_B1 GPIO_ACTIVE_LOW>;
clocks = <&clk_gates19 11>;
rockchip,check-idle = <1>;
status = "disabled";
};
/* I2C_CAM */
i2c3: i2c@ff150000 {
compatible = "rockchip,rk30-i2c";
reg = <0x0 0xff150000 0x0 0x1000>;
@@ -644,6 +648,7 @@
status = "disabled";
};
/* I2C_TP */
i2c4: i2c@ff160000 {
compatible = "rockchip,rk30-i2c";
reg = <0x0 0xff160000 0x0 0x1000>;
@@ -659,6 +664,7 @@
status = "disabled";
};
/* I2C_HDMI */
i2c5: i2c@ff170000 {
compatible = "rockchip,rk30-i2c";
reg = <0x0 0xff170000 0x0 0x1000>;