hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts
....@@ -74,8 +74,6 @@
7474
7575 leds {
7676 compatible = "gpio-leds";
77
- pinctrl-names = "default";
78
- pinctrl-0 = <&leds_opc>, <&leds_r_opc>;
7977
8078 pwr_led {
8179 label = "orangepi:green:pwr";
....@@ -91,8 +89,6 @@
9189
9290 r_gpio_keys {
9391 compatible = "gpio-keys";
94
- pinctrl-names = "default";
95
- pinctrl-0 = <&sw_r_opc>;
9692
9793 sw4 {
9894 label = "sw4";
....@@ -126,7 +122,7 @@
126122
127123 &ir {
128124 pinctrl-names = "default";
129
- pinctrl-0 = <&ir_pins_a>;
125
+ pinctrl-0 = <&r_ir_rx_pin>;
130126 status = "okay";
131127 };
132128
....@@ -160,28 +156,9 @@
160156 status = "okay";
161157 };
162158
163
-&pio {
164
- leds_opc: led_pins {
165
- pins = "PA15";
166
- function = "gpio_out";
167
- };
168
-};
169
-
170
-&r_pio {
171
- leds_r_opc: led_pins {
172
- pins = "PL10";
173
- function = "gpio_out";
174
- };
175
-
176
- sw_r_opc: key_pins {
177
- pins = "PL3";
178
- function = "gpio_in";
179
- };
180
-};
181
-
182159 &uart0 {
183160 pinctrl-names = "default";
184
- pinctrl-0 = <&uart0_pins_a>;
161
+ pinctrl-0 = <&uart0_pa_pins>;
185162 status = "okay";
186163 };
187164