arm64: dts: hisilicon: hi3670.dtsi: add I2C settings
The I2C buses are not declared at the device tree. As this will be needed by further patches, add them, keeping all in disabled state. Per-board settings can override it. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
This commit is contained in:
parent
62b4c3514b
commit
b6e141eec8
@ -714,5 +714,76 @@
|
||||
card-detect-delay = <200>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
/* I2C */
|
||||
i2c0: i2c@ffd71000 {
|
||||
compatible = "snps,designware-i2c";
|
||||
reg = <0x0 0xffd71000 0x0 0x1000>;
|
||||
interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clock-frequency = <400000>;
|
||||
clocks = <&iomcu HI3670_CLK_GATE_I2C0>;
|
||||
resets = <&iomcu_rst 0x20 3>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c0_pmx_func &i2c0_cfg_func>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
i2c1: i2c@ffd72000 {
|
||||
compatible = "snps,designware-i2c";
|
||||
reg = <0x0 0xffd72000 0x0 0x1000>;
|
||||
interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clock-frequency = <400000>;
|
||||
clocks = <&iomcu HI3670_CLK_GATE_I2C1>;
|
||||
resets = <&iomcu_rst 0x20 4>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c1_pmx_func &i2c1_cfg_func>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
i2c2: i2c@ffd73000 {
|
||||
compatible = "snps,designware-i2c";
|
||||
reg = <0x0 0xffd73000 0x0 0x1000>;
|
||||
interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clock-frequency = <400000>;
|
||||
clocks = <&iomcu HI3670_CLK_GATE_I2C2>;
|
||||
resets = <&iomcu_rst 0x20 5>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c2_pmx_func &i2c2_cfg_func>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
i2c3: i2c@fdf0c000 {
|
||||
compatible = "snps,designware-i2c";
|
||||
reg = <0x0 0xfdf0c000 0x0 0x1000>;
|
||||
interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clock-frequency = <400000>;
|
||||
clocks = <&crg_ctrl HI3670_CLK_GATE_I2C3>;
|
||||
resets = <&crg_rst 0x78 7>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c3_pmx_func &i2c3_cfg_func>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
i2c4: i2c@fdf0d000 {
|
||||
compatible = "snps,designware-i2c";
|
||||
reg = <0x0 0xfdf0d000 0x0 0x1000>;
|
||||
interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clock-frequency = <400000>;
|
||||
clocks = <&crg_ctrl HI3670_CLK_GATE_I2C4>;
|
||||
resets = <&crg_rst 0x78 27>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c4_pmx_func &i2c4_cfg_func>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user