]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
siflower: sf21: fix M.2 power on Bananapi BPI-RV2 19697/head
authorAndrey Safonov <andrey.safonov@gmail.com>
Wed, 6 Aug 2025 21:19:06 +0000 (00:19 +0300)
committerRobert Marko <robimarko@gmail.com>
Sun, 10 Aug 2025 19:50:37 +0000 (21:50 +0200)
Add fixed regulator for M.2 slot for Bananapi BPI-RV2

Signed-off-by: Andrey Safonov <andrey.safonov@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19697
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/siflower/dts/sf21h8898_bananapi_bpi-rv2.dtsi

index aa309e37c1c71a3d560799ecdd2ef61535e17854..cb3ed58d5afdd51edd792b9b340aa51aa4b36c38 100644 (file)
                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 {