summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@somainline.org>2022-04-15 13:56:29 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-04-19 21:10:48 -0500
commit1dfe967ec7cfb03b468d096a69d945070f1cd2a0 (patch)
tree3d4e2e50438310b2c37b39f199d238822decacc3 /arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
parent9f43e1973840955c0bd639c504095fba5f565e20 (diff)
downloadlinux-1dfe967ec7cfb03b468d096a69d945070f1cd2a0.tar.bz2
ARM: dts: qcom-msm8974*: Consolidate I2C/UART/SDHCI
Clean up and commonize (where possible and it makes sense to) I2C, UART and SDHCI nodes and pin configurations. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-20-konrad.dybcio@somainline.org
Diffstat (limited to 'arch/arm/boot/dts/qcom-apq8074-dragonboard.dts')
-rw-r--r--arch/arm/boot/dts/qcom-apq8074-dragonboard.dts61
1 files changed, 17 insertions, 44 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts b/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
index f47020cf7a90..3051a861ff0c 100644
--- a/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
+++ b/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
@@ -26,9 +26,6 @@
status = "okay";
clock-frequency = <200000>;
- pinctrl-0 = <&i2c11_pins>;
- pinctrl-names = "default";
-
eeprom: eeprom@52 {
compatible = "atmel,24c128";
reg = <0x52>;
@@ -256,48 +253,25 @@
vmmc-supply = <&pm8941_l20>;
vqmmc-supply = <&pm8941_s3>;
- pinctrl-names = "default";
- pinctrl-0 = <&sdhc1_pin_a>;
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&sdc1_on>;
+ pinctrl-1 = <&sdc1_off>;
};
&sdhc_2 {
status = "okay";
- cd-gpios = <&tlmm 62 0x1>;
- pinctrl-names = "default";
- pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>;
+ cd-gpios = <&tlmm 62 0x1>;
vmmc-supply = <&pm8941_l21>;
vqmmc-supply = <&pm8941_l13>;
+
+ pinctrl-names = "default", "sleep";
+ pinctrl-0 = <&sdc2_on>;
+ pinctrl-1 = <&sdc2_off>;
};
&tlmm {
- i2c11_pins: i2c11 {
- mux {
- pins = "gpio83", "gpio84";
- function = "blsp_i2c11";
- };
- };
-
- spi8_default: spi8_default {
- mosi {
- pins = "gpio45";
- function = "blsp_spi8";
- };
- miso {
- pins = "gpio46";
- function = "blsp_spi8";
- };
- cs {
- pins = "gpio47";
- function = "blsp_spi8";
- };
- clk {
- pins = "gpio48";
- function = "blsp_spi8";
- };
- };
-
- sdhc1_pin_a: sdhc1-pin-active {
+ sdc1_on: sdc1-on {
clk {
pins = "sdc1_clk";
drive-strength = <16>;
@@ -311,15 +285,7 @@
};
};
- sdhc2_cd_pin_a: sdhc2-cd-pin-active {
- pins = "gpio62";
- function = "gpio";
-
- drive-strength = <2>;
- bias-disable;
- };
-
- sdhc2_pin_a: sdhc2-pin-active {
+ sdc2_on: sdc2-on {
clk {
pins = "sdc2_clk";
drive-strength = <10>;
@@ -331,5 +297,12 @@
drive-strength = <6>;
bias-pull-up;
};
+
+ cd {
+ pins = "gpio62";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ };
};
};