Commit a4131561 authored by Thierry Reding's avatar Thierry Reding

arm64: tegra: Wire up pinctrl states for all DPAUX controllers

All four DPAUX controllers on Tegra194 control the pin configuration of
their companion I2C controllers. Wire up all the pinctrl states for the
I2C controllers so that their pins can be correctly muxed when needed.
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 228f1e6a
...@@ -329,6 +329,9 @@ dp_aux_ch1_i2c: i2c@3190000 { ...@@ -329,6 +329,9 @@ dp_aux_ch1_i2c: i2c@3190000 {
clock-names = "div-clk"; clock-names = "div-clk";
resets = <&bpmp TEGRA194_RESET_I2C4>; resets = <&bpmp TEGRA194_RESET_I2C4>;
reset-names = "i2c"; reset-names = "i2c";
pinctrl-0 = <&state_dpaux1_i2c>;
pinctrl-1 = <&state_dpaux1_off>;
pinctrl-names = "default", "idle";
status = "disabled"; status = "disabled";
}; };
...@@ -343,10 +346,14 @@ dp_aux_ch0_i2c: i2c@31b0000 { ...@@ -343,10 +346,14 @@ dp_aux_ch0_i2c: i2c@31b0000 {
clock-names = "div-clk"; clock-names = "div-clk";
resets = <&bpmp TEGRA194_RESET_I2C6>; resets = <&bpmp TEGRA194_RESET_I2C6>;
reset-names = "i2c"; reset-names = "i2c";
pinctrl-0 = <&state_dpaux0_i2c>;
pinctrl-1 = <&state_dpaux0_off>;
pinctrl-names = "default", "idle";
status = "disabled"; status = "disabled";
}; };
gen7_i2c: i2c@31c0000 { /* shares pads with dpaux2 */
dp_aux_ch2_i2c: i2c@31c0000 {
compatible = "nvidia,tegra194-i2c"; compatible = "nvidia,tegra194-i2c";
reg = <0x031c0000 0x10000>; reg = <0x031c0000 0x10000>;
interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
...@@ -356,10 +363,14 @@ gen7_i2c: i2c@31c0000 { ...@@ -356,10 +363,14 @@ gen7_i2c: i2c@31c0000 {
clock-names = "div-clk"; clock-names = "div-clk";
resets = <&bpmp TEGRA194_RESET_I2C7>; resets = <&bpmp TEGRA194_RESET_I2C7>;
reset-names = "i2c"; reset-names = "i2c";
pinctrl-0 = <&state_dpaux2_i2c>;
pinctrl-1 = <&state_dpaux2_off>;
pinctrl-names = "default", "idle";
status = "disabled"; status = "disabled";
}; };
gen9_i2c: i2c@31e0000 { /* shares pads with dpaux3 */
dp_aux_ch3_i2c: i2c@31e0000 {
compatible = "nvidia,tegra194-i2c"; compatible = "nvidia,tegra194-i2c";
reg = <0x031e0000 0x10000>; reg = <0x031e0000 0x10000>;
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
...@@ -369,6 +380,9 @@ gen9_i2c: i2c@31e0000 { ...@@ -369,6 +380,9 @@ gen9_i2c: i2c@31e0000 {
clock-names = "div-clk"; clock-names = "div-clk";
resets = <&bpmp TEGRA194_RESET_I2C9>; resets = <&bpmp TEGRA194_RESET_I2C9>;
reset-names = "i2c"; reset-names = "i2c";
pinctrl-0 = <&state_dpaux3_i2c>;
pinctrl-1 = <&state_dpaux3_off>;
pinctrl-names = "default", "idle";
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment