boards: dts: Configure lpc flexcomm nodes as i2c at the board level
Don't assume in the soc level device trees that flexcomm nodes will always be configured as i2c. Instead, configure flexcomm nodes at the board level for lpcxpresso55s69 and lpcxpresso54114 boards. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
fafdfba6bb
commit
dd6038d954
6 changed files with 20 additions and 16 deletions
|
@ -31,6 +31,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
arduino_i2c: &i2c4 {};
|
||||
arduino_i2c: &flexcomm4 {
|
||||
compatible = "nxp,lpc-i2c";
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
arduino_spi: &spi5 {};
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
&flexcomm4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -31,7 +31,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
arduino_i2c: &i2c4 {
|
||||
arduino_i2c: &flexcomm4 {
|
||||
compatible = "nxp,lpc-i2c";
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
mma8652fc@1d {
|
||||
compatible = "nxp,fxos8700","nxp,mma8652fc";
|
||||
reg = <0x1d>;
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c4 {
|
||||
&flexcomm4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -92,15 +92,12 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
i2c4: i2c@4008a000 {
|
||||
compatible = "nxp,lpc-i2c";
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
flexcomm4: flexcomm@4008a000 {
|
||||
compatible = "nxp,lpc-flexcomm";
|
||||
reg = <0x4008a000 0x1000>;
|
||||
interrupts = <18 0>;
|
||||
label = "I2C_4";
|
||||
label = "FLEXCOMM_4";
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
spi5: spi@40096000 {
|
||||
|
|
|
@ -144,15 +144,12 @@
|
|||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
i2c4: i2c@5008a000 {
|
||||
compatible = "nxp,lpc-i2c";
|
||||
clock-frequency = <I2C_BITRATE_STANDARD>;
|
||||
flexcomm4: flexcomm@5008a000 {
|
||||
compatible = "nxp,lpc-flexcomm";
|
||||
reg = <0x5008a000 0x1000>;
|
||||
interrupts = <18 0>;
|
||||
label = "I2C_4";
|
||||
label = "FLEXCOMM_4";
|
||||
status = "disabled";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
spi8: spi@5009f000 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue