forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm/boot/dts/sun5i-a10s-wobo-i5.dts
....@@ -61,8 +61,6 @@
6161
6262 leds {
6363 compatible = "gpio-leds";
64
- pinctrl-names = "default";
65
- pinctrl-0 = <&led_pins_wobo_i5>;
6664
6765 blue {
6866 label = "a10s-wobo-i5:blue:usr";
....@@ -73,8 +71,6 @@
7371
7472 reg_emac_3v3: emac-3v3 {
7573 compatible = "regulator-fixed";
76
- pinctrl-names = "default";
77
- pinctrl-0 = <&emac_power_pin_wobo>;
7874 regulator-name = "emac-3v3";
7975 regulator-min-microvolt = <3300000>;
8076 regulator-max-microvolt = <3300000>;
....@@ -94,8 +90,8 @@
9490
9591 &emac {
9692 pinctrl-names = "default";
97
- pinctrl-0 = <&emac_pins_a>;
98
- phy = <&phy1>;
93
+ pinctrl-0 = <&emac_pd_pins>;
94
+ phy-handle = <&phy1>;
9995 status = "okay";
10096 };
10197
....@@ -104,8 +100,6 @@
104100 };
105101
106102 &i2c0 {
107
- pinctrl-names = "default";
108
- pinctrl-0 = <&i2c0_pins_a>;
109103 status = "okay";
110104
111105 axp209: pmic@34 {
....@@ -126,8 +120,6 @@
126120 };
127121
128122 &mmc0 {
129
- pinctrl-names = "default";
130
- pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_wobo_i5>;
131123 vmmc-supply = <&reg_vcc3v3>;
132124 bus-width = <4>;
133125 cd-gpios = <&pio 1 3 GPIO_ACTIVE_LOW>; /* PB3 */
....@@ -140,24 +132,6 @@
140132
141133 &otg_sram {
142134 status = "okay";
143
-};
144
-
145
-&pio {
146
- led_pins_wobo_i5: led_pins@0 {
147
- pins = "PB2";
148
- function = "gpio_out";
149
- };
150
-
151
- mmc0_cd_pin_wobo_i5: mmc0_cd_pin@0 {
152
- pins = "PB3";
153
- function = "gpio_in";
154
- bias-pull-up;
155
- };
156
-
157
- emac_power_pin_wobo: emac_power_pin@0 {
158
- pins = "PA02";
159
- function = "gpio_out";
160
- };
161135 };
162136
163137 &reg_dcdc2 {
....@@ -206,7 +180,7 @@
206180
207181 &uart0 {
208182 pinctrl-names = "default";
209
- pinctrl-0 = <&uart0_pins_a>;
183
+ pinctrl-0 = <&uart0_pb_pins>;
210184 status = "okay";
211185 };
212186