mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-13 00:03:26 +09:00
![Robert Marko](/assets/img/avatar_default.png)
Snapdragon SoCs and IPQ40xx use common TLMM IP, so existing driver supports IPQ40xx as well. So lets simply add a compatible for IPQ40xx. Signed-off-by: Robert Marko <robert.marko@sartura.hr> Reviewed-By: Ramon Fried <rfried.dev@gmail.com>
24 lines
716 B
Plaintext
24 lines
716 B
Plaintext
Qualcomm Snapdragon GPIO controller
|
|
|
|
Required properties:
|
|
- compatible : "qcom,msm8916-pinctrl", "qcom,apq8016-pinctrl" or
|
|
"qcom,ipq4019-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>;
|
|
};
|