From: Rayagonda Kokatanur <rayagonda.kokata...@broadcom.com>

Add NIC i2c device node.

Signed-off-by: Rayagonda Kokatanur <rayagonda.kokata...@broadcom.com>
Signed-off-by: Ray Jui <ray....@broadcom.com>
---
 .../boot/dts/broadcom/stingray/stingray.dtsi   | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi 
b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi
index cfeaa855bd05..67e53768a84a 100644
--- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi
+++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi
@@ -612,4 +612,22 @@
                        status = "disabled";
                };
        };
+
+       nic-hsls {
+               compatible = "simple-bus";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0x0 0x0  0x0 0x7fffffff>;
+
+               nic_i2c0: i2c@60826100 {
+                       compatible = "brcm,iproc-nic-i2c";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x60826100 0x100>,
+                             <0x60e00408 0x1000>;
+                       brcm,ape-hsls-addr-mask = <0x03400000>;
+                       clock-frequency = <100000>;
+                       status = "disabled";
+               };
+       };
 };
-- 
2.17.1

Reply via email to