Skip to content

Commit 80981dc

Browse files
committed
boards: arm: nxp: Add pinctrl-names
Add "pinctrl-names" property for "default" to all NXP kinetis based boards. Signed-off-by: Kumar Gala <[email protected]>
1 parent 4183395 commit 80981dc

File tree

11 files changed

+54
-0
lines changed

11 files changed

+54
-0
lines changed

boards/arm/frdm_k22f/frdm_k22f.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
arduino_i2c: &i2c0 {
126126
status = "okay";
127127
pinctrl-0 = <&I2C0_SCL_PTB2 &I2C0_SDA_PTB3>;
128+
pinctrl-names = "default";
128129

129130
fxos8700@1c {
130131
compatible = "nxp,fxos8700";
@@ -147,23 +148,27 @@ arduino_spi: &spi0 {
147148
status = "okay";
148149
pinctrl-0 = <&SPI0_PCS4_PTC0 &SPI0_SCK_PTD1
149150
&SPI0_SOUT_PTD2 &SPI0_SIN_PTD3>;
151+
pinctrl-names = "default";
150152
};
151153

152154
&ftm0 {
153155
status = "okay";
154156
compatible = "nxp,kinetis-ftm-pwm";
155157
#pwm-cells = <3>;
156158
pinctrl-0 = <&FTM0_CH6_PTA1 &FTM0_CH7_PTA2 &FTM0_CH5_PTD5>;
159+
pinctrl-names = "default";
157160
};
158161

159162
&uart1 {
160163
status = "okay";
161164
current-speed = <115200>;
162165
pinctrl-0 = <&UART1_RX_PTE1 &UART1_TX_PTE0>;
166+
pinctrl-names = "default";
163167
};
164168

165169
&uart2 {
166170
pinctrl-0 = <&UART2_RX_PTD2 &UART2_TX_PTD3>;
171+
pinctrl-names = "default";
167172
};
168173

169174
zephyr_udc0: &usbotg {

boards/arm/frdm_k64f/frdm_k64f.dts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ arduino_serial: &uart3 {
9696
status = "okay";
9797
current-speed = <115200>;
9898
pinctrl-0 = <&UART3_RX_PTC16 &UART3_TX_PTC17>;
99+
pinctrl-names = "default";
99100
};
100101

101102
&cpu0 {
@@ -122,6 +123,7 @@ arduino_serial: &uart3 {
122123
arduino_i2c: &i2c0 {
123124
status = "okay";
124125
pinctrl-0 = <&I2C0_SCL_PTE24 &I2C0_SDA_PTE25>;
126+
pinctrl-names = "default";
125127

126128
fxos8700@1d {
127129
compatible = "nxp,fxos8700";
@@ -135,30 +137,35 @@ arduino_i2c: &i2c0 {
135137
arduino_spi: &spi0 {
136138
status = "okay";
137139
pinctrl-0 = <&SPI0_PCS0_PTD0 &SPI0_SCK_PTD1 &SPI0_SOUT_PTD2 &SPI0_SIN_PTD3>;
140+
pinctrl-names = "default";
138141
};
139142

140143
&ftm0 {
141144
status = "okay";
142145
compatible = "nxp,kinetis-ftm-pwm";
143146
#pwm-cells = <3>;
144147
pinctrl-0 = <&FTM0_CH0_PTC1>;
148+
pinctrl-names = "default";
145149
};
146150

147151
&ftm3 {
148152
status = "okay";
149153
compatible = "nxp,kinetis-ftm-pwm";
150154
#pwm-cells = <3>;
151155
pinctrl-0 = <&FTM3_CH4_PTC8 &FTM3_CH5_PTC9>;
156+
pinctrl-names = "default";
152157
};
153158

154159
&uart0 {
155160
status = "okay";
156161
current-speed = <115200>;
157162
pinctrl-0 = <&UART0_RX_PTB16 &UART0_TX_PTB17>;
163+
pinctrl-names = "default";
158164
};
159165

160166
&uart2 {
161167
pinctrl-0 = <&UART2_RTS_b_PTD0 &UART2_CTS_b_PTD1 &UART2_RX_PTD2 &UART2_TX_PTD3>;
168+
pinctrl-names = "default";
162169
};
163170

164171
zephyr_udc0: &usbotg {
@@ -232,10 +239,12 @@ zephyr_udc0: &usbotg {
232239
&RMII0_TXEN_PTA15 &RMII0_TXD0_PTA16
233240
&RMII0_TXD1_PTA17 &RMII0_MDIO_PTB0
234241
&RMII0_MDC_PTB1>;
242+
pinctrl-names = "default";
235243
ptp {
236244
status = "okay";
237245
pinctrl-0 = <&ENET0_1588_TMR0_PTC16 &ENET0_1588_TMR1_PTC17
238246
&ENET0_1588_TMR2_PTC18>;
247+
pinctrl-names = "default";
239248
};
240249
};
241250

@@ -247,6 +256,7 @@ zephyr_udc0: &usbotg {
247256
&flexcan0 {
248257
status = "okay";
249258
pinctrl-0 = <&CAN0_TX_PTB18 &CAN0_RX_PTB19>;
259+
pinctrl-names = "default";
250260
bus-speed = <125000>;
251261
};
252262

boards/arm/frdm_k82f/frdm_k82f.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
&adc0 {
115115
status = "okay";
116116
pinctrl-0 = <&ADC0_SE15_PTC1>;
117+
pinctrl-names = "default";
117118
};
118119

119120
&gpioa {
@@ -169,6 +170,7 @@
169170
&i2c3 {
170171
status = "okay";
171172
pinctrl-0 = <&I2C3_SDA_PTA1 &I2C3_SCL_PTA2>;
173+
pinctrl-names = "default";
172174

173175
fxos8700@1c {
174176
compatible = "nxp,fxos8700";
@@ -189,6 +191,7 @@
189191
&lpuart4 {
190192
status = "okay";
191193
pinctrl-0 = <&LPUART4_RX_PTC14 &LPUART4_TX_PTC15>;
194+
pinctrl-names = "default";
192195
current-speed = <115200>;
193196
};
194197

@@ -197,13 +200,15 @@
197200
compatible = "nxp,kinetis-ftm-pwm";
198201
#pwm-cells = <3>;
199202
pinctrl-0 = <&FTM3_CH4_PTC8 &FTM3_CH5_PTC9 &FTM3_CH6_PTC10>;
203+
pinctrl-names = "default";
200204
};
201205

202206
&spi1 {
203207
status = "okay";
204208

205209
pinctrl-0 = <&SPI1_SCK_PTE1 &SPI1_SOUT_PTE2
206210
&SPI1_SIN_PTE4 &SPI1_PCS0_PTE5>;
211+
pinctrl-names = "default";
207212

208213
mx25u32: mx25u3235f@0 {
209214
compatible = "jedec,spi-nor";
@@ -236,6 +241,7 @@ zephyr_udc0: &usbotg {
236241
arduino_i2c: &i2c0 {
237242
status = "okay";
238243
pinctrl-0 = <&I2C0_SDA_PTB3 &I2C0_SCL_PTB2>;
244+
pinctrl-names = "default";
239245
};
240246

241247
&I2C0_SDA_PTB3 {
@@ -249,4 +255,5 @@ arduino_i2c: &i2c0 {
249255
arduino_spi: &spi0 {
250256
status = "okay";
251257
pinctrl-0 = <&SPI0_SCK_PTD1 &SPI0_SOUT_PTD2 &SPI0_SIN_PTD3 &SPI0_PCS1_PTD4>;
258+
pinctrl-names = "default";
252259
};

boards/arm/frdm_kl25z/frdm_kl25z.dts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,13 @@
9393
&adc0 {
9494
status = "okay";
9595
pinctrl-0 = <&ADC0_SE12_PTB2>;
96+
pinctrl-names = "default";
9697
};
9798

9899
&i2c0 {
99100
status = "okay";
100101
pinctrl-0 = <&I2C0_SCL_PTE24 &I2C0_SDA_PTE25>;
102+
pinctrl-names = "default";
101103

102104
mma8451q@1d {
103105
compatible = "nxp,fxos8700","nxp,mma8451q";
@@ -120,6 +122,7 @@
120122
status = "okay";
121123
current-speed = <115200>;
122124
pinctrl-0 = <&UART0_RX_PTA1 &UART0_TX_PTA2>;
125+
pinctrl-names = "default";
123126
};
124127

125128
&gpioa {

boards/arm/frdm_kw41z/frdm_kw41z.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,13 @@
110110
&adc0 {
111111
status = "okay";
112112
pinctrl-0 = <&ADC0_SE3_PTB2>;
113+
pinctrl-names = "default";
113114
};
114115

115116
&i2c1 {
116117
status = "okay";
117118
pinctrl-0 = <&I2C1_SCL_PTC2 &I2C1_SDA_PTC3>;
119+
pinctrl-names = "default";
118120

119121
fxos8700@1f {
120122
compatible = "nxp,fxos8700";
@@ -135,6 +137,7 @@
135137
&lpuart0 {
136138
status = "okay";
137139
pinctrl-0 = <&UART0_RX_PTC6 &UART0_TX_PTC7>;
140+
pinctrl-names = "default";
138141
current-speed = <115200>;
139142
};
140143

@@ -150,11 +153,13 @@
150153
status = "okay";
151154
pinctrl-0 = <&SPI0_SCK_PTC16 &SPI0_SOUT_PTC17
152155
&SPI0_SIN_PTC18 &SPI0_PCS0_PTC19>;
156+
pinctrl-names = "default";
153157
};
154158

155159
&tpm0 {
156160
status = "okay";
157161
pinctrl-0 = <&TPM0_CH2_PTC1>;
162+
pinctrl-names = "default";
158163
};
159164

160165
&tpm1 {
@@ -164,4 +169,5 @@
164169
&tpm2 {
165170
status = "okay";
166171
pinctrl-0 = <&TPM2_CH1_PTA19 &TPM2_CH0_PTA18>;
172+
pinctrl-names = "default";
167173
};

boards/arm/hexiwear_k64/hexiwear_k64.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,13 @@
8181
compatible = "nxp,kinetis-ftm-pwm";
8282
#pwm-cells = <3>;
8383
pinctrl-0 = <&FTM3_CH4_PTC8 &FTM3_CH5_PTC9 &FTM3_CH0_PTD0>;
84+
pinctrl-names = "default";
8485
};
8586

8687
&i2c0 {
8788
status = "okay";
8889
pinctrl-0 = <&I2C0_SCL_PTB0 &I2C0_SDA_PTB1>;
90+
pinctrl-names = "default";
8991

9092
max30101@57 {
9193
status = "disabled";
@@ -106,6 +108,7 @@
106108
&i2c1 {
107109
status = "okay";
108110
pinctrl-0 = <&I2C1_SCL_PTC10 &I2C1_SDA_PTC11>;
111+
pinctrl-names = "default";
109112

110113
fxos8700@1e {
111114
compatible = "nxp,fxos8700";
@@ -136,12 +139,14 @@
136139
status = "okay";
137140
current-speed = <115200>;
138141
pinctrl-0 = <&UART0_RX_PTB16 &UART0_TX_PTB17>;
142+
pinctrl-names = "default";
139143
};
140144

141145
&uart4 {
142146
status = "okay";
143147
current-speed = <115200>;
144148
pinctrl-0 = <&UART4_RX_PTE25 &UART4_TX_PTE24>;
149+
pinctrl-names = "default";
145150
};
146151

147152
&gpiob {

boards/arm/hexiwear_kw40z/hexiwear_kw40z.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@
2222
&adc0 {
2323
status = "okay";
2424
pinctrl-0 = <&ADC0_SE1_PTB1>;
25+
pinctrl-names = "default";
2526
};
2627

2728
&lpuart0 {
2829
status = "okay";
2930
current-speed = <115200>;
3031
pinctrl-0 = <&UART0_RX_PTC6 &UART0_TX_PTC7>;
32+
pinctrl-names = "default";
3133
};
3234

3335
&gpioa {

boards/arm/ip_k66f/ip_k66f.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
&RMII0_CRS_DV_PTA14 &RMII0_TXEN_PTA15
108108
&RMII0_TXD0_PTA16 &RMII0_TXD1_PTA17
109109
&ENET_1588_CLKIN_PTE26 /* used for RMII ref clk */>;
110+
pinctrl-names = "default";
110111

111112
fixed-link {
112113
speed = <100>;
@@ -118,6 +119,7 @@
118119
status = "okay";
119120
pinctrl-0 = <&SPI1_PCS0_PTB10 &SPI1_SCK_PTB11
120121
&SPI1_SOUT_PTB16 &SPI1_SIN_PTB17>;
122+
pinctrl-names = "default";
121123

122124
clock-frequency = <44000000>;
123125
cs-gpios = <&gpioe 4 GPIO_ACTIVE_LOW>;

boards/arm/twr_ke18f/twr_ke18f.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
clkout-source = <1>;
141141
clkout-divider = <0>;
142142
pinctrl-0 = <&CLKOUT_PTE10>;
143+
pinctrl-names = "default";
143144
};
144145

145146
&scg {
@@ -207,13 +208,15 @@
207208
status = "okay";
208209
current-speed = <115200>;
209210
pinctrl-0 = <&LPUART0_RX_PTB0 &LPUART0_TX_PTB1>;
211+
pinctrl-names = "default";
210212
};
211213

212214
&ftm0 {
213215
status = "okay";
214216
compatible = "nxp,kinetis-ftm-pwm";
215217
#pwm-cells = <3>;
216218
pinctrl-0 = <&FTM0_CH0_PTD15 &FTM0_CH1_PTD16 &FTM0_CH5_PTB5>;
219+
pinctrl-names = "default";
217220
};
218221

219222
&ftm3 {
@@ -222,11 +225,13 @@
222225
#pwm-cells = <3>;
223226
pinctrl-0 = <&FTM3_CH4_PTC10 &FTM3_CH5_PTC11
224227
&FTM3_CH6_PTC12 &FTM3_CH7_PTC13>;
228+
pinctrl-names = "default";
225229
};
226230

227231
&lpi2c0 {
228232
status = "okay";
229233
pinctrl-0 = <&LPI2C0_SDA_PTA2 &LPI2C0_SCL_PTA3>;
234+
pinctrl-names = "default";
230235

231236
fxos8700: fxos8700@1d {
232237
compatible = "nxp,fxos8700";
@@ -239,29 +244,34 @@
239244
&lpi2c1 {
240245
status = "okay";
241246
pinctrl-0 = <&LPI2C1_SDA_PTD8 &LPI2C1_SCL_PTD9>;
247+
pinctrl-names = "default";
242248
};
243249

244250
&lpspi0 {
245251
status = "okay";
246252
pinctrl-0 = <&LPSPI0_SCK_PTE0 &LPSPI0_SIN_PTE1
247253
&LPSPI0_SOUT_PTE2 &LPSPI0_PCS2_PTE6>;
254+
pinctrl-names = "default";
248255
};
249256

250257
&lpspi1 {
251258
status = "okay";
252259
pinctrl-0 = <&LPSPI1_SCK_PTD0 &LPSPI1_SIN_PTD1
253260
&LPSPI1_SOUT_PTD2 &LPSPI1_PCS0_PTD3>;
261+
pinctrl-names = "default";
254262
};
255263

256264
&dac0 {
257265
status = "okay";
258266
pinctrl-0 = <&DAC0_OUT_PTE9>;
267+
pinctrl-names = "default";
259268
};
260269

261270
&adc0 {
262271
status = "okay";
263272
sample-time = <12>;
264273
pinctrl-0 = <&ADC0_SE0_PTA0 &ADC0_SE1_PTA1 &ADC0_SE12_PTC14>;
274+
pinctrl-names = "default";
265275
};
266276

267277
&temp0 {
@@ -272,6 +282,7 @@
272282
status = "okay";
273283
bus-speed = <125000>;
274284
pinctrl-0 = <&CAN0_RX_PTE4 &CAN0_TX_PTE5>;
285+
pinctrl-names = "default";
275286
};
276287

277288
&gpioa {

boards/arm/twr_kv58f220m/twr_kv58f220m.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
&i2c1 {
133133
status = "okay";
134134
pinctrl-0 = <&I2C1_SCL_PTD8 &I2C1_SDA_PTD9>;
135+
pinctrl-names = "default";
135136

136137
fxos8700@1c {
137138
compatible = "nxp,fxos8700";
@@ -154,4 +155,5 @@
154155
status = "okay";
155156
current-speed = <115200>;
156157
pinctrl-0 = <&UART0_RX_PTB0 &UART0_TX_PTB1>;
158+
pinctrl-names = "default";
157159
};

0 commit comments

Comments
 (0)