sensecap solar stuff

This commit is contained in:
liquidraver
2026-07-22 22:48:13 +02:00
parent c28ae21555
commit 8ddea4603c
2 changed files with 11 additions and 3 deletions
@@ -2,8 +2,9 @@
* SenseCAP Solar — ZephCore overlay
* SPDX-License-Identifier: MIT
*
* GPS aliases for ZephyrGPSManager. gnss-nmea-generic has no on-off-gpios,
* so ZephyrGPSManager owns P1.05 (gps-enable alias) exclusively.
* GPS aliases for ZephyrGPSManager. P1.05 (gps-enable alias) is shared
* with the air530z driver's on-off-gpios (T-Echo pattern): the driver
* powers the module at init, ZephyrGPSManager duty-cycles it after.
*/
#include "../../common/qspi-ext.dtsi"
@@ -162,8 +162,15 @@
pinctrl-1 = <&uart0_sleep>;
pinctrl-names = "default", "sleep";
/* L76K is CASIC/Air530Z-family silicon — same PCAS command set as the
* Wio Tracker L1 / T-Echo / ThinkNode M6 modules, so use the air530z
* driver (constellation via PCAS04, fix rate via PCAS02).
* on-off-gpios shares P1.05 with the gps-enable alias (T-Echo pattern):
* driver powers the module for its init conversation, ZephyrGPSManager
* drives the same pin for duty cycling. */
gnss: gnss {
compatible = "gnss-nmea-generic";
compatible = "luatos,air530z";
on-off-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
};
};