File tree Expand file tree Collapse file tree 3 files changed +79
-3
lines changed
boards/phytec/mimx8mm_phyboard_polis Expand file tree Collapse file tree 3 files changed +79
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2022 PHYTEC Messtechnik GmbH
2
+ * Copyright (c) 2022-2024 PHYTEC Messtechnik GmbH
3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*/
46
46
drive-strength = "x6";
47
47
};
48
48
};
49
+
50
+ ecspi1_default: ecspi1_default {
51
+ group1 {
52
+ pinmux = <&iomuxc_ecspi1_miso_ecspi_miso_ecspi1_miso>,
53
+ <&iomuxc_ecspi1_mosi_ecspi_mosi_ecspi1_mosi>,
54
+ <&iomuxc_ecspi1_sclk_ecspi_sclk_ecspi1_sclk>;
55
+ slew-rate = "fast";
56
+ drive-strength = "x6";
57
+ };
58
+ group2 {
59
+ pinmux = <&iomuxc_ecspi1_ss0_gpio_io_gpio5_io09>;
60
+ slew-rate = "fast";
61
+ drive-strength = "x6";
62
+ bias-pull-up;
63
+ };
64
+ group3 {
65
+ pinmux = <&iomuxc_sd2_wp_gpio_io_gpio2_io20>;
66
+ slew-rate = "fast";
67
+ drive-strength = "x6";
68
+ bias-pull-up;
69
+ };
70
+ };
71
+
72
+ ecspi2_default: ecspi2_default {
73
+ group1 {
74
+ pinmux = <&iomuxc_ecspi2_miso_ecspi_miso_ecspi2_miso>,
75
+ <&iomuxc_ecspi2_mosi_ecspi_mosi_ecspi2_mosi>,
76
+ <&iomuxc_ecspi2_sclk_ecspi_sclk_ecspi2_sclk>;
77
+ slew-rate = "fast";
78
+ drive-strength = "x6";
79
+ bias-pull-up;
80
+ };
81
+ group2 {
82
+ pinmux = <&iomuxc_ecspi2_ss0_gpio_io_gpio5_io13>;
83
+ slew-rate = "fast";
84
+ drive-strength = "x6";
85
+ bias-pull-up;
86
+ };
87
+ };
49
88
};
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2022 PHYTEC Messtechnik GmbH
2
+ * Copyright (c) 2022-2024 PHYTEC Messtechnik GmbH
3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*/
26
26
zephyr,sram = &tcmu_sys;
27
27
zephyr,console = &uart4;
28
28
zephyr,shell-uart = &uart4;
29
+ zephyr,canbus = &mcp2518;
29
30
};
30
31
31
32
leds {
46
47
47
48
};
48
49
50
+ &ecspi1 {
51
+ status = "disabled";
52
+ pinctrl-0 = <&ecspi1_default>;
53
+ pinctrl-names = "default";
54
+ /* first cs is for on board MCP2518, the second for SPI on expansion header */
55
+ cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>,
56
+ <&gpio2 20 GPIO_ACTIVE_LOW>;
57
+
58
+ /* CAN FD */
59
+ mcp2518: mcp2518@0 {
60
+ compatible = "microchip,mcp251xfd";
61
+ reg = <0>;
62
+ spi-max-frequency = <20000000>;
63
+ int-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
64
+ supply-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
65
+ osc-freq = <40000000>;
66
+ status = "disabled";
67
+ };
68
+ };
69
+
70
+ /*
71
+ * TPM Module TI SLB9670
72
+ * Currently there is no driver for the used module
73
+ */
74
+ &ecspi2 {
75
+ status = "disabled";
76
+ pinctrl-0 = <&ecspi2_default>;
77
+ pinctrl-names = "default";
78
+ cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
79
+ };
80
+
49
81
/* RS232 / RS485 pinheader on the board */
50
82
&uart1 {
51
83
status = "disabled";
Original file line number Diff line number Diff line change 1
1
#
2
- # Copyright (c) 2020 PHYTEC Messtechnik GmbH
2
+ # Copyright (c) 2020-2024 PHYTEC Messtechnik GmbH
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
@@ -18,4 +18,9 @@ testing:
18
18
ignore_tags :
19
19
- net
20
20
- bluetooth
21
+ supported :
22
+ - uart
23
+ - spi
24
+ - gpio
25
+ - can
21
26
vendor : nxp
You can’t perform that action at this time.
0 commit comments