From: Thierry Reding Date: Thu, 23 Feb 2017 17:30:46 +0000 (+0100) Subject: arm64: tegra: Enable I2C controllers on P3310 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a4c7aab2eaaeb479ae18a8299c69e8d28b50591b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm64: tegra: Enable I2C controllers on P3310 The P3310 processor modules use seven I2C controllers for various peripherals. Acked-by: Jon Hunter Signed-off-by: Thierry Reding --- diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi index 3653d0dd5f4f..762f4756346c 100644 --- a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi @@ -6,6 +6,14 @@ aliases { serial0 = &uarta; + i2c0 = "/bpmp/i2c"; + i2c1 = "/i2c@3160000"; + i2c2 = "/i2c@c240000"; + i2c3 = "/i2c@3180000"; + i2c4 = "/i2c@3190000"; + i2c5 = "/i2c@31c0000"; + i2c6 = "/i2c@c250000"; + i2c7 = "/i2c@31e0000"; }; chosen { @@ -22,10 +30,38 @@ status = "okay"; }; + i2c@3160000 { + status = "okay"; + }; + + i2c@3180000 { + status = "okay"; + }; + + i2c@3190000 { + status = "okay"; + }; + + i2c@31c0000 { + status = "okay"; + }; + + i2c@31e0000 { + status = "okay"; + }; + hsp@3c00000 { status = "okay"; }; + i2c@c240000 { + status = "okay"; + }; + + i2c@c250000 { + status = "okay"; + }; + pmc@c360000 { nvidia,invert-interrupt; }; @@ -57,7 +93,9 @@ }; bpmp { - status = "okay"; + i2c { + status = "okay"; + }; }; psci {