Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

Commit

Permalink
fix: DTS bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
simensrostad committed Oct 31, 2019
1 parent 1dd49ef commit 6c6d6e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion boards/arm/nrf9160_pca10015/board_secure.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <logging/log.h>
LOG_MODULE_REGISTER(board_secure, CONFIG_BOARD_LOG_LEVEL);

#define ADP536X_I2C_DEV_NAME DT_NORDIC_NRF_I2C_I2C_2_LABEL
#define ADP536X_I2C_DEV_NAME DT_NORDIC_NRF_TWIM_I2C_2_LABEL
#define LC_MAX_READ_LENGTH 128

#define HPWR 0
Expand Down
2 changes: 2 additions & 0 deletions boards/arm/nrf9160_pca10015/nrf9160_pca10015_common.dts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
};

&i2c2 {
compatible = "nordic,nrf-twim";
status = "okay";
sda-pin = <11>;
scl-pin = <12>;
Expand All @@ -119,6 +120,7 @@
};

&spi3 {
compatible = "nordic,nrf-spim";
status = "okay";
sck-pin = <25>;
mosi-pin = <24>;
Expand Down

0 comments on commit 6c6d6e4

Please sign in to comment.