]> Gentwo Git Trees - linux/.git/commitdiff
dt-bindings: gnss: u-blox: add safeboot gpio
authorAlejandro Enrique <alejandroe1@geotab.com>
Wed, 14 May 2025 13:54:41 +0000 (15:54 +0200)
committerJohan Hovold <johan@kernel.org>
Fri, 14 Nov 2025 13:18:30 +0000 (14:18 +0100)
U-Blox M8/M9 chip have a pin to start it in safeboot mode, to be used
to recover from situations where the flash content has become
corrupted and needs to be restored.

Signed-off-by: Alejandro Enrique <alejandroe1@geotab.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml

index c0c2bfaa606fb01f7efee1ce7e5d30b1640783f3..9f14cfe7efd16d93ac83f11048d7eb7ddd341544 100644 (file)
@@ -36,6 +36,9 @@ properties:
   reset-gpios:
     maxItems: 1
 
+  safeboot-gpios:
+    maxItems: 1
+
   vcc-supply:
     description: >
       Main voltage regulator
@@ -65,5 +68,6 @@ examples:
             v-bckp-supply = <&gnss_v_bckp_reg>;
             vcc-supply = <&gnss_vcc_reg>;
             reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
+            safeboot-gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
         };
     };