boards: hexiwear_kw40z: Remove I2C pins and dts enablement

I2C isn't connected on the KW40Z to anything so configuring the pins
for at and having it enabled in the devicetree don't make any sense.

Additionally, the pins for I2C are currently conflicting with the UART
pins, which is another reason to remove the I2C config.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2021-04-08 20:04:08 -05:00 committed by Kumar Gala
commit 77d2ed00ca
2 changed files with 0 additions and 12 deletions

View file

@ -23,10 +23,6 @@
status = "okay";
};
&i2c1 {
status = "okay";
};
&lpuart0 {
status = "okay";
current-speed = <115200>;

View file

@ -29,14 +29,6 @@ static int hexiwear_kw40z_pinmux_init(const struct device *dev)
pinmux_pin_set(portc, 7, PORT_PCR_MUX(kPORT_MuxAlt4));
#endif
#if DT_NODE_HAS_STATUS(DT_NODELABEL(i2c1), okay) && CONFIG_I2C
/* I2C1 SCL, SDA */
pinmux_pin_set(portc, 6, PORT_PCR_MUX(kPORT_MuxAlt3)
| PORT_PCR_PS_MASK);
pinmux_pin_set(portc, 6, PORT_PCR_MUX(kPORT_MuxAlt3)
| PORT_PCR_PS_MASK);
#endif
#if DT_NODE_HAS_STATUS(DT_NODELABEL(adc0), okay) && CONFIG_ADC
/* ADC0_SE1 */
pinmux_pin_set(portb, 1, PORT_PCR_MUX(kPORT_PinDisabledOrAnalog));