Bladeren bron

siflower: sf21: fix M.2 power on Bananapi BPI-RV2

Add fixed regulator for M.2 slot for Bananapi BPI-RV2

Signed-off-by: Andrey Safonov <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19697
Signed-off-by: Robert Marko <[email protected]>
Andrey Safonov 4 maanden geleden
bovenliggende
commit
73a0366e53
1 gewijzigde bestanden met toevoegingen van 10 en 0 verwijderingen
  1. 10 0
      target/linux/siflower/dts/sf21h8898_bananapi_bpi-rv2.dtsi

+ 10 - 0
target/linux/siflower/dts/sf21h8898_bananapi_bpi-rv2.dtsi

@@ -22,6 +22,16 @@
 		gpio = <&gpio 37 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
 	};
+
+	m2keyb_pwren: regulator@1 {
+		compatible = "regulator-fixed";
+		regulator-name = "m2keyb_pwren";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		gpio = <&gpio 38 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
+		regulator-always-on;
+	};
 };
 
 &spi0_pins {