# SPDX-License-Identifier: MIT # Copyright (c) 2026 Scott Penrose description: | RockBLOCK 9704, Ground Control's Iridium Certus (IMT) modem board, on a UART. The modem speaks JSPR, JSON lines over a fixed 230400 8N1; there is no AT mode. One per system: the library underneath keeps global state. The control pins are optional. With none, the modem is assumed powered and enabled, which is how the board behaves with the pins left open: I_EN has a pull-up and P_EN a pull-down. I_EN is what switches the modem, so power control needs iridium-enable-gpios; booted-gpios and power-gpios are each optional beside it. compatible: "rock7,rockblock-9704" include: - uart-device.yaml properties: power-gpios: type: phandle-array description: | P_EN, header pin 6: the supercapacitor charge enable. It is active low on the board, so give GPIO_ACTIVE_LOW. Driven active (charging on) while the modem runs, and released to an input while it is off, where the board's pull-down keeps the charger on. Leaving it unconnected is fine. iridium-enable-gpios: type: phandle-array description: | I_EN, header pin 3: starts and stops the modem. Driven high to start it and low to stop it, and never moved back until I_BTD has followed. booted-gpios: type: phandle-array description: | I_BTD, header pin 7: high once the modem has booted, low once it has shut down. When present, start-up and shutdown wait for it instead of a fixed delay. boot-delay-ms: type: int default: 4000 description: | How long to wait after moving I_EN, either way, when there is no booted-gpios to wait on. examples: - | &usart3 { current-speed = <230400>; status = "okay"; modem: rockblock { compatible = "rock7,rockblock-9704"; power-gpios = <&gpiob 0 GPIO_ACTIVE_LOW>; iridium-enable-gpios = <&gpiob 1 GPIO_ACTIVE_HIGH>; booted-gpios = <&gpiob 2 GPIO_ACTIVE_HIGH>; }; };