Skip to content

Commit 4560b0a

Browse files
committed
dts: nxp: kinetis: populate MKW40Z pinctrl dtsi
Add the pin configuations we need specifically for the Hexiwear KW40Z as its the only board utilizing this SoC. Signed-off-by: Kumar Gala <[email protected]>
1 parent ad8de4f commit 4560b0a

File tree

1 file changed

+34
-2
lines changed

1 file changed

+34
-2
lines changed

dts/nxp/kinetis/MKW40Z160VHT4-pinctrl.dtsi

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,38 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
/* placeholder for now, we don't have signal_configuration.xml for the MKW40Z
8-
* we'll hand create this for the needs of the hexiwear KW40Z board
7+
/* This file is handcoded based on what pin configurations are actually
8+
* used by boards in Zephyr. At this time that is only the Hexiwear KW40Z.
99
*/
10+
11+
/*
12+
* Pin nodes are of the form:
13+
*
14+
* <SIGNAL[0..n]>: <signal[0]> {
15+
* nxp,kinetis-port-pins = < PIN PCR[MUX] >;
16+
* };
17+
*/
18+
19+
&portb {
20+
ADC0_SE1_PTB1: CMP0_IN5_PTB1: adc0_se1_ptb1 {
21+
nxp,kinetis-port-pins = < 1 0 >;
22+
};
23+
PTB1: GPIOB_PTB1: gpiob_ptb1 {
24+
nxp,kinetis-port-pins = < 1 1 >;
25+
};
26+
};
27+
28+
&portc {
29+
PTC6: GPIOC_PTC6: LLWU_P14_PTC6: gpioc_ptc6 {
30+
nxp,kinetis-port-pins = < 6 1 >;
31+
};
32+
UART0_RX_PTC6: uart0_rx_ptc6 {
33+
nxp,kinetis-port-pins = < 6 4 >;
34+
};
35+
PTC7: GPIOC_PTC7: LLWU_P15_PTC7: gpioc_ptc7 {
36+
nxp,kinetis-port-pins = < 7 1 >;
37+
};
38+
UART0_TX_PTC7: uart0_tx_ptc7 {
39+
nxp,kinetis-port-pins = < 7 4 >;
40+
};
41+
};

0 commit comments

Comments
 (0)