| .. | .. |
|---|
| 75 | 75 | |
|---|
| 76 | 76 | leds { |
|---|
| 77 | 77 | compatible = "gpio-leds"; |
|---|
| 78 | | - pinctrl-names = "default"; |
|---|
| 79 | | - pinctrl-0 = <&leds_opc>, <&leds_r_opc>; |
|---|
| 80 | 78 | |
|---|
| 81 | 79 | status_led { |
|---|
| 82 | 80 | label = "orangepi:red:status"; |
|---|
| .. | .. |
|---|
| 92 | 90 | |
|---|
| 93 | 91 | r_gpio_keys { |
|---|
| 94 | 92 | compatible = "gpio-keys"; |
|---|
| 95 | | - pinctrl-names = "default"; |
|---|
| 96 | | - pinctrl-0 = <&sw_r_opc>; |
|---|
| 97 | 93 | |
|---|
| 98 | 94 | sw2 { |
|---|
| 99 | 95 | label = "sw2"; |
|---|
| .. | .. |
|---|
| 110 | 106 | |
|---|
| 111 | 107 | wifi_pwrseq: wifi_pwrseq { |
|---|
| 112 | 108 | compatible = "mmc-pwrseq-simple"; |
|---|
| 113 | | - pinctrl-names = "default"; |
|---|
| 114 | | - pinctrl-0 = <&wifi_pwrseq_pin_orangepi>; |
|---|
| 115 | 109 | reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 WIFI_EN */ |
|---|
| 116 | 110 | }; |
|---|
| 117 | 111 | }; |
|---|
| .. | .. |
|---|
| 152 | 146 | |
|---|
| 153 | 147 | &ir { |
|---|
| 154 | 148 | pinctrl-names = "default"; |
|---|
| 155 | | - pinctrl-0 = <&ir_pins_a>; |
|---|
| 149 | + pinctrl-0 = <&r_ir_rx_pin>; |
|---|
| 156 | 150 | status = "okay"; |
|---|
| 157 | 151 | }; |
|---|
| 158 | 152 | |
|---|
| .. | .. |
|---|
| 179 | 173 | }; |
|---|
| 180 | 174 | }; |
|---|
| 181 | 175 | |
|---|
| 182 | | -&pio { |
|---|
| 183 | | - leds_opc: led_pins { |
|---|
| 184 | | - pins = "PA15"; |
|---|
| 185 | | - function = "gpio_out"; |
|---|
| 186 | | - }; |
|---|
| 187 | | -}; |
|---|
| 188 | | - |
|---|
| 189 | | -&r_pio { |
|---|
| 190 | | - leds_r_opc: led_pins { |
|---|
| 191 | | - pins = "PL10"; |
|---|
| 192 | | - function = "gpio_out"; |
|---|
| 193 | | - }; |
|---|
| 194 | | - |
|---|
| 195 | | - sw_r_opc: key_pins { |
|---|
| 196 | | - pins = "PL3", "PL4"; |
|---|
| 197 | | - function = "gpio_in"; |
|---|
| 198 | | - }; |
|---|
| 199 | | - |
|---|
| 200 | | - wifi_pwrseq_pin_orangepi: wifi_pwrseq_pin { |
|---|
| 201 | | - pins = "PL7"; |
|---|
| 202 | | - function = "gpio_out"; |
|---|
| 203 | | - }; |
|---|
| 204 | | -}; |
|---|
| 205 | | - |
|---|
| 206 | 176 | ®_usb1_vbus { |
|---|
| 207 | 177 | gpio = <&pio 6 13 GPIO_ACTIVE_HIGH>; |
|---|
| 208 | 178 | status = "okay"; |
|---|
| .. | .. |
|---|
| 210 | 180 | |
|---|
| 211 | 181 | &uart0 { |
|---|
| 212 | 182 | pinctrl-names = "default"; |
|---|
| 213 | | - pinctrl-0 = <&uart0_pins_a>; |
|---|
| 183 | + pinctrl-0 = <&uart0_pa_pins>; |
|---|
| 214 | 184 | status = "okay"; |
|---|
| 215 | 185 | }; |
|---|
| 216 | 186 | |
|---|