diff options
| author | Michal Hanus <hanus.michal@divelit.cz> | 2025-04-23 13:43:14 +0200 |
|---|---|---|
| committer | Michal Hanus <hanus.michal@divelit.cz> | 2025-04-23 13:43:14 +0200 |
| commit | d1c04e8b36bc206eb520f7b79183d5c015855252 (patch) | |
| tree | 469857024814e16b8ed27c52c5b8689358455f33 /gnss/nrf9161dk_nrf9161_ns.overlay | |
| parent | 851d92974af6cefa00de1379dad8b8076c2dd107 (diff) | |
| parent | 0dee9f28ef79d54ec06f460b5e1deb10a8efd303 (diff) | |
Merge remote-tracking branch 'refs/remotes/xyz/master'
Diffstat (limited to 'gnss/nrf9161dk_nrf9161_ns.overlay')
| -rw-r--r-- | gnss/nrf9161dk_nrf9161_ns.overlay | 47 |
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 |
