summaryrefslogtreecommitdiff
path: root/gnss/nrf9161dk_nrf9161_ns.overlay
diff options
context:
space:
mode:
authorMichal Hanus <mikehanus@protonmail.com>2025-04-21 19:32:34 +0200
committerMichal Hanus <mikehanus@protonmail.com>2025-04-21 19:32:34 +0200
commit0dee9f28ef79d54ec06f460b5e1deb10a8efd303 (patch)
tree56e5425a56c334cf1154057ff082a4b4b08d990b /gnss/nrf9161dk_nrf9161_ns.overlay
parentd0cb33ee5f84bc5dd4358df040b1b21dde7aed42 (diff)
bck
Diffstat (limited to 'gnss/nrf9161dk_nrf9161_ns.overlay')
-rw-r--r--gnss/nrf9161dk_nrf9161_ns.overlay47
1 files changed, 47 insertions, 0 deletions
diff --git a/gnss/nrf9161dk_nrf9161_ns.overlay b/gnss/nrf9161dk_nrf9161_ns.overlay
new file mode 100644
index 0000000..50a7e92
--- /dev/null
+++ b/gnss/nrf9161dk_nrf9161_ns.overlay
@@ -0,0 +1,47 @@
+// To get started, press Ctrl+Space 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://docs.nordicsemi.com/bundle/nrf-connect-vscode/page/guides/ncs_configure_app.html#devicetree-support-in-the-extension
+
+&i2c2 {
+ status = "okay";
+ pinctrl-0 = <&i2c2_default>;
+ pinctrl-1 = <&i2c2_sleep>;
+ pinctrl-names = "default", "sleep";
+ /*mysensor: mysensor@77{
+ compatible = "i2c-device";
+ status = "okay";
+ reg = < 0x77 >;
+ };
+ */
+ bme688@77 {
+ compatible = "bosch,bme680";
+ reg = <0x77>;
+ status = "okay";
+ };
+};
+
+&pinctrl {
+ /omit-if-no-ref/ i2c2_default: i2c2_default {
+ group1 {
+ psels = <NRF_PSEL(TWIM_SCL, 0, 8)>,
+ <NRF_PSEL(TWIM_SDA, 0, 9)>;
+ };
+ };
+
+ /omit-if-no-ref/ i2c2_sleep: i2c2_sleep {
+ group1 {
+ psels = <NRF_PSEL(TWIM_SCL, 0, 8)>,
+ <NRF_PSEL(TWIM_SDA, 0, 9)>;
+ low-power-enable;
+ };
+ };
+}; \ No newline at end of file