|
37 | 37 | };
|
38 | 38 | };
|
39 | 39 |
|
| 40 | + mikrobus_header: mikrobus-connector { |
| 41 | + compatible = "mikro-bus"; |
| 42 | + #gpio-cells = <2>; |
| 43 | + gpio-map-mask = <0xffffffff 0xffffffc0>; |
| 44 | + gpio-map-pass-thru = <0 0x3f>; |
| 45 | + gpio-map = <0 0 &ioport0 4 0>, /* AN */ |
| 46 | + <1 0 &ioport5 2 0>, /* RST */ |
| 47 | + <2 0 &ioport4 13 0>, /* CS */ |
| 48 | + <3 0 &ioport4 12 0>, /* SCK */ |
| 49 | + <4 0 &ioport4 10 0>, /* MISO */ |
| 50 | + <5 0 &ioport4 11 0>, /* MOSI */ |
| 51 | + /* +3.3V */ |
| 52 | + /* GND */ |
| 53 | + <6 0 &ioport9 7 0>, /* PWM */ |
| 54 | + <7 0 &ioport0 10 0>, /* INT */ |
| 55 | + <8 0 &ioport3 9 0>, /* RX */ |
| 56 | + <9 0 &ioport3 10 0>, /* TX */ |
| 57 | + <10 0 &ioport4 0 0>, /* SCL */ |
| 58 | + <11 0 &ioport4 1 0>; /* SDA */ |
| 59 | + /* +5V */ |
| 60 | + /* GND */ |
| 61 | + }; |
| 62 | + |
40 | 63 | aliases {
|
41 | 64 | led0 = &led1;
|
42 | 65 | };
|
|
72 | 95 | status = "okay";
|
73 | 96 | };
|
74 | 97 |
|
| 98 | +&ioport0 { |
| 99 | + status = "okay"; |
| 100 | +}; |
| 101 | + |
75 | 102 | &ioport1 {
|
76 | 103 | status = "okay";
|
77 | 104 | };
|
78 | 105 |
|
| 106 | +&ioport3 { |
| 107 | + status = "okay"; |
| 108 | +}; |
| 109 | + |
79 | 110 | &ioport4 {
|
80 | 111 | status = "okay";
|
81 | 112 | };
|
82 | 113 |
|
| 114 | +&ioport5 { |
| 115 | + status = "okay"; |
| 116 | +}; |
| 117 | + |
83 | 118 | &ioport6 {
|
84 | 119 | status = "okay";
|
85 | 120 | };
|
86 | 121 |
|
| 122 | +&ioport9 { |
| 123 | + status = "okay"; |
| 124 | +}; |
| 125 | + |
| 126 | +&sci3 { |
| 127 | + pinctrl-0 = <&sci3_default>; |
| 128 | + pinctrl-names = "default"; |
| 129 | + status = "okay"; |
| 130 | + uart3: uart { |
| 131 | + current-speed = <115200>; |
| 132 | + status = "okay"; |
| 133 | + }; |
| 134 | +}; |
| 135 | + |
87 | 136 | &sci9 {
|
88 | 137 | pinctrl-0 = <&sci9_default>;
|
89 | 138 | pinctrl-names = "default";
|
|
93 | 142 | status = "okay";
|
94 | 143 | };
|
95 | 144 | };
|
| 145 | + |
| 146 | +mikrobus_serial: &uart3 {}; |
0 commit comments