arm64: tegra: Add missing clocks and power-domains to Tegra210 VI I2C
authorSowjanya Komatineni <skomatineni@nvidia.com>
Wed, 15 Jul 2020 04:20:39 +0000 (21:20 -0700)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Jul 2020 12:57:24 +0000 (14:57 +0200)
Tegra210 VI I2C is in VE power domain and i2c-vi node should have
power-domains property.

Current Tegra210 i2c-vi device node is missing both VI I2C clocks
and power-domains property.

This patch adds them.

Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210.dtsi

index 2fc4c1f..c394f14 100644 (file)
                        compatible = "nvidia,tegra210-i2c-vi";
                        reg = <0x0 0x546c0000 0x0 0x00040000>;
                        interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&tegra_car TEGRA210_CLK_VI_I2C>,
+                                <&tegra_car TEGRA210_CLK_I2CSLOW>;
+                       clock-names = "div-clk", "slow";
+                       resets = <&tegra_car 208>;
+                       reset-names = "i2c";
+                       power-domains = <&pd_venc>;
                        status = "disabled";
                };
        };