hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/sun5i-a10s-mk802.dts
....@@ -59,8 +59,6 @@
5959
6060 leds {
6161 compatible = "gpio-leds";
62
- pinctrl-names = "default";
63
- pinctrl-0 = <&led_pins_mk802>;
6462
6563 red {
6664 label = "mk802:red:usr";
....@@ -74,8 +72,6 @@
7472 };
7573
7674 &i2c0 {
77
- pinctrl-names = "default";
78
- pinctrl-0 = <&i2c0_pins_a>;
7975 status = "okay";
8076
8177 axp152: pmic@30 {
....@@ -88,8 +84,6 @@
8884 };
8985
9086 &mmc0 {
91
- pinctrl-names = "default";
92
- pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_mk802>;
9387 vmmc-supply = <&reg_vcc3v3>;
9488 bus-width = <4>;
9589 cd-gpios = <&pio 6 1 GPIO_ACTIVE_LOW>; /* PG1 */
....@@ -97,8 +91,6 @@
9791 };
9892
9993 &mmc1 {
100
- pinctrl-names = "default";
101
- pinctrl-0 = <&mmc1_pins_a>;
10294 vmmc-supply = <&reg_vcc3v3>;
10395 bus-width = <4>;
10496 non-removable;
....@@ -113,33 +105,14 @@
113105 status = "okay";
114106 };
115107
116
-&pio {
117
- led_pins_mk802: led_pins@0 {
118
- pins = "PB2";
119
- function = "gpio_out";
120
- };
121
-
122
- mmc0_cd_pin_mk802: mmc0_cd_pin@0 {
123
- pins = "PG1";
124
- function = "gpio_in";
125
- bias-pull-up;
126
- };
127
-
128
- usb1_vbus_pin_mk802: usb1_vbus_pin@0 {
129
- pins = "PB10";
130
- function = "gpio_out";
131
- };
132
-};
133
-
134108 &reg_usb1_vbus {
135
- pinctrl-0 = <&usb1_vbus_pin_mk802>;
136109 gpio = <&pio 1 10 GPIO_ACTIVE_HIGH>; /* PB10 */
137110 status = "okay";
138111 };
139112
140113 &uart0 {
141114 pinctrl-names = "default";
142
- pinctrl-0 = <&uart0_pins_a>;
115
+ pinctrl-0 = <&uart0_pb_pins>;
143116 status = "okay";
144117 };
145118