hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
....@@ -73,8 +73,6 @@
7373
7474 leds {
7575 compatible = "gpio-leds";
76
- pinctrl-names = "default";
77
- pinctrl-0 = <&leds_opc>, <&leds_r_opc>;
7876
7977 pwr_led {
8078 label = "orangepi:green:pwr";
....@@ -90,8 +88,6 @@
9088
9189 r_gpio_keys {
9290 compatible = "gpio-keys";
93
- pinctrl-names = "default";
94
- pinctrl-0 = <&sw_r_opc>;
9591
9692 sw4 {
9793 label = "sw4";
....@@ -152,7 +148,7 @@
152148
153149 &ir {
154150 pinctrl-names = "default";
155
- pinctrl-0 = <&ir_pins_a>;
151
+ pinctrl-0 = <&r_ir_rx_pin>;
156152 status = "okay";
157153 };
158154
....@@ -179,13 +175,6 @@
179175 status = "okay";
180176 };
181177
182
-&pio {
183
- leds_opc: led_pins {
184
- pins = "PA15";
185
- function = "gpio_out";
186
- };
187
-};
188
-
189178 &r_i2c {
190179 status = "okay";
191180
....@@ -210,18 +199,6 @@
210199 };
211200 };
212201
213
-&r_pio {
214
- leds_r_opc: led_pins {
215
- pins = "PL10";
216
- function = "gpio_out";
217
- };
218
-
219
- sw_r_opc: key_pins {
220
- pins = "PL3";
221
- function = "gpio_in";
222
- };
223
-};
224
-
225202 &reg_usb0_vbus {
226203 gpio = <&r_pio 0 2 GPIO_ACTIVE_HIGH>; /* PL2 */
227204 status = "okay";
....@@ -229,7 +206,7 @@
229206
230207 &uart0 {
231208 pinctrl-names = "default";
232
- pinctrl-0 = <&uart0_pins_a>;
209
+ pinctrl-0 = <&uart0_pa_pins>;
233210 status = "okay";
234211 };
235212