From 0162828df85bd7017891e37529cfa16ba991123b Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Tue, 22 Nov 2022 12:10:43 +0100 Subject: [PATCH] ipq807x: eap102: export MCU and USB reset pins This exports MCU and USB reset pins in sysfs using 'gpio-export' as 'mcu-enable' and 'usb-enable'. Signed-off-by: Piotr Dymacz --- .../arm64/boot/dts/qcom/qcom-ipq807x-eap102.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq807x-eap102.dts b/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq807x-eap102.dts index 6579f614c..ea2ef6a04 100644 --- a/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq807x-eap102.dts +++ b/feeds/ipq807x/ipq807x/files/arch/arm64/boot/dts/qcom/qcom-ipq807x-eap102.dts @@ -50,6 +50,23 @@ bootargs-append = " swiotlb=1 coherent_pool=2M"; #endif }; + + gpio-export { + compatible = "gpio-export"; + #size-cells = <0>; + + mcu-enable { + gpio-export,name = "mcu-enable"; + gpio-export,output = <1>; + gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>; + }; + + usb-enable { + gpio-export,name = "usb-enable"; + gpio-export,output = <1>; + gpios = <&tlmm 55 GPIO_ACTIVE_HIGH>; + }; + }; }; &tlmm {