From 0dee9f28ef79d54ec06f460b5e1deb10a8efd303 Mon Sep 17 00:00:00 2001 From: Michal Hanus Date: Mon, 21 Apr 2025 19:32:34 +0200 Subject: bck --- gnss/nrf9161dk_nrf9161_ns.overlay | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 gnss/nrf9161dk_nrf9161_ns.overlay (limited to 'gnss/nrf9161dk_nrf9161_ns.overlay') 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 = , + ; + }; + }; + + /omit-if-no-ref/ i2c2_sleep: i2c2_sleep { + group1 { + psels = , + ; + low-power-enable; + }; + }; +}; \ No newline at end of file -- cgit v1.2.3