boards/shields: arduino: add few zephyr_i2c labels
Some of these are allegedly ESLOV connectors and have an extra identification pin, but there's adapters on the market to use them with qwiic modules, let's label them so they can be used with other zephyr_i2c shields. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
c90c2eb0ea
commit
c1b36d7ea7
7 changed files with 7 additions and 7 deletions
|
@ -40,7 +40,7 @@
|
|||
clock-frequency = <48000000>;
|
||||
};
|
||||
|
||||
&sercom0 {
|
||||
zephyr_i2c: &sercom0 {
|
||||
status = "okay";
|
||||
compatible = "atmel,sam0-i2c";
|
||||
clock-frequency = <I2C_BITRATE_FAST>;
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
};
|
||||
|
||||
/* I2C1 in datasheet */
|
||||
&i2c1 {
|
||||
zephyr_i2c: &i2c1 {
|
||||
compatible = "nordic,nrf-twim";
|
||||
/* Cannot be used together with spi1. */
|
||||
status = "okay";
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
zephyr_i2c: &i2c1 {
|
||||
status = "disabled";
|
||||
pinctrl-0 = <&i2c1_scl_pb8 &i2c1_sda_pb9>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
};
|
||||
|
||||
/* I2C1 in datasheet */
|
||||
&i2c1 {
|
||||
zephyr_i2c: &i2c1 {
|
||||
pinctrl-0 = <&i2c1_scl_pb6 &i2c1_sda_pb7>;
|
||||
pinctrl-names = "default";
|
||||
clock-frequency = <I2C_BITRATE_FAST>;
|
||||
|
|
|
@ -117,6 +117,6 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
qwiic_i2c: &iic0 {};
|
||||
zephyr_i2c: &iic0 {};
|
||||
arduino_i2c: &iic1 {};
|
||||
arduino_spi: &spi0 {};
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <zephyr/dt-bindings/input/input-event-codes.h>
|
||||
#include <zephyr/dt-bindings/led/led.h>
|
||||
|
||||
&qwiic_i2c {
|
||||
&zephyr_i2c {
|
||||
modulino-buttons@3e {
|
||||
compatible = "i2c-device";
|
||||
reg = <0x3e>;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
&qwiic_i2c {
|
||||
&zephyr_i2c {
|
||||
modulino_smartleds: modulino-smartleds@36 {
|
||||
compatible = "arduino,modulino-smartleds";
|
||||
reg = <0x36>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue