aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/dts/sun7i-a20-m3.dts')
-rw-r--r--arch/arm/dts/sun7i-a20-m3.dts27
1 files changed, 4 insertions, 23 deletions
diff --git a/arch/arm/dts/sun7i-a20-m3.dts b/arch/arm/dts/sun7i-a20-m3.dts
index 8d9ea48dd9..b8a1aaaf39 100644
--- a/arch/arm/dts/sun7i-a20-m3.dts
+++ b/arch/arm/dts/sun7i-a20-m3.dts
@@ -48,7 +48,6 @@
48 48
49#include <dt-bindings/gpio/gpio.h> 49#include <dt-bindings/gpio/gpio.h>
50#include <dt-bindings/interrupt-controller/irq.h> 50#include <dt-bindings/interrupt-controller/irq.h>
51#include <dt-bindings/pinctrl/sun4i-a10.h>
52 51
53/ { 52/ {
54 model = "Mele M3"; 53 model = "Mele M3";
@@ -64,8 +63,6 @@
64 63
65 leds { 64 leds {
66 compatible = "gpio-leds"; 65 compatible = "gpio-leds";
67 pinctrl-names = "default";
68 pinctrl-0 = <&led_pins_m3>;
69 66
70 blue { 67 blue {
71 label = "m3:blue:usr"; 68 label = "m3:blue:usr";
@@ -84,7 +81,7 @@
84 81
85&gmac { 82&gmac {
86 pinctrl-names = "default"; 83 pinctrl-names = "default";
87 pinctrl-0 = <&gmac_pins_mii_a>; 84 pinctrl-0 = <&gmac_mii_pins>;
88 phy = <&phy1>; 85 phy = <&phy1>;
89 phy-mode = "mii"; 86 phy-mode = "mii";
90 status = "okay"; 87 status = "okay";
@@ -95,8 +92,6 @@
95}; 92};
96 93
97&i2c0 { 94&i2c0 {
98 pinctrl-names = "default";
99 pinctrl-0 = <&i2c0_pins_a>;
100 status = "okay"; 95 status = "okay";
101 96
102 axp209: pmic@34 { 97 axp209: pmic@34 {
@@ -112,23 +107,18 @@
112 107
113&ir0 { 108&ir0 {
114 pinctrl-names = "default"; 109 pinctrl-names = "default";
115 pinctrl-0 = <&ir0_rx_pins_a>; 110 pinctrl-0 = <&ir0_rx_pin>;
116 status = "okay"; 111 status = "okay";
117}; 112};
118 113
119&mmc0 { 114&mmc0 {
120 pinctrl-names = "default";
121 pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
122 vmmc-supply = <&reg_vcc3v3>; 115 vmmc-supply = <&reg_vcc3v3>;
123 bus-width = <4>; 116 bus-width = <4>;
124 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 117 cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
125 cd-inverted;
126 status = "okay"; 118 status = "okay";
127}; 119};
128 120
129&mmc2 { 121&mmc2 {
130 pinctrl-names = "default";
131 pinctrl-0 = <&mmc2_pins_a>;
132 vmmc-supply = <&reg_vcc3v3>; 122 vmmc-supply = <&reg_vcc3v3>;
133 bus-width = <4>; 123 bus-width = <4>;
134 non-removable; 124 non-removable;
@@ -143,15 +133,6 @@
143 status = "okay"; 133 status = "okay";
144}; 134};
145 135
146&pio {
147 led_pins_m3: led_pins@0 {
148 allwinner,pins = "PH20";
149 allwinner,function = "gpio_out";
150 allwinner,drive = <SUN4I_PINCTRL_10_MA>;
151 allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
152 };
153};
154
155&reg_usb1_vbus { 136&reg_usb1_vbus {
156 status = "okay"; 137 status = "okay";
157}; 138};
@@ -162,7 +143,7 @@
162 143
163&uart0 { 144&uart0 {
164 pinctrl-names = "default"; 145 pinctrl-names = "default";
165 pinctrl-0 = <&uart0_pins_a>; 146 pinctrl-0 = <&uart0_pb_pins>;
166 status = "okay"; 147 status = "okay";
167}; 148};
168 149