File tree Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Expand file tree Collapse file tree 3 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 26
26
drive-strength = "x5";
27
27
};
28
28
};
29
+
30
+ i2c1_default: i2c1_default {
31
+ group0 {
32
+ pinmux = <&iomuxc1_i2c1_scl_lpi2c_scl_lpi2c1_scl>,
33
+ <&iomuxc1_i2c1_sda_lpi2c_sda_lpi2c1_sda>;
34
+ drive-strength = "x5";
35
+ drive-open-drain;
36
+ slew-rate = "fast";
37
+ input-enable;
38
+ };
39
+ };
40
+
41
+ i2c2_default: i2c2_default {
42
+ group0 {
43
+ pinmux = <&iomuxc1_i2c2_scl_lpi2c_scl_lpi2c2_scl>,
44
+ <&iomuxc1_i2c2_sda_lpi2c_sda_lpi2c2_sda>;
45
+ drive-strength = "x5";
46
+ drive-open-drain;
47
+ slew-rate = "fast";
48
+ input-enable;
49
+ };
50
+ };
51
+
52
+ i2c3_default: i2c3_default {
53
+ group0 {
54
+ pinmux = <&iomuxc1_gpio_io01_lpi2c_scl_lpi2c3_scl>,
55
+ <&iomuxc1_gpio_io00_lpi2c_sda_lpi2c3_sda>;
56
+ drive-strength = "x5";
57
+ drive-open-drain;
58
+ slew-rate = "fast";
59
+ input-enable;
60
+ };
61
+ };
62
+
63
+ i2c4_default: i2c4_default {
64
+ group0 {
65
+ pinmux = <&iomuxc1_gpio_io03_lpi2c_scl_lpi2c4_scl>,
66
+ <&iomuxc1_gpio_io02_lpi2c_sda_lpi2c4_sda>;
67
+ drive-strength = "x5";
68
+ drive-open-drain;
69
+ slew-rate = "fast";
70
+ input-enable;
71
+ };
72
+ };
73
+
29
74
};
Original file line number Diff line number Diff line change 45
45
pinctrl-0 = <&uart2_default>;
46
46
pinctrl-names = "default";
47
47
};
48
+
49
+
50
+ &lpi2c1{
51
+ status = "disabled";
52
+ clock-frequency = <I2C_BITRATE_FAST>;
53
+ pinctrl-0 = <&i2c1_default>;
54
+ pinctrl-names = "default";
55
+ };
56
+
57
+ &lpi2c2{
58
+ status = "disabled";
59
+ clock-frequency = <I2C_BITRATE_FAST>;
60
+ pinctrl-0 = <&i2c2_default>;
61
+ pinctrl-names = "default";
62
+ };
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ toolchain:
6
6
- zephyr
7
7
- cross-compile
8
8
ram : 1024
9
+ supported :
10
+ - uart
11
+ - i2c
9
12
testing :
10
13
ignore_tags :
11
14
- net
You can’t perform that action at this time.
0 commit comments