Add reset dts property to the i2c nodes.

Signed-off-by: Dinh Nguyen <dingu...@kernel.org>
---
 arch/arm/dts/socfpga.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
index f34dd9d..ead0560 100644
--- a/arch/arm/dts/socfpga.dtsi
+++ b/arch/arm/dts/socfpga.dtsi
@@ -509,6 +509,8 @@
                        compatible = "snps,designware-i2c";
                        reg = <0xffc04000 0x1000>;
                        clocks = <&l4_sp_clk>;
+                       resets = <&rst I2C0_RESET>;
+                       reset-names = "i2c";
                        interrupts = <0 158 0x4>;
                        status = "disabled";
                };
@@ -519,6 +521,8 @@
                        compatible = "snps,designware-i2c";
                        reg = <0xffc05000 0x1000>;
                        clocks = <&l4_sp_clk>;
+                       resets = <&rst I2C1_RESET>;
+                       reset-names = "i2c";
                        interrupts = <0 159 0x4>;
                        status = "disabled";
                };
@@ -529,6 +533,8 @@
                        compatible = "snps,designware-i2c";
                        reg = <0xffc06000 0x1000>;
                        clocks = <&l4_sp_clk>;
+                       resets = <&rst I2C2_RESET>;
+                       reset-names = "i2c";
                        interrupts = <0 160 0x4>;
                        status = "disabled";
                };
@@ -539,6 +545,8 @@
                        compatible = "snps,designware-i2c";
                        reg = <0xffc07000 0x1000>;
                        clocks = <&l4_sp_clk>;
+                       resets = <&rst I2C3_RESET>;
+                       reset-names = "i2c";
                        interrupts = <0 161 0x4>;
                        status = "disabled";
                };
-- 
2.7.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to