From a6e505c461b8e4733d854065829a70cef302e793 Mon Sep 17 00:00:00 2001 From: Koen Vandeputte Date: Mon, 8 Jan 2024 17:25:07 +0100 Subject: [PATCH] ath79: rb91x: enable pcie power early (WIP) ensure PCIe devices get enumerated properly during power-on Signed-off-by: Koen Vandeputte --- .../ath79/dts/ar9342_mikrotik_routerboard-911g.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/target/linux/ath79/dts/ar9342_mikrotik_routerboard-911g.dtsi b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-911g.dtsi index 1c5a2a18e4..f888988c42 100644 --- a/target/linux/ath79/dts/ar9342_mikrotik_routerboard-911g.dtsi +++ b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-911g.dtsi @@ -137,12 +137,6 @@ gpio-export,output = <1>; gpios = <&ssr 6 GPIO_ACTIVE_HIGH>; }; - - pcie_power { - gpio-export,name = "power-pcie"; - gpio-export,output = <0>; - gpios = <&ssr 7 GPIO_ACTIVE_HIGH>; - }; }; }; @@ -194,6 +188,12 @@ registers-number = <1>; reg = <1>; spi-max-frequency = <50000000>; + + power_pcie { + gpio-hog; + gpios = <7 0>; + output-high; + }; }; }; -- 2.30.2