1/*
2 * Copyright (c) 2024 Jerónimo Agulló <jeronimoagullo97@gmail.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	aliases {
9		modem-uart = &micromod_1_uart;
10		modem = &modem;
11	};
12};
13
14&micromod_1_uart {
15	current-speed = <115200>;
16	hw-flow-control;
17	status = "okay";
18
19	modem: sara_r5 {
20		compatible = "u-blox,sara-r5";
21		mdm-power-gpios = <&micromod_header 7 0>; /* G2 */
22		mdm-reset-gpios = <&micromod_header 12 0>; /* D6 */
23		status = "okay";
24	};
25};
26
27&micromod_0_spi {
28	status = "okay";
29	/* G0 (SD_CS) */
30	cs-gpios = <&micromod_header 5 GPIO_ACTIVE_LOW>;
31
32	sdhc0: sdhc@0 {
33		compatible = "zephyr,sdhc-spi-slot";
34		reg = <0>;
35		status = "okay";
36		mmc {
37			compatible = "zephyr,sdmmc-disk";
38			disk-name = "SD";
39			status = "okay";
40		};
41		spi-max-frequency = <DT_FREQ_M(8)>;
42	};
43};
44
45&micromod_0_i2c {
46	max17048: max17048@36 {
47		compatible = "maxim,max17048";
48		reg = <0x36>;
49		status = "okay";
50	};
51};
52