Commit 028fe09c authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

arm64: dts: qcom: sm8150: 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>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221006144518.256956-1-krzysztof.kozlowski@linaro.org
parent e0b6c1ff
...@@ -477,26 +477,26 @@ &pcie1_phy { ...@@ -477,26 +477,26 @@ &pcie1_phy {
&tlmm { &tlmm {
gpio-reserved-ranges = <0 4>; gpio-reserved-ranges = <0 4>;
sdc2_on: sdc2_on { sdc2_on: sdc2-on-state {
clk { clk-pins {
pins = "sdc2_clk"; pins = "sdc2_clk";
bias-disable; /* No pull */ bias-disable; /* No pull */
drive-strength = <16>; /* 16 MA */ drive-strength = <16>; /* 16 MA */
}; };
cmd { cmd-pins {
pins = "sdc2_cmd"; pins = "sdc2_cmd";
bias-pull-up; /* pull up */ bias-pull-up; /* pull up */
drive-strength = <16>; /* 16 MA */ drive-strength = <16>; /* 16 MA */
}; };
data { data-pins {
pins = "sdc2_data"; pins = "sdc2_data";
bias-pull-up; /* pull up */ bias-pull-up; /* pull up */
drive-strength = <16>; /* 16 MA */ drive-strength = <16>; /* 16 MA */
}; };
sd-cd { sd-cd-pins {
pins = "gpio96"; pins = "gpio96";
function = "gpio"; function = "gpio";
bias-pull-up; /* pull up */ bias-pull-up; /* pull up */
...@@ -504,26 +504,26 @@ sd-cd { ...@@ -504,26 +504,26 @@ sd-cd {
}; };
}; };
sdc2_off: sdc2_off { sdc2_off: sdc2-off-state {
clk { clk-pins {
pins = "sdc2_clk"; pins = "sdc2_clk";
bias-disable; /* No pull */ bias-disable; /* No pull */
drive-strength = <2>; /* 2 MA */ drive-strength = <2>; /* 2 MA */
}; };
cmd { cmd-pins {
pins = "sdc2_cmd"; pins = "sdc2_cmd";
bias-pull-up; /* pull up */ bias-pull-up; /* pull up */
drive-strength = <2>; /* 2 MA */ drive-strength = <2>; /* 2 MA */
}; };
data { data-pins {
pins = "sdc2_data"; pins = "sdc2_data";
bias-pull-up; /* pull up */ bias-pull-up; /* pull up */
drive-strength = <2>; /* 2 MA */ drive-strength = <2>; /* 2 MA */
}; };
sd-cd { sd-cd-pins {
pins = "gpio96"; pins = "gpio96";
function = "gpio"; function = "gpio";
bias-pull-up; /* pull up */ bias-pull-up; /* pull up */
...@@ -531,66 +531,62 @@ sd-cd { ...@@ -531,66 +531,62 @@ sd-cd {
}; };
}; };
usb2phy_ac_en1_default: usb2phy_ac_en1_default { usb2phy_ac_en1_default: usb2phy-ac-en1-default-state {
mux { pins = "gpio113";
pins = "gpio113"; function = "usb2phy_ac";
function = "usb2phy_ac"; bias-disable;
bias-disable; drive-strength = <2>;
drive-strength = <2>;
};
}; };
usb2phy_ac_en2_default: usb2phy_ac_en2_default { usb2phy_ac_en2_default: usb2phy-ac-en2-default-state {
mux { pins = "gpio123";
pins = "gpio123"; function = "usb2phy_ac";
function = "usb2phy_ac"; bias-disable;
bias-disable; drive-strength = <2>;
drive-strength = <2>;
};
}; };
ethernet_defaults: ethernet-defaults { ethernet_defaults: ethernet-defaults-state {
mdc { mdc-pins {
pins = "gpio7"; pins = "gpio7";
function = "rgmii"; function = "rgmii";
bias-pull-up; bias-pull-up;
}; };
mdio { mdio-pins {
pins = "gpio59"; pins = "gpio59";
function = "rgmii"; function = "rgmii";
bias-pull-up; bias-pull-up;
}; };
rgmii-rx { rgmii-rx-pins {
pins = "gpio117", "gpio118", "gpio119", "gpio120", "gpio115", "gpio116"; pins = "gpio117", "gpio118", "gpio119", "gpio120", "gpio115", "gpio116";
function = "rgmii"; function = "rgmii";
bias-disable; bias-disable;
drive-strength = <2>; drive-strength = <2>;
}; };
rgmii-tx { rgmii-tx-pins {
pins = "gpio122", "gpio4", "gpio5", "gpio6", "gpio114", "gpio121"; pins = "gpio122", "gpio4", "gpio5", "gpio6", "gpio114", "gpio121";
function = "rgmii"; function = "rgmii";
bias-pull-up; bias-pull-up;
drive-strength = <16>; drive-strength = <16>;
}; };
phy-intr { phy-intr-pins {
pins = "gpio124"; pins = "gpio124";
function = "emac_phy"; function = "emac_phy";
bias-disable; bias-disable;
drive-strength = <8>; drive-strength = <8>;
}; };
pps { pps-pins {
pins = "gpio81"; pins = "gpio81";
function = "emac_pps"; function = "emac_pps";
bias-disable; bias-disable;
drive-strength = <8>; drive-strength = <8>;
}; };
phy-reset { phy-reset-pins {
pins = "gpio79"; pins = "gpio79";
function = "gpio"; function = "gpio";
bias-pull-up; bias-pull-up;
......
...@@ -475,7 +475,7 @@ &pon_resin { ...@@ -475,7 +475,7 @@ &pon_resin {
&tlmm { &tlmm {
gpio-reserved-ranges = <126 4>; gpio-reserved-ranges = <126 4>;
da7280_intr_default: da7280-intr-default { da7280_intr_default: da7280-intr-default-state {
pins = "gpio42"; pins = "gpio42";
function = "gpio"; function = "gpio";
bias-pull-up; bias-pull-up;
......
This diff is collapsed.
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