Skip to content

Commit eb82155

Browse files
rerickson1zafersn
authored andcommitted
samples: net: aws_iot_mqtt: support Pinnacle 100 with HL78xx driver
Add support for using the HL78XX modem driver with Pinnacle 100 modem boards. Signed-off-by: Ryan Erickson <[email protected]>
1 parent 078b3f0 commit eb82155

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CONFIG_MODEM_HL7800=n
2+
CONFIG_UART_ASYNC_API=y
3+
CONFIG_MODEM_HL78XX=y
4+
CONFIG_MODEM_HL78XX_AUTORAT=n
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/delete-node/ &hl7800;
2+
3+
/ {
4+
aliases {
5+
modem-uart = &uart1;
6+
modem = &hl7800;
7+
gnss = &gnss;
8+
};
9+
};
10+
11+
&uart1 {
12+
hl7800: hl7800 {
13+
compatible = "swir,hl7800";
14+
status = "okay";
15+
mdm-reset-gpios = <&gpio1 15 (GPIO_OPEN_DRAIN | GPIO_ACTIVE_LOW)>;
16+
mdm-wake-gpios = <&gpio1 13 (GPIO_OPEN_SOURCE | GPIO_ACTIVE_HIGH)>;
17+
mdm-pwr-on-gpios = <&gpio1 2 (GPIO_OPEN_DRAIN | GPIO_ACTIVE_LOW)>;
18+
mdm-fast-shutd-gpios = <&gpio1 14 (GPIO_OPEN_DRAIN | GPIO_ACTIVE_LOW)>;
19+
mdm-vgpio-gpios = <&gpio1 11 0>;
20+
mdm-uart-dsr-gpios = <&gpio0 25 0>;
21+
mdm-uart-cts-gpios = <&gpio0 15 0>;
22+
mdm-gpio6-gpios = <&gpio1 12 0>;
23+
socket_offload: socket_offload {
24+
compatible = "swir,hl7812-offload";
25+
status = "okay";
26+
/* optional properties for future: */
27+
max-data-length = <512>;
28+
};
29+
gnss: hl_gnss {
30+
compatible = "swir,hl7812-gnss";
31+
pps-mode = "GNSS_PPS_MODE_DISABLED";
32+
fix-rate = <1000>;
33+
status = "disabled";
34+
};
35+
};
36+
};

0 commit comments

Comments
 (0)