File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
samples/net/cloud/aws_iot_mqtt Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ CONFIG_MODEM_HL7800=n
2
+ CONFIG_UART_ASYNC_API=y
3
+ CONFIG_MODEM_HL78XX=y
4
+ CONFIG_MODEM_HL78XX_AUTORAT=n
Original file line number Diff line number Diff line change
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
+ };
You can’t perform that action at this time.
0 commit comments