boards: nxp: frdm_ke17z: enable i2c driver

Added lpi2c support for NXP FRDM-KE17Z board, which has only one
instance of lpi2c0.

Signed-off-by: Anke Xiao <anke.xiao@nxp.com>
This commit is contained in:
Anke Xiao 2024-06-14 18:33:58 +08:00 committed by Carles Cufí
commit 08799ada6a
4 changed files with 19 additions and 0 deletions

View file

@ -59,6 +59,8 @@ features:
+-----------+------------+-------------------------------------+
| UART | on-chip | uart |
+-----------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+-----------+------------+-------------------------------------+
The default configuration can be found in the defconfig file:
:zephyr_file:`boards/nxp/frdm_ke17z/frdm_ke17z_defconfig`.

View file

@ -17,4 +17,14 @@
slew-rate = "slow";
};
};
lpi2c0_default: lpi2c0_default {
group0 {
pinmux = <LPI2C0_SDA_PTA16>,
<LPI2C0_SCL_PTB8>;
bias-pull-up;
drive-strength = "low";
slew-rate = "slow";
};
};
};

View file

@ -67,6 +67,12 @@
pinctrl-names = "default";
};
&lpi2c0 {
status = "okay";
pinctrl-0 = <&lpi2c0_default>;
pinctrl-names = "default";
};
&gpiod {
status = "okay";
};

View file

@ -11,4 +11,5 @@ toolchain:
supported:
- gpio
- uart
- i2c
vendor: nxp