From: Koen Vandeputte Date: Mon, 8 Jan 2024 16:25:07 +0000 (+0100) Subject: ath79: rb91x: enable pcie power early (WIP) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a6e505c461b8e4733d854065829a70cef302e793;p=openwrt%2Fstaging%2Fxback.git ath79: rb91x: enable pcie power early (WIP) ensure PCIe devices get enumerated properly during power-on Signed-off-by: Koen Vandeputte --- 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; + }; }; };