dts: arm: xilinx: zynqmp: Add I2C Support
- Define i2c0, i2c1 bus nodes in the device tree for ZynqMP
- Note: Platform-specific configurations, such as I2C Bus Frequency and
Reference input clock, should be handled according to the design.
Signed-off-by: Ajay Neeli <ajay.neeli@amd.com>
diff --git a/dts/arm/xilinx/zynqmp.dtsi b/dts/arm/xilinx/zynqmp.dtsi
index 65abc45..ecadbdf 100644
--- a/dts/arm/xilinx/zynqmp.dtsi
+++ b/dts/arm/xilinx/zynqmp.dtsi
@@ -274,6 +274,28 @@
status = "okay";
};
};
+
+ i2c0: i2c@ff020000 {
+ compatible = "cdns,i2c";
+ reg = <0xff020000 0x1000>;
+ status = "disabled";
+ interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL
+ IRQ_DEFAULT_PRIORITY>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ fifo-depth = <16>;
+ };
+
+ i2c1: i2c@ff030000 {
+ compatible = "cdns,i2c";
+ reg = <0xff030000 0x1000>;
+ status = "disabled";
+ interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL
+ IRQ_DEFAULT_PRIORITY>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ fifo-depth = <16>;
+ };
};
};