i2c: mcux: Remove usage of CONFIG_I2C_x_DEFAULT_CFG
Stop using CONFIG_I2C_x_DEFAULT_CFG to get the initial value. Since we only support master mode we always default to it for initial config and we get the bitrate from the device tree. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
250e674a66
commit
54933b3833
14 changed files with 27 additions and 47 deletions
|
@ -1,4 +1,5 @@
|
|||
#include <arm/armv7-m.dtsi>
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
|
||||
/ {
|
||||
cpus {
|
||||
|
@ -76,6 +77,7 @@
|
|||
|
||||
i2c0: i2c@40066000 {
|
||||
compatible = "nxp,kinetis-i2c";
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x40066000 0x1000>;
|
||||
|
@ -86,6 +88,7 @@
|
|||
|
||||
i2c1: i2c@40067000 {
|
||||
compatible = "nxp,kinetis-i2c";
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x40067000 0x1000>;
|
||||
|
@ -96,6 +99,7 @@
|
|||
|
||||
i2c2: i2c@400e6000 {
|
||||
compatible = "nxp,kinetis-i2c";
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x400e6000 0x1000>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue