2019-11-25 21:16:54 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2022-02-21 23:08:54 +08:00
|
|
|
#include <zephyr/dt-bindings/adc/adc.h>
|
|
|
|
#include <zephyr/dt-bindings/adc/nrf-adc.h>
|
2022-05-06 17:02:05 +08:00
|
|
|
#include <zephyr/dt-bindings/gpio/gpio.h>
|
2022-02-21 23:08:54 +08:00
|
|
|
#include <zephyr/dt-bindings/i2c/i2c.h>
|
2022-05-06 17:02:05 +08:00
|
|
|
#include <zephyr/dt-bindings/pinctrl/nrf-pinctrl.h>
|
|
|
|
#include <zephyr/dt-bindings/pwm/pwm.h>
|
2019-11-25 21:16:54 +08:00
|
|
|
|
2022-06-20 21:26:23 +08:00
|
|
|
#include <freq.h>
|
2019-11-20 21:29:48 +08:00
|
|
|
#include <arm/nordic/override.dtsi>
|
|
|
|
/*
|
|
|
|
* This value can be overridden at the board level or in an application specific
|
|
|
|
* dts/arm/nordic/override.dtsi file.
|
|
|
|
*/
|
|
|
|
#ifndef NRF_DEFAULT_IRQ_PRIORITY
|
|
|
|
#define NRF_DEFAULT_IRQ_PRIORITY 1
|
|
|
|
#endif
|
|
|
|
|
2021-08-10 17:22:31 +08:00
|
|
|
/ {
|
|
|
|
pinctrl: pin-controller {
|
|
|
|
/* Pin controller is a "virtual" device since nRF SoCs do pin
|
|
|
|
* control in a distributed way (GPIO registers and PSEL
|
|
|
|
* registers on each peripheral).
|
|
|
|
*/
|
|
|
|
compatible = "nordic,nrf-pinctrl";
|
|
|
|
};
|
2022-03-29 23:23:19 +08:00
|
|
|
|
|
|
|
rng_hci: entropy_bt_hci {
|
|
|
|
compatible = "zephyr,bt-hci-entropy";
|
|
|
|
status = "okay";
|
|
|
|
};
|
2021-08-10 17:22:31 +08:00
|
|
|
};
|
|
|
|
|
2019-11-25 21:16:54 +08:00
|
|
|
&systick {
|
|
|
|
/*
|
|
|
|
* Nordic SoCs rely by default on the RTC for system clock
|
|
|
|
* implementation, so the SysTick node is not to be enabled.
|
|
|
|
*/
|
|
|
|
status = "disabled";
|
|
|
|
};
|