hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts
....@@ -91,6 +91,8 @@
9191 wifi_pwrseq: wifi_pwrseq {
9292 compatible = "mmc-pwrseq-simple";
9393 reset-gpios = <&r_pio 0 6 GPIO_ACTIVE_LOW>; /* PL06 */
94
+ clocks = <&rtc 1>;
95
+ clock-names = "ext_clock";
9496 };
9597 };
9698
....@@ -124,30 +126,7 @@
124126 status = "okay";
125127 };
126128
127
-/* This is the i2c bus exposed on the DSI connector for the touch panel */
128
-&i2c0 {
129
- pinctrl-names = "default";
130
- pinctrl-0 = <&i2c0_pins_a>;
131
- status = "disabled";
132
-};
133
-
134
-/* This is the i2c bus exposed on the GPIO header */
135
-&i2c1 {
136
- pinctrl-names = "default";
137
- pinctrl-0 = <&i2c1_pins_a>;
138
- status = "disabled";
139
-};
140
-
141
-/* This is the i2c bus exposed on the CSI connector to control the sensor */
142
-&i2c2 {
143
- pinctrl-names = "default";
144
- pinctrl-0 = <&i2c2_pins_a>;
145
- status = "disabled";
146
-};
147
-
148129 &mmc0 {
149
- pinctrl-names = "default";
150
- pinctrl-0 = <&mmc0_pins_a>;
151130 vmmc-supply = <&reg_dcdc1>;
152131 bus-width = <4>;
153132 cd-gpios = <&pio 1 4 GPIO_ACTIVE_LOW>; /* PB4 */
....@@ -156,7 +135,7 @@
156135
157136 &mmc1 {
158137 pinctrl-names = "default";
159
- pinctrl-0 = <&mmc1_pins_a>;
138
+ pinctrl-0 = <&mmc1_pg_pins>;
160139 vmmc-supply = <&reg_aldo1>;
161140 mmc-pwrseq = <&wifi_pwrseq>;
162141 bus-width = <4>;
....@@ -292,14 +271,26 @@
292271
293272 &uart0 {
294273 pinctrl-names = "default";
295
- pinctrl-0 = <&uart0_pins_b>;
274
+ pinctrl-0 = <&uart0_pb_pins>;
296275 status = "okay";
297276 };
298277
299278 &uart1 {
300279 pinctrl-names = "default";
301
- pinctrl-0 = <&uart1_pins_a>, <&uart1_pins_cts_rts_a>;
280
+ pinctrl-0 = <&uart1_pg_pins>, <&uart1_cts_rts_pg_pins>;
281
+ uart-has-rtscts;
302282 status = "okay";
283
+
284
+ bluetooth {
285
+ compatible = "brcm,bcm43438-bt";
286
+ clocks = <&rtc 1>;
287
+ clock-names = "lpo";
288
+ vbat-supply = <&reg_dldo1>;
289
+ vddio-supply = <&reg_aldo3>;
290
+ device-wakeup-gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
291
+ host-wakeup-gpios = <&r_pio 0 9 GPIO_ACTIVE_HIGH>; /* PL9 */
292
+ shutdown-gpios = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
293
+ };
303294 };
304295
305296 &usb_otg {