i2c: mcux: Convert to supporting device tree

Update the MCUX I2C driver and related platforms to get their I2C
information from the device tree.  We also updated a few of the sensor
drivers found on the FRDM & Hexiwear boards to get their I2C bus name
from the device tree instead of directly from Kconfig.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2017-07-11 10:38:09 -05:00 committed by Kumar Gala
commit 563f8f1464
25 changed files with 199 additions and 47 deletions

View file

@ -22,6 +22,26 @@
reg = <0 0x20000>;
};
i2c0: i2c@40066000 {
compatible = "nxp,kinetis-i2c";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x40066000 0x1000>;
interrupts = <8 0>;
label = "I2C_0";
status = "disabled";
};
i2c1: i2c@40067000 {
compatible = "nxp,kinetis-i2c";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x40067000 0x1000>;
interrupts = <9 0>;
label = "I2C_1";
status = "disabled";
};
uart0: uart@4006A000 {
compatible = "nxp,kinetis-lpsci";
reg = <0x4006A000 0xc>;