Commit 35a4a8b6 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

arm64: dts: qcom: msm8996: Sanitize pins

In order to prepare for feature development, the DTs
have to be workable with.. To achieve that:

- Rename msmgpio to tlmm (consistency with newer DTs)
- Rid msm8996-pins.dtsi and add the contents to msm8996.dtsi
- Modernize the pin nodes, make them more concise
- Add generic pin configuration for some hardware
- Fix up some names in preparation for BLSP/UART name cleaning..
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210228130831.203765-1-konrad.dybcio@somainline.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 1ed34da6
...@@ -188,16 +188,16 @@ &blsp2_uart1 { ...@@ -188,16 +188,16 @@ &blsp2_uart1 {
label = "LS-UART1"; label = "LS-UART1";
status = "okay"; status = "okay";
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&blsp2_uart1_2pins_default>; pinctrl-0 = <&blsp2_uart2_2pins_default>;
pinctrl-1 = <&blsp2_uart1_2pins_sleep>; pinctrl-1 = <&blsp2_uart2_2pins_sleep>;
}; };
&blsp2_uart2 { &blsp2_uart2 {
label = "LS-UART0"; label = "LS-UART0";
status = "disabled"; status = "disabled";
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&blsp2_uart2_4pins_default>; pinctrl-0 = <&blsp2_uart3_4pins_default>;
pinctrl-1 = <&blsp2_uart2_4pins_sleep>; pinctrl-1 = <&blsp2_uart3_4pins_sleep>;
}; };
&camss { &camss {
...@@ -249,7 +249,7 @@ &mmcc { ...@@ -249,7 +249,7 @@ &mmcc {
vdd-gfx-supply = <&vdd_gfx>; vdd-gfx-supply = <&vdd_gfx>;
}; };
&msmgpio { &tlmm {
gpio-line-names = gpio-line-names =
"[SPI0_DOUT]", /* GPIO_0, BLSP1_SPI_MOSI, LSEC pin 14 */ "[SPI0_DOUT]", /* GPIO_0, BLSP1_SPI_MOSI, LSEC pin 14 */
"[SPI0_DIN]", /* GPIO_1, BLSP1_SPI_MISO, LSEC pin 10 */ "[SPI0_DIN]", /* GPIO_1, BLSP1_SPI_MISO, LSEC pin 10 */
...@@ -509,20 +509,20 @@ config { ...@@ -509,20 +509,20 @@ config {
&pcie0 { &pcie0 {
status = "okay"; status = "okay";
perst-gpio = <&msmgpio 35 GPIO_ACTIVE_LOW>; perst-gpio = <&tlmm 35 GPIO_ACTIVE_LOW>;
vddpe-3v3-supply = <&wlan_en>; vddpe-3v3-supply = <&wlan_en>;
vdda-supply = <&vreg_l28a_0p925>; vdda-supply = <&vreg_l28a_0p925>;
}; };
&pcie1 { &pcie1 {
status = "okay"; status = "okay";
perst-gpio = <&msmgpio 130 GPIO_ACTIVE_LOW>; perst-gpio = <&tlmm 130 GPIO_ACTIVE_LOW>;
vdda-supply = <&vreg_l28a_0p925>; vdda-supply = <&vreg_l28a_0p925>;
}; };
&pcie2 { &pcie2 {
status = "okay"; status = "okay";
perst-gpio = <&msmgpio 114 GPIO_ACTIVE_LOW>; perst-gpio = <&tlmm 114 GPIO_ACTIVE_LOW>;
vdda-supply = <&vreg_l28a_0p925>; vdda-supply = <&vreg_l28a_0p925>;
}; };
...@@ -933,9 +933,9 @@ vreg_s1b_1p025: s1 { ...@@ -933,9 +933,9 @@ vreg_s1b_1p025: s1 {
&sdhc2 { &sdhc2 {
/* External SD card */ /* External SD card */
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; pinctrl-0 = <&sdc2_state_on &sdc2_cd_on>;
pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>; pinctrl-1 = <&sdc2_state_off &sdc2_cd_off>;
cd-gpios = <&msmgpio 38 0x1>; cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
vmmc-supply = <&vreg_l21a_2p95>; vmmc-supply = <&vreg_l21a_2p95>;
vqmmc-supply = <&vreg_l13a_2p95>; vqmmc-supply = <&vreg_l13a_2p95>;
status = "okay"; status = "okay";
......
...@@ -84,11 +84,11 @@ vph_pwr: vph-pwr-regulator { ...@@ -84,11 +84,11 @@ vph_pwr: vph-pwr-regulator {
&blsp2_uart1 { &blsp2_uart1 {
status = "okay"; status = "okay";
pinctrl-names = "default", "sleep"; pinctrl-names = "default", "sleep";
pinctrl-0 = <&blsp2_uart1_2pins_default>; pinctrl-0 = <&blsp2_uart2_2pins_default>;
pinctrl-1 = <&blsp2_uart1_2pins_sleep>; pinctrl-1 = <&blsp2_uart2_2pins_sleep>;
}; };
&msmgpio { &tlmm {
sdc2_pins_default: sdc2-pins-default { sdc2_pins_default: sdc2-pins-default {
clk { clk {
pins = "sdc2_clk"; pins = "sdc2_clk";
...@@ -352,7 +352,7 @@ &sdhc2 { ...@@ -352,7 +352,7 @@ &sdhc2 {
bus-width = <4>; bus-width = <4>;
cd-gpios = <&msmgpio 38 0x1>; cd-gpios = <&tlmm 38 0x1>;
vmmc-supply = <&vreg_l21a_2p95>; vmmc-supply = <&vreg_l21a_2p95>;
vqmmc-supply = <&vreg_l13a_2p95>; vqmmc-supply = <&vreg_l13a_2p95>;
......
This diff is collapsed.
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