mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 14:23:00 +00:00
0ddabb6830
Currently for all Qcom SoCs/boards there are separate compatibles for GPIO and pinctrl. But this is inconsistent with official (upstream) Linux bindings which requires only a single compatible "qcom,<SoC name>-pinctrl" and there is no such compatible property as "qcom,tlmm-<SoC name>". So fix this inconsistency for Qcom SoCs in order to comply with upstream DT bindings. This is done via removing compatibles from "msm_gpio" driver and via binding to "msm_gpio" driver from pinctrl driver in case "gpio-controller" property is specified for pinctrl node. Suggested-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
55 lines
685 B
Text
55 lines
685 B
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* U-Boot addition to handle Dragonboard 410c pins
|
|
*
|
|
* (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
|
|
*/
|
|
|
|
/ {
|
|
|
|
smem {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
soc {
|
|
u-boot,dm-pre-reloc;
|
|
|
|
pinctrl@1000000 {
|
|
u-boot,dm-pre-reloc;
|
|
|
|
uart {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
};
|
|
|
|
qcom,gcc@1800000 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
serial@78b0000 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
&pm8916_gpios {
|
|
usb_hub_reset_pm {
|
|
gpios = <&pm8916_gpios 2 0>;
|
|
};
|
|
|
|
usb_sw_sel_pm {
|
|
gpios = <&pm8916_gpios 3 0>;
|
|
};
|
|
};
|
|
|
|
|
|
&pm8916_pon {
|
|
key_vol_down {
|
|
gpios = <&pm8916_pon 1 0>;
|
|
};
|
|
|
|
key_power {
|
|
gpios = <&pm8916_pon 0 0>;
|
|
};
|
|
};
|