How to use the Thingy:91 NMOS outs?

I'm trying to adapt the MQTT example to use the NMOS outputs.

I managed to use LED:s as output with no issues, but I'm not getting any response from NMOS pins. I also checked that there is no response in TP32.

This is the overlay I'm trying to use:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
&pwm2 {
status="disabled";
};
/ {
outs {
status = "okay";
compatible = "gpio-leds";
out_1: led_1 {
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
label = "channel0";
};
out_2: led_2 {
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
label = "channel1";
};
};
aliases {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

And I've adapted the led.c like this:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
* Copyright (c) 2023 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include <zephyr/zbus/zbus.h>
#include <zephyr/drivers/led.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/pwm.h>
#include "message_channel.h"
/* Register log module */
LOG_MODULE_REGISTER(led, CONFIG_MQTT_SAMPLE_LED_LOG_LEVEL);
#define OUT1 DT_NODELABEL(out_1)
#define OUT1_DEV DT_PHANDLE(OUT1,gpios)
#define OUT1_PIN DT_PHA(OUT1,gpios,pin)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

So what could be the issue?