hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi
....@@ -15,7 +15,6 @@
1515 / {
1616 aliases {
1717 serial0 = &uart_AO;
18
- serial1 = &uart_A;
1918 ethernet0 = &ethmac;
2019 };
2120
....@@ -114,10 +113,13 @@
114113
115114 bus-width = <4>;
116115 cap-sd-highspeed;
117
- max-frequency = <100000000>;
116
+ max-frequency = <50000000>;
118117
119118 non-removable;
120119 disable-wp;
120
+
121
+ /* WiFi firmware requires power to be kept while in suspend */
122
+ keep-power-in-suspend;
121123
122124 mmc-pwrseq = <&sdio_pwrseq>;
123125
....@@ -134,11 +136,10 @@
134136
135137 bus-width = <4>;
136138 cap-sd-highspeed;
137
- max-frequency = <100000000>;
139
+ max-frequency = <50000000>;
138140 disable-wp;
139141
140
- cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>;
141
- cd-inverted;
142
+ cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>;
142143
143144 vmmc-supply = <&vddao_3v3>;
144145 vqmmc-supply = <&vddio_boot>;
....@@ -178,6 +179,14 @@
178179 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
179180 pinctrl-names = "default";
180181 uart-has-rtscts;
182
+
183
+ bluetooth {
184
+ compatible = "brcm,bcm43438-bt";
185
+ shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
186
+ max-speed = <2000000>;
187
+ clocks = <&wifi32k>;
188
+ clock-names = "lpo";
189
+ };
181190 };
182191
183192 &uart_AO {
....@@ -186,8 +195,9 @@
186195 pinctrl-names = "default";
187196 };
188197
189
-&usb0 {
198
+&usb {
190199 status = "okay";
200
+ dr_mode = "host";
191201 };
192202
193203 &usb2_phy0 {