mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
fix(boards): unify board I2C configuration, use TWI driver
This commit is contained in:
committed by
Pete Johanson
parent
0239f18b61
commit
94789a092c
@@ -63,7 +63,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
compatible = "nordic,nrf-twim";
|
compatible = "nordic,nrf-twi";
|
||||||
pinctrl-0 = <&i2c0_default>;
|
pinctrl-0 = <&i2c0_default>;
|
||||||
pinctrl-1 = <&i2c0_sleep>;
|
pinctrl-1 = <&i2c0_sleep>;
|
||||||
pinctrl-names = "default", "sleep";
|
pinctrl-names = "default", "sleep";
|
||||||
@@ -71,6 +71,7 @@
|
|||||||
|
|
||||||
&uart0 {
|
&uart0 {
|
||||||
compatible = "nordic,nrf-uarte";
|
compatible = "nordic,nrf-uarte";
|
||||||
|
current-speed = <115200>;
|
||||||
pinctrl-0 = <&uart0_default>;
|
pinctrl-0 = <&uart0_default>;
|
||||||
pinctrl-1 = <&uart0_sleep>;
|
pinctrl-1 = <&uart0_sleep>;
|
||||||
pinctrl-names = "default", "sleep";
|
pinctrl-names = "default", "sleep";
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
compatible = "nordic,nrf-twim";
|
compatible = "nordic,nrf-twi";
|
||||||
pinctrl-0 = <&i2c0_default>;
|
pinctrl-0 = <&i2c0_default>;
|
||||||
pinctrl-1 = <&i2c0_sleep>;
|
pinctrl-1 = <&i2c0_sleep>;
|
||||||
pinctrl-names = "default", "sleep";
|
pinctrl-names = "default", "sleep";
|
||||||
@@ -56,6 +56,7 @@
|
|||||||
|
|
||||||
&uart0 {
|
&uart0 {
|
||||||
compatible = "nordic,nrf-uarte";
|
compatible = "nordic,nrf-uarte";
|
||||||
|
current-speed = <115200>;
|
||||||
pinctrl-0 = <&uart0_default>;
|
pinctrl-0 = <&uart0_default>;
|
||||||
pinctrl-1 = <&uart0_sleep>;
|
pinctrl-1 = <&uart0_sleep>;
|
||||||
pinctrl-names = "default", "sleep";
|
pinctrl-names = "default", "sleep";
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
compatible = "nordic,nrf-twim";
|
compatible = "nordic,nrf-twi";
|
||||||
pinctrl-0 = <&i2c0_default>;
|
pinctrl-0 = <&i2c0_default>;
|
||||||
pinctrl-1 = <&i2c0_sleep>;
|
pinctrl-1 = <&i2c0_sleep>;
|
||||||
pinctrl-names = "default", "sleep";
|
pinctrl-names = "default", "sleep";
|
||||||
@@ -56,6 +56,7 @@
|
|||||||
|
|
||||||
&uart0 {
|
&uart0 {
|
||||||
compatible = "nordic,nrf-uarte";
|
compatible = "nordic,nrf-uarte";
|
||||||
|
current-speed = <115200>;
|
||||||
pinctrl-0 = <&uart0_default>;
|
pinctrl-0 = <&uart0_default>;
|
||||||
pinctrl-1 = <&uart0_sleep>;
|
pinctrl-1 = <&uart0_sleep>;
|
||||||
pinctrl-names = "default", "sleep";
|
pinctrl-names = "default", "sleep";
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
compatible = "nordic,nrf-twim";
|
compatible = "nordic,nrf-twi";
|
||||||
pinctrl-0 = <&i2c0_default>;
|
pinctrl-0 = <&i2c0_default>;
|
||||||
pinctrl-1 = <&i2c0_sleep>;
|
pinctrl-1 = <&i2c0_sleep>;
|
||||||
pinctrl-names = "default", "sleep";
|
pinctrl-names = "default", "sleep";
|
||||||
@@ -69,6 +69,7 @@
|
|||||||
|
|
||||||
&uart0 {
|
&uart0 {
|
||||||
compatible = "nordic,nrf-uarte";
|
compatible = "nordic,nrf-uarte";
|
||||||
|
current-speed = <115200>;
|
||||||
pinctrl-0 = <&uart0_default>;
|
pinctrl-0 = <&uart0_default>;
|
||||||
pinctrl-1 = <&uart0_sleep>;
|
pinctrl-1 = <&uart0_sleep>;
|
||||||
pinctrl-names = "default", "sleep";
|
pinctrl-names = "default", "sleep";
|
||||||
|
|||||||
@@ -61,7 +61,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
compatible = "nordic,nrf-twim";
|
compatible = "nordic,nrf-twi";
|
||||||
pinctrl-0 = <&i2c0_default>;
|
pinctrl-0 = <&i2c0_default>;
|
||||||
pinctrl-1 = <&i2c0_sleep>;
|
pinctrl-1 = <&i2c0_sleep>;
|
||||||
pinctrl-names = "default", "sleep";
|
pinctrl-names = "default", "sleep";
|
||||||
@@ -69,6 +69,7 @@
|
|||||||
|
|
||||||
&uart0 {
|
&uart0 {
|
||||||
compatible = "nordic,nrf-uarte";
|
compatible = "nordic,nrf-uarte";
|
||||||
|
current-speed = <115200>;
|
||||||
pinctrl-0 = <&uart0_default>;
|
pinctrl-0 = <&uart0_default>;
|
||||||
pinctrl-1 = <&uart0_sleep>;
|
pinctrl-1 = <&uart0_sleep>;
|
||||||
pinctrl-names = "default", "sleep";
|
pinctrl-names = "default", "sleep";
|
||||||
|
|||||||
Reference in New Issue
Block a user