File tree Expand file tree Collapse file tree 4 files changed +26
-0
lines changed Expand file tree Collapse file tree 4 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ The ``frdm_mcxc444`` board target supports the following hardware features:
55
55
+-----------+------------+-------------------------------------+
56
56
| FLASH | on-chip | soc flash |
57
57
+-----------+------------+-------------------------------------+
58
+ | I2C | on-chip | i2c |
59
+ +-----------+------------+-------------------------------------+
58
60
| LPTMR | on-chip | counter |
59
61
+-----------+------------+-------------------------------------+
60
62
| PIT | on-chip | counter |
Original file line number Diff line number Diff line change 8
8
#include <nxp/mcx/MCXC444VLH-pinctrl.h>
9
9
10
10
&pinctrl {
11
+ pinmux_i2c0: pinmux_i2c0 {
12
+ group0 {
13
+ pinmux = <I2C0_SCL_PTE24>,
14
+ <I2C0_SDA_PTE25>;
15
+ drive-strength = "low";
16
+ drive-open-drain;
17
+ slew-rate = "fast";
18
+ };
19
+ };
11
20
pinmux_lpuart0: pinmux_lpuart0 {
12
21
group0 {
13
22
pinmux = <LPUART0_RX_PTA1>,
Original file line number Diff line number Diff line change 20
20
led2 = &red_led;
21
21
sw0 = &user_button_2;
22
22
sw1 = &user_button_3;
23
+ accel0 = &fxls8974;
23
24
};
24
25
25
26
chosen {
90
91
status = "okay";
91
92
};
92
93
94
+ i2c0: &i2c0 {
95
+ status = "okay";
96
+ pinctrl-0 = <&pinmux_i2c0>;
97
+ pinctrl-names = "default";
98
+
99
+ fxls8974: fxls8974@18 {
100
+ status = "okay";
101
+ compatible = "nxp,fxls8974";
102
+ reg = <0x18>;
103
+ int1-gpios = <&gpiod 1 GPIO_ACTIVE_LOW>;
104
+ };
105
+ };
106
+
93
107
&lpuart0 {
94
108
status = "okay";
95
109
current-speed = <115200>;
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ supported:
18
18
- counter
19
19
- flash
20
20
- gpio
21
+ - i2c
21
22
- uart
22
23
testing :
23
24
ignore_tags :
You can’t perform that action at this time.
0 commit comments