Skip to content

Commit af2e66e

Browse files
rexutcfriedt
authored andcommitted
boards: nxp: frdm_mcxa153: add mikrobus labels
Added mikrobus_serial, mikrobus_spi and mikrobus_header node labels to FRDM-MCXA153 device tree board definition, allowing compatible shield boards to be used. Signed-off-by: Stephan Linz <linz@li-pro.net>
1 parent 5fe5eea commit af2e66e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

boards/nxp/frdm_mcxa153/frdm_mcxa153.dts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,25 @@
7272
};
7373
};
7474

75+
mikrobus_header: mikrobus-connector {
76+
compatible = "mikro-bus";
77+
#gpio-cells = <2>;
78+
gpio-map-mask = <0xffffffff 0xffffffc0>;
79+
gpio-map-pass-thru = <0 0x3f>;
80+
gpio-map = <0 0 &gpio3 30 0>, /* AN */
81+
<1 0 &gpio3 1 0>, /* RST */
82+
<2 0 &gpio1 3 0>, /* CS */
83+
<3 0 &gpio1 1 0>, /* SCK */
84+
<4 0 &gpio1 2 0>, /* MISO */
85+
<5 0 &gpio1 0 0>, /* MOSI */
86+
<6 0 &gpio3 12 0>, /* PWM */
87+
<7 0 &gpio2 5 0>, /* INT */
88+
<8 0 &gpio3 14 0>, /* RX */
89+
<9 0 &gpio3 15 0>, /* TX */
90+
<10 0 &gpio3 27 0>, /* GPIO, Not a SCL */
91+
<11 0 &gpio3 28 0>; /* GPIO, Not a SDA */
92+
};
93+
7594
arduino_header: arduino-connector {
7695
compatible = "arduino-header-r3";
7796
#gpio-cells = <2>;
@@ -207,6 +226,8 @@ arduino_i2c: &lpi2c0 {};
207226
pinctrl-names = "default";
208227
};
209228

229+
mikrobus_spi: &lpspi0 {};
230+
210231
&lpspi1 {
211232
status = "okay";
212233
pinctrl-0 = <&pinmux_lpspi1>;
@@ -233,6 +254,8 @@ arduino_spi: &lpspi1 {};
233254
pinctrl-names = "default";
234255
};
235256

257+
mikrobus_serial: &lpuart2 {};
258+
236259
/*
237260
* Uses OS timer as the kernel timer
238261
*/

0 commit comments

Comments
 (0)