arm64: dts: qcom: qrb5165-rb5: Add gpio-line-names for PM8150(B&L)
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Fri, 4 Sep 2020 06:36:37 +0000 (12:06 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 10 Sep 2020 16:40:43 +0000 (16:40 +0000)
Add gpio-line-names for the GPIO pins exposed by PM8150, PM8150B and
PM8150L PMIC nodes.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20200904063637.28632-7-manivannan.sadhasivam@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts

index cf6dc0ec1640ad0549a8eed52b75a1b7f1558af0..1528a865f1f8e129260fcee1ea6b174f9b1311d7 100644 (file)
        status = "okay";
 };
 
+&pm8150_gpios {
+       gpio-reserved-ranges = <1 1>, <3 2>, <7 1>;
+       gpio-line-names =
+               "NC",
+               "OPTION2",
+               "PM_GPIO-F",
+               "PM_SLP_CLK_IN",
+               "OPTION1",
+               "VOL_UP_N",
+               "PM8250_GPIO7", /* Blue LED */
+               "SP_ARI_PWR_ALARM",
+               "GPIO_9_P", /* Yellow LED */
+               "GPIO_10_P"; /* Green LED */
+};
+
+&pm8150b_gpios {
+       gpio-line-names =
+               "NC",
+               "NC",
+               "NC",
+               "NC",
+               "HAP_BOOST_EN", /* SOM */
+               "SMB_STAT", /* SOM */
+               "NC",
+               "NC",
+               "SDM_FORCE_USB_BOOT",
+               "NC",
+               "NC",
+               "NC";
+};
+
+&pm8150l_gpios {
+       gpio-line-names =
+               "NC",
+               "PM3003A_EN",
+               "NC",
+               "NC",
+               "PM_GPIO5", /* HDMI RST_N */
+               "PM_GPIO-A", /* PWM */
+               "PM_GPIO7",
+               "NC",
+               "NC",
+               "PM_GPIO-B",
+               "NC",
+               "PM3003A_MODE";
+};
+
 &qupv3_id_0 {
        status = "okay";
 };