| .. | .. |
|---|
| 73 | 73 | |
|---|
| 74 | 74 | leds { |
|---|
| 75 | 75 | compatible = "gpio-leds"; |
|---|
| 76 | | - pinctrl-names = "default"; |
|---|
| 77 | | - pinctrl-0 = <&leds_opc>, <&leds_r_opc>; |
|---|
| 78 | 76 | |
|---|
| 79 | 77 | pwr_led { |
|---|
| 80 | 78 | label = "orangepi:green:pwr"; |
|---|
| .. | .. |
|---|
| 90 | 88 | |
|---|
| 91 | 89 | r_gpio_keys { |
|---|
| 92 | 90 | compatible = "gpio-keys"; |
|---|
| 93 | | - pinctrl-names = "default"; |
|---|
| 94 | | - pinctrl-0 = <&sw_r_opc>; |
|---|
| 95 | 91 | |
|---|
| 96 | 92 | sw4 { |
|---|
| 97 | 93 | label = "sw4"; |
|---|
| .. | .. |
|---|
| 113 | 109 | gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ |
|---|
| 114 | 110 | enable-active-high; |
|---|
| 115 | 111 | gpios-states = <0x1>; |
|---|
| 116 | | - states = <1100000 0x0 |
|---|
| 117 | | - 1300000 0x1>; |
|---|
| 112 | + states = <1100000 0>, <1300000 1>; |
|---|
| 118 | 113 | }; |
|---|
| 119 | 114 | }; |
|---|
| 120 | 115 | |
|---|
| .. | .. |
|---|
| 166 | 161 | status = "okay"; |
|---|
| 167 | 162 | }; |
|---|
| 168 | 163 | |
|---|
| 169 | | -&pio { |
|---|
| 170 | | - leds_opc: led_pins { |
|---|
| 171 | | - pins = "PA15"; |
|---|
| 172 | | - function = "gpio_out"; |
|---|
| 173 | | - }; |
|---|
| 174 | | -}; |
|---|
| 175 | | - |
|---|
| 176 | | -&r_pio { |
|---|
| 177 | | - leds_r_opc: led_pins { |
|---|
| 178 | | - pins = "PL10"; |
|---|
| 179 | | - function = "gpio_out"; |
|---|
| 180 | | - }; |
|---|
| 181 | | - |
|---|
| 182 | | - sw_r_opc: key_pins { |
|---|
| 183 | | - pins = "PL3"; |
|---|
| 184 | | - function = "gpio_in"; |
|---|
| 185 | | - }; |
|---|
| 186 | | -}; |
|---|
| 187 | | - |
|---|
| 188 | 164 | ®_usb0_vbus { |
|---|
| 189 | 165 | gpio = <&r_pio 0 2 GPIO_ACTIVE_HIGH>; /* PL2 */ |
|---|
| 190 | 166 | status = "okay"; |
|---|
| .. | .. |
|---|
| 192 | 168 | |
|---|
| 193 | 169 | &uart0 { |
|---|
| 194 | 170 | pinctrl-names = "default"; |
|---|
| 195 | | - pinctrl-0 = <&uart0_pins_a>; |
|---|
| 171 | + pinctrl-0 = <&uart0_pa_pins>; |
|---|
| 196 | 172 | status = "okay"; |
|---|
| 197 | 173 | }; |
|---|
| 198 | 174 | |
|---|