forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/arm/boot/dts/sun7i-a20-mk808c.dts
....@@ -106,8 +106,6 @@
106106 };
107107
108108 &i2c0 {
109
- pinctrl-names = "default";
110
- pinctrl-0 = <&i2c0_pins_a>;
111109 status = "okay";
112110
113111 axp209: pmic@34 {
....@@ -121,20 +119,14 @@
121119 };
122120
123121 &i2c1 {
124
- pinctrl-names = "default";
125
- pinctrl-0 = <&i2c1_pins_a>;
126122 status = "okay";
127123 };
128124
129125 &i2c2 {
130
- pinctrl-names = "default";
131
- pinctrl-0 = <&i2c2_pins_a>;
132126 status = "okay";
133127 };
134128
135129 &mmc0 {
136
- pinctrl-names = "default";
137
- pinctrl-0 = <&mmc0_pins_a>;
138130 vmmc-supply = <&reg_vcc3v0>;
139131 bus-width = <4>;
140132 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
....@@ -153,18 +145,6 @@
153145 status = "okay";
154146 };
155147
156
-&pio {
157
- usb0_id_detect_pin: usb0_id_detect_pin@0 {
158
- pins = "PH4";
159
- function = "gpio_in";
160
- };
161
-
162
- usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
163
- pins = "PH5";
164
- function = "gpio_in";
165
- };
166
-};
167
-
168148 &reg_usb0_vbus {
169149 status = "okay";
170150 };
....@@ -179,13 +159,13 @@
179159
180160 &uart0 {
181161 pinctrl-names = "default";
182
- pinctrl-0 = <&uart0_pins_a>;
162
+ pinctrl-0 = <&uart0_pb_pins>;
183163 status = "okay";
184164 };
185165
186166 &uart2 {
187167 pinctrl-names = "default";
188
- pinctrl-0 = <&uart2_pins_a>;
168
+ pinctrl-0 = <&uart2_pi_pins>, <&uart2_cts_rts_pi_pins>;
189169 status = "okay";
190170 };
191171
....@@ -195,8 +175,6 @@
195175 };
196176
197177 &usbphy {
198
- pinctrl-names = "default";
199
- pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
200178 usb0_id_det-gpios = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */
201179 usb0_vbus_det-gpios = <&pio 7 5 GPIO_ACTIVE_HIGH>; /* PH5 */
202180 usb0_vbus-supply = <&reg_usb0_vbus>;