Skip to content

Commit b51c05a

Browse files
Ray Juiffainelli
authored andcommitted
ARM: dts: add I2C device nodes for Broadcom Cygnus
Add I2C device nodes and its properties in bcm-cygnus.dtsi but keep them disabled there. Individual I2C devices can be enabled in board specific dts file when I2C slave devices are enabled in the future Signed-off-by: Ray Jui <rjui@broadcom.com> Reviewed-by: Scott Branden <sbranden@broadcom.com> Reviewed-by: Kevin Cernekee <cernekee@chromium.org> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
1 parent 9df1182 commit b51c05a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

arch/arm/boot/dts/bcm-cygnus.dtsi

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,26 @@
7070
};
7171
};
7272

73+
i2c0: i2c@18008000 {
74+
compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
75+
reg = <0x18008000 0x100>;
76+
#address-cells = <1>;
77+
#size-cells = <0>;
78+
interrupts = <GIC_SPI 85 IRQ_TYPE_NONE>;
79+
clock-frequency = <100000>;
80+
status = "disabled";
81+
};
82+
83+
i2c1: i2c@1800b000 {
84+
compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
85+
reg = <0x1800b000 0x100>;
86+
#address-cells = <1>;
87+
#size-cells = <0>;
88+
interrupts = <GIC_SPI 86 IRQ_TYPE_NONE>;
89+
clock-frequency = <100000>;
90+
status = "disabled";
91+
};
92+
7393
uart0: serial@18020000 {
7494
compatible = "snps,dw-apb-uart";
7595
reg = <0x18020000 0x100>;

0 commit comments

Comments
 (0)