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:
parent
5b3a71a810
commit
563f8f1464
25 changed files with 199 additions and 47 deletions
|
@ -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>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue