hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts
....@@ -75,8 +75,6 @@
7575
7676 leds {
7777 compatible = "gpio-leds";
78
- pinctrl-names = "default";
79
- pinctrl-0 = <&leds_opc>, <&leds_r_opc>;
8078
8179 status_led {
8280 label = "orangepi:red:status";
....@@ -92,8 +90,6 @@
9290
9391 r_gpio_keys {
9492 compatible = "gpio-keys";
95
- pinctrl-names = "default";
96
- pinctrl-0 = <&sw_r_opc>;
9793
9894 sw2 {
9995 label = "sw2";
....@@ -110,8 +106,6 @@
110106
111107 wifi_pwrseq: wifi_pwrseq {
112108 compatible = "mmc-pwrseq-simple";
113
- pinctrl-names = "default";
114
- pinctrl-0 = <&wifi_pwrseq_pin_orangepi>;
115109 reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 WIFI_EN */
116110 };
117111 };
....@@ -152,7 +146,7 @@
152146
153147 &ir {
154148 pinctrl-names = "default";
155
- pinctrl-0 = <&ir_pins_a>;
149
+ pinctrl-0 = <&r_ir_rx_pin>;
156150 status = "okay";
157151 };
158152
....@@ -179,30 +173,6 @@
179173 };
180174 };
181175
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
-
206176 &reg_usb1_vbus {
207177 gpio = <&pio 6 13 GPIO_ACTIVE_HIGH>;
208178 status = "okay";
....@@ -210,7 +180,7 @@
210180
211181 &uart0 {
212182 pinctrl-names = "default";
213
- pinctrl-0 = <&uart0_pins_a>;
183
+ pinctrl-0 = <&uart0_pa_pins>;
214184 status = "okay";
215185 };
216186