51 lines
1.2 KiB
Text
51 lines
1.2 KiB
Text
// To get started, press Ctrl+Space (or Option+Esc) to bring up the completion menu and view the available nodes.
|
|
|
|
// You can also use the buttons in the sidebar to perform actions on nodes.
|
|
// Actions currently available include:
|
|
|
|
// * Enabling / disabling the node
|
|
// * Adding the bus to a bus
|
|
// * Removing the node
|
|
// * Connecting ADC channels
|
|
|
|
// For more help, browse the DeviceTree documentation at https: //docs.zephyrproject.org/latest/guides/dts/index.html
|
|
// You can also visit the nRF DeviceTree extension documentation at https: //nrfconnect.github.io/vscode-nrf-connect/devicetree/nrfdevicetree.html
|
|
|
|
&pinctrl {
|
|
pwm0_default: pwm0_default {
|
|
group1 {
|
|
psels = <NRF_PSEL(PWM_OUT0, 0, 5)>;
|
|
nordic,invert;
|
|
};
|
|
};
|
|
|
|
pwm0_sleep: pwm0_sleep {
|
|
group1 {
|
|
psels = <NRF_PSEL(PWM_OUT0, 0, 5)>;
|
|
low-power-enable;
|
|
};
|
|
};
|
|
|
|
i2c0_default: i2c0_default {
|
|
group1 {
|
|
psels = <NRF_PSEL(TWIM_SDA, 0, 24)>,
|
|
<NRF_PSEL(TWIM_SCL, 0, 13)>;
|
|
};
|
|
};
|
|
|
|
i2c0_sleep: i2c0_sleep {
|
|
group1 {
|
|
psels = <NRF_PSEL(TWIM_SDA, 0, 24)>,
|
|
<NRF_PSEL(TWIM_SCL, 0, 13)>;
|
|
low-power-enable;
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c0 {
|
|
shtc3: shtc3@70 {
|
|
compatible = "i2c-device";
|
|
reg = <0x70>;
|
|
label = "SHTC3";
|
|
};
|
|
};
|