[PATCH V2] arm64: dts: broadcom: bcm4908: add I2C block

Rafał Miłecki zajec5 at gmail.com
Mon Feb 14 22:36:39 PST 2022


From: Rafał Miłecki <rafal at milecki.pl>

BCM4908 uses the same I2C hw as BCM63xx / BCM67xx / BCM68xx SoCs.

Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
This patch is based on (and targets):
https://github.com/Broadcom/stblinux.git devicetree-arm64/next

V2: Use correct binding that implies 8 B max transfer size. See commit
    e2e5a2c61837 ("i2c: brcmstb: Adding support for CM and DSL SoCs")
    for details.
---
 arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
index b0bc5262beca..5158143a9018 100644
--- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
+++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
@@ -464,6 +464,15 @@ nandcs: nand at 0 {
 			};
 		};
 
+		i2c at 2100 {
+			compatible = "brcm,brcmper-i2c";
+			reg = <0x2100 0x58>;
+			clock-frequency = <97500>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&pins_i2c_a>;
+			status = "disabled";
+		};
+
 		misc at 2600 {
 			compatible = "brcm,misc", "simple-mfd";
 			reg = <0x2600 0xe4>;
-- 
2.34.1




More information about the linux-arm-kernel mailing list