Skip to content

Commit 9514e51

Browse files
committed
Merge tag 'amlogic-arm-dt-for-v6.4' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux into soc/dt
Amlogic ARM DT changes for v6.4: - adjust order of some compatibles - meson8: add the xtal_32k_out pin - meson8: add the SDXC_A pins - mxiii-plus: Enable Bluetooth and WiFi support * tag 'amlogic-arm-dt-for-v6.4' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux: ARM: dts: meson8m2: mxiii-plus: Enable Bluetooth and WiFi support ARM: dts: meson8: add the SDXC_A pins ARM: dts: meson8: add the xtal_32k_out pin arm: dts: meson: adjust order of some compatibles Link: https://lore.kernel.org/r/eb1f32f8-822d-9cfc-fca6-9e044bf4a5ab@linaro.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents 03216cd + 8446b84 commit 9514e51

3 files changed

Lines changed: 66 additions & 3 deletions

File tree

arch/arm/boot/dts/meson8.dtsi

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,15 @@
506506
};
507507
};
508508

509+
sdxc_a_pins: sdxc-a {
510+
mux {
511+
groups = "sdxc_d0_a", "sdxc_d13_a",
512+
"sdxc_clk_a", "sdxc_cmd_a";
513+
function = "sdxc_a";
514+
bias-pull-up;
515+
};
516+
};
517+
509518
sdxc_b_pins: sdxc-b {
510519
mux {
511520
groups = "sdxc_d0_b", "sdxc_d13_b",
@@ -568,6 +577,14 @@
568577
bias-disable;
569578
};
570579
};
580+
581+
xtal_32k_out_pins: xtal-32k-out {
582+
mux {
583+
groups = "xtal_32k_out";
584+
function = "xtal";
585+
bias-disable;
586+
};
587+
};
571588
};
572589
};
573590

arch/arm/boot/dts/meson8b.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,8 @@
580580
};
581581

582582
&gpio_intc {
583-
compatible = "amlogic,meson-gpio-intc",
584-
"amlogic,meson8b-gpio-intc";
583+
compatible = "amlogic,meson8b-gpio-intc",
584+
"amlogic,meson-gpio-intc";
585585
status = "okay";
586586
};
587587

arch/arm/boot/dts/meson8m2-mxiii-plus.dts

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
ethernet0 = &ethmac;
2020
i2c0 = &i2c_AO;
2121
serial0 = &uart_AO;
22-
serial1 = &uart_A;
2322
mmc0 = &sd_card_slot;
2423
};
2524

@@ -45,12 +44,32 @@
4544
};
4645
};
4746

47+
sdio_pwrseq: sdio-pwrseq {
48+
compatible = "mmc-pwrseq-simple";
49+
50+
pinctrl-0 = <&xtal_32k_out_pins>;
51+
pinctrl-names = "default";
52+
53+
reset-gpios = <&gpio GPIOX_11 GPIO_ACTIVE_LOW>,
54+
<&gpio_ao GPIOAO_6 GPIO_ACTIVE_LOW>;
55+
56+
clocks = <&xtal_32k_out>;
57+
clock-names = "ext_clock";
58+
};
59+
4860
vcc_3v3: regulator-vcc3v3 {
4961
compatible = "regulator-fixed";
5062
regulator-name = "VCC3V3";
5163
regulator-min-microvolt = <3300000>;
5264
regulator-max-microvolt = <3300000>;
5365
};
66+
67+
xtal_32k_out: xtal-32k-out-clk {
68+
compatible = "fixed-clock";
69+
#clock-cells = <0>;
70+
clock-frequency = <32768>;
71+
clock-output-names = "xtal_32k_out";
72+
};
5473
};
5574

5675
&cpu0 {
@@ -192,6 +211,27 @@
192211
vref-supply = <&vddio_ao1v8>;
193212
};
194213

214+
/* SDIO wifi */
215+
&sdhc {
216+
status = "okay";
217+
218+
pinctrl-0 = <&sdxc_a_pins>;
219+
pinctrl-names = "default";
220+
221+
bus-width = <4>;
222+
max-frequency = <50000000>;
223+
224+
disable-wp;
225+
non-removable;
226+
cap-mmc-highspeed;
227+
cap-sd-highspeed;
228+
229+
mmc-pwrseq = <&sdio_pwrseq>;
230+
231+
vmmc-supply = <&vcc_3v3>;
232+
vqmmc-supply = <&vcc_3v3>;
233+
};
234+
195235
&sdio {
196236
status = "okay";
197237

@@ -222,6 +262,12 @@
222262
pinctrl-0 = <&uart_a1_pins>, <&uart_a1_cts_rts_pins>;
223263
pinctrl-names = "default";
224264
uart-has-rtscts;
265+
266+
bluetooth {
267+
compatible = "brcm,bcm20702a1";
268+
shutdown-gpios = <&gpio GPIOX_20 GPIO_ACTIVE_HIGH>;
269+
max-speed = <2000000>;
270+
};
225271
};
226272

227273
&uart_AO {

0 commit comments

Comments
 (0)