mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-25 12:33:41 +00:00
81a87e1894
Add support for gpio controllers on Qualcomm Snapdragon devices. This devices are usually called Top Level Mode Multiplexing in Qualcomm documentation. Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
22 lines
688 B
Text
22 lines
688 B
Text
Qualcomm Snapdragon GPIO controller
|
|
|
|
Required properties:
|
|
- compatible : "qcom,msm8916-pinctrl" or "qcom,apq8016-pinctrl"
|
|
- reg : Physical base address and length of the controller's registers.
|
|
This controller is called "Top Level Mode Multiplexing" in
|
|
Qualcomm documentation.
|
|
- #gpio-cells : Should be one (pin number).
|
|
- gpio-controller : Marks the device node as a GPIO controller.
|
|
- gpio-count: Number of GPIO pins.
|
|
- gpio-bank-name: (optional) name of gpio bank. As default "soc" is used.
|
|
|
|
Example:
|
|
|
|
soc_gpios: pinctrl@1000000 {
|
|
compatible = "qcom,msm8916-pinctrl";
|
|
reg = <0x1000000 0x300000>;
|
|
gpio-controller;
|
|
gpio-count = <122>;
|
|
gpio-bank-name="soc";
|
|
#gpio-cells = <1>;
|
|
};
|