mirror of https://gitee.com/openkylin/linux.git
ARM: dts: r8a7745: Add IIC cores to dtsi
Add iic0 and iic1 nodes to SoC dtsi. Also, define aliases i2c6 and i2c7. Board specific DT files will enable the interfaces if needed. Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Chris Paterson <chris.paterson2@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
b73ae2bdd8
commit
0ee0aff583
|
@ -25,6 +25,8 @@ aliases {
|
|||
i2c3 = &i2c3;
|
||||
i2c4 = &i2c4;
|
||||
i2c5 = &i2c5;
|
||||
i2c6 = &iic0;
|
||||
i2c7 = &iic1;
|
||||
spi0 = &qspi;
|
||||
spi1 = &msiof0;
|
||||
spi2 = &msiof1;
|
||||
|
@ -753,6 +755,40 @@ i2c5: i2c@e6528000 {
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
iic0: i2c@e6500000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "renesas,iic-r8a7745",
|
||||
"renesas,rcar-gen2-iic",
|
||||
"renesas,rmobile-iic";
|
||||
reg = <0 0xe6500000 0 0x425>;
|
||||
interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&cpg CPG_MOD 318>;
|
||||
dmas = <&dmac0 0x61>, <&dmac0 0x62>,
|
||||
<&dmac1 0x61>, <&dmac1 0x62>;
|
||||
dma-names = "tx", "rx", "tx", "rx";
|
||||
power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
|
||||
resets = <&cpg 318>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
iic1: i2c@e6510000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "renesas,iic-r8a7745",
|
||||
"renesas,rcar-gen2-iic",
|
||||
"renesas,rmobile-iic";
|
||||
reg = <0 0xe6510000 0 0x425>;
|
||||
interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&cpg CPG_MOD 323>;
|
||||
dmas = <&dmac0 0x65>, <&dmac0 0x66>,
|
||||
<&dmac1 0x65>, <&dmac1 0x66>;
|
||||
dma-names = "tx", "rx", "tx", "rx";
|
||||
power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
|
||||
resets = <&cpg 323>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
mmcif0: mmc@ee200000 {
|
||||
compatible = "renesas,mmcif-r8a7745",
|
||||
"renesas,sh-mmcif";
|
||||
|
|
Loading…
Reference in New Issue