1/*
2 * Copyright (c) 2022 Actinius
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&pinctrl {
8	uart0_default: uart0_default {
9		group1 {
10			psels = <NRF_PSEL(UART_TX, 0, 9)>,
11				<NRF_PSEL(UART_RX, 0, 6)>;
12		};
13	};
14
15	uart0_sleep: uart0_sleep {
16		group1 {
17			psels = <NRF_PSEL(UART_TX, 0, 9)>,
18				<NRF_PSEL(UART_RX, 0, 6)>;
19			low-power-enable;
20		};
21	};
22};
23
24&spi3 {
25	status = "okay";
26
27	cs-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
28
29	w25q64: w25q64jv@0 {
30		compatible = "jedec,spi-nor";
31		reg = <0>;
32		spi-max-frequency = <80000000>;
33		jedec-id = [ef 40 17];
34		size = <0x4000000>;
35		has-dpd;
36		t-enter-dpd = <3500>;
37		t-exit-dpd = <3500>;
38	};
39};
40
41/ {
42	charger_enable: charger-enable {
43		compatible = "actinius-charger-enable";
44		gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
45		charger = "auto";
46	};
47};
48