Commit 3f49bdaf authored by Robert Marko's avatar Robert Marko Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: hk10: use GPIO flags for tlmm



Use respective GPIO_ACTIVE_LOW/HIGH flags for tlmm GPIOs instead of
harcoding the cell value.

Signed-off-by: default avatarRobert Marko <robimarko@gmail.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221107092930.33325-2-robimarko@gmail.com
parent 7284a394
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
/dts-v1/;

#include "ipq8074.dtsi"
#include <dt-bindings/gpio/gpio.h>

/ {
	aliases {
@@ -39,12 +40,12 @@

&pcie0 {
	status = "okay";
	perst-gpios = <&tlmm 58 0x1>;
	perst-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
};

&pcie1 {
	status = "okay";
	perst-gpios = <&tlmm 61 0x1>;
	perst-gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
};

&pcie_phy0 {