boards: renesas: ek_ra8m1: added mikrobus node labels
Added mikrobus_serial and mikrobus_header node labels to EK-RA8M1 device tree board definition, allowing compatible shield boards to be used. Signed-off-by: Ian Morris <ian.d.morris@outlook.com>
This commit is contained in:
parent
a2e0b1d366
commit
33ce6845a9
2 changed files with 63 additions and 0 deletions
|
@ -4,6 +4,18 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
&pinctrl {
|
&pinctrl {
|
||||||
|
sci3_default: sci3_default {
|
||||||
|
group1 {
|
||||||
|
/* tx */
|
||||||
|
psels = <RA_PSEL(RA_PSEL_SCI_3, 3, 10)>;
|
||||||
|
drive-strength = "medium";
|
||||||
|
};
|
||||||
|
group2 {
|
||||||
|
/* rx */
|
||||||
|
psels = <RA_PSEL(RA_PSEL_SCI_3, 3, 9)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
sci9_default: sci9_default {
|
sci9_default: sci9_default {
|
||||||
group1 {
|
group1 {
|
||||||
/* tx */
|
/* tx */
|
||||||
|
|
|
@ -37,6 +37,29 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mikrobus_header: mikrobus-connector {
|
||||||
|
compatible = "mikro-bus";
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||||
|
gpio-map-pass-thru = <0 0x3f>;
|
||||||
|
gpio-map = <0 0 &ioport0 4 0>, /* AN */
|
||||||
|
<1 0 &ioport5 2 0>, /* RST */
|
||||||
|
<2 0 &ioport4 13 0>, /* CS */
|
||||||
|
<3 0 &ioport4 12 0>, /* SCK */
|
||||||
|
<4 0 &ioport4 10 0>, /* MISO */
|
||||||
|
<5 0 &ioport4 11 0>, /* MOSI */
|
||||||
|
/* +3.3V */
|
||||||
|
/* GND */
|
||||||
|
<6 0 &ioport9 7 0>, /* PWM */
|
||||||
|
<7 0 &ioport0 10 0>, /* INT */
|
||||||
|
<8 0 &ioport3 9 0>, /* RX */
|
||||||
|
<9 0 &ioport3 10 0>, /* TX */
|
||||||
|
<10 0 &ioport4 0 0>, /* SCL */
|
||||||
|
<11 0 &ioport4 1 0>; /* SDA */
|
||||||
|
/* +5V */
|
||||||
|
/* GND */
|
||||||
|
};
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
led0 = &led1;
|
led0 = &led1;
|
||||||
};
|
};
|
||||||
|
@ -72,18 +95,44 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&ioport0 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&ioport1 {
|
&ioport1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&ioport3 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&ioport4 {
|
&ioport4 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&ioport5 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&ioport6 {
|
&ioport6 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&ioport9 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
&sci3 {
|
||||||
|
pinctrl-0 = <&sci3_default>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
status = "okay";
|
||||||
|
uart3: uart {
|
||||||
|
current-speed = <115200>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&sci9 {
|
&sci9 {
|
||||||
pinctrl-0 = <&sci9_default>;
|
pinctrl-0 = <&sci9_default>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
@ -93,3 +142,5 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mikrobus_serial: &uart3 {};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue