Commit df9c8602 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

ARM: dts: qcom: msm8226: align TLMM pin configuration with DT schema

DT schema expects TLMM pin configuration nodes to be named with
'-state' suffix and their optional children with '-pins' suffix.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarBjorn Andersson <andersson@kernel.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221006124659.217540-6-krzysztof.kozlowski@linaro.org
parent bda79af4
...@@ -299,8 +299,8 @@ bluetooth_default_state: bluetooth-default-state { ...@@ -299,8 +299,8 @@ bluetooth_default_state: bluetooth-default-state {
input-enable; input-enable;
}; };
touch_pins: touch { touch_pins: touch-state {
irq { irq-pins {
pins = "gpio17"; pins = "gpio17";
function = "gpio"; function = "gpio";
...@@ -309,7 +309,7 @@ irq { ...@@ -309,7 +309,7 @@ irq {
input-enable; input-enable;
}; };
reset { reset-pins {
pins = "gpio16"; pins = "gpio16";
function = "gpio"; function = "gpio";
......
...@@ -354,35 +354,35 @@ tlmm: pinctrl@fd510000 { ...@@ -354,35 +354,35 @@ tlmm: pinctrl@fd510000 {
#interrupt-cells = <2>; #interrupt-cells = <2>;
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
blsp1_i2c1_pins: blsp1-i2c1 { blsp1_i2c1_pins: blsp1-i2c1-state {
pins = "gpio2", "gpio3"; pins = "gpio2", "gpio3";
function = "blsp_i2c1"; function = "blsp_i2c1";
drive-strength = <2>; drive-strength = <2>;
bias-disable; bias-disable;
}; };
blsp1_i2c2_pins: blsp1-i2c2 { blsp1_i2c2_pins: blsp1-i2c2-state {
pins = "gpio6", "gpio7"; pins = "gpio6", "gpio7";
function = "blsp_i2c2"; function = "blsp_i2c2";
drive-strength = <2>; drive-strength = <2>;
bias-disable; bias-disable;
}; };
blsp1_i2c3_pins: blsp1-i2c3 { blsp1_i2c3_pins: blsp1-i2c3-state {
pins = "gpio10", "gpio11"; pins = "gpio10", "gpio11";
function = "blsp_i2c3"; function = "blsp_i2c3";
drive-strength = <2>; drive-strength = <2>;
bias-disable; bias-disable;
}; };
blsp1_i2c4_pins: blsp1-i2c4 { blsp1_i2c4_pins: blsp1-i2c4-state {
pins = "gpio14", "gpio15"; pins = "gpio14", "gpio15";
function = "blsp_i2c4"; function = "blsp_i2c4";
drive-strength = <2>; drive-strength = <2>;
bias-disable; bias-disable;
}; };
blsp1_i2c5_pins: blsp1-i2c5 { blsp1_i2c5_pins: blsp1-i2c5-state {
pins = "gpio18", "gpio19"; pins = "gpio18", "gpio19";
function = "blsp_i2c5"; function = "blsp_i2c5";
drive-strength = <2>; drive-strength = <2>;
...@@ -390,13 +390,13 @@ blsp1_i2c5_pins: blsp1-i2c5 { ...@@ -390,13 +390,13 @@ blsp1_i2c5_pins: blsp1-i2c5 {
}; };
sdhc1_default_state: sdhc1-default-state { sdhc1_default_state: sdhc1-default-state {
clk { clk-pins {
pins = "sdc1_clk"; pins = "sdc1_clk";
drive-strength = <10>; drive-strength = <10>;
bias-disable; bias-disable;
}; };
cmd-data { cmd-data-pins {
pins = "sdc1_cmd", "sdc1_data"; pins = "sdc1_cmd", "sdc1_data";
drive-strength = <10>; drive-strength = <10>;
bias-pull-up; bias-pull-up;
...@@ -404,13 +404,13 @@ cmd-data { ...@@ -404,13 +404,13 @@ cmd-data {
}; };
sdhc2_default_state: sdhc2-default-state { sdhc2_default_state: sdhc2-default-state {
clk { clk-pins {
pins = "sdc2_clk"; pins = "sdc2_clk";
drive-strength = <10>; drive-strength = <10>;
bias-disable; bias-disable;
}; };
cmd-data { cmd-data-pins {
pins = "sdc2_cmd", "sdc2_data"; pins = "sdc2_cmd", "sdc2_data";
drive-strength = <10>; drive-strength = <10>;
bias-pull-up; bias-pull-up;
...@@ -418,21 +418,21 @@ cmd-data { ...@@ -418,21 +418,21 @@ cmd-data {
}; };
sdhc3_default_state: sdhc3-default-state { sdhc3_default_state: sdhc3-default-state {
clk { clk-pins {
pins = "gpio44"; pins = "gpio44";
function = "sdc3"; function = "sdc3";
drive-strength = <8>; drive-strength = <8>;
bias-disable; bias-disable;
}; };
cmd { cmd-pins {
pins = "gpio43"; pins = "gpio43";
function = "sdc3"; function = "sdc3";
drive-strength = <8>; drive-strength = <8>;
bias-pull-up; bias-pull-up;
}; };
data { data-pins {
pins = "gpio39", "gpio40", "gpio41", "gpio42"; pins = "gpio39", "gpio40", "gpio41", "gpio42";
function = "sdc3"; function = "sdc3";
drive-strength = <8>; drive-strength = <8>;
......
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