Add support for WiFi/BT header on Pine64 A64 devices
Subsystems (2)
v4 cover Add support for WiFi/BT header on Pine64 A64 devices
Add the BT and WiFi pins on the WiFi/BT header on the Pine64/SOPINE boards.
Changes in v4:
- Remove the pwrseq section
- Tweak the device descriptions in the commit
Changes in v3:
- Explicitly disable mmc WiFi section in DT even though it's already disabled in the SoC DT.
Changes in v2:
- drop patch that enables the WiFi module, it'll move to a overlay later
Peter Robinson (2):
arm64: dts: allwinner: a64: Add WiFi/BT header on PINE A64
arm64: dts: allwinner: a64: Add WiFi/BT header on SOPINE Baseboard
.../boot/dts/allwinner/sun50i-a64-pine64.dts | 12 ++++++++++++ .../allwinner/sun50i-a64-sopine-baseboard.dts | 19 +++++++++++++++++++ 2 files changed, 31 insertions(+)
Signature · 1 line
2.49.0
PATCH v4 1/2 arm64: dts: allwinner: a64: Add WiFi/BT header on PINE A64
This adds all the pin mappings on the WiFi/BT header on the original Pine64. They're disabled by default as the modules don't ship by default. This includes, where they haven't been already, UART1 for BT and mmc1 for WiFi.
--- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts +12 -0
@@ -124,6 +124,17 @@ &mmc0 { status = "okay"; }; +/* On Wifi/BT connector */ +&mmc1 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc1_pins>; + vmmc-supply = <®_dldo4>; + vqmmc-supply = <®_eldo1>; + bus-width = <4>; + non-removable; + status = "disabled"; +}; + &ohci0 { status = "okay"; };
@@ -286,6 +297,7 @@ &uart0 { &uart1 { pinctrl-names = "default"; pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; + uart-has-rtscts; status = "disabled"; };
Signature · 1 line
2.49.0
PATCH v4 2/2 arm64: dts: allwinner: a64: Add WiFi/BT header on SOPINE Baseboard
In reply to Peter RobinsonThis adds all the pin mappings on the WiFi/BT header on the SOPINE Baseboard/A64-LTS. They're disabled by default as the modules don't ship by default. This includes, where they haven't been already, UART1 for BT and mmc1 for WiFi.
--- .../allwinner/sun50i-a64-sopine-baseboard.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts +19 -0
@@ -103,6 +103,17 @@ ext_rgmii_phy: ethernet-phy@1 { }; }; +/* On Wifi/BT connector */ +&mmc1 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc1_pins>; + vmmc-supply = <®_dldo4>; + vqmmc-supply = <®_eldo1>; + bus-width = <4>; + non-removable; + status = "disabled"; +}; + &mmc2 { pinctrl-names = "default"; pinctrl-0 = <&mmc2_pins>;
@@ -175,6 +186,14 @@ &uart0 { status = "okay"; }; +/* On Wifi/BT connector, with RTS/CTS */ +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; + uart-has-rtscts; + status = "disabled"; +}; + /* On Pi-2 connector */ &uart2 { pinctrl-names = "default";
Signature · 1 line
2.49.0
Chen-Yu Tsai
AppliedQuoted 11 lines · Peter Robinson
Add the BT and WiFi pins on the WiFi/BT header on the Pine64/SOPINE boards.
Changes in v4:
- Remove the pwrseq section
- Tweak the device descriptions in the commitChanges in v3:
- Explicitly disable mmc WiFi section in DT even though it's already disabled in the SoC DT.[...]
Applied to dt-for-6.16 in [email protected]:linux-sunxi/linux-sunxi.git, thanks!
[1/2] arm64: dts: allwinner: a64: Add WiFi/BT header on PINE A64
commit: 91fe4b2e69419d5477c7776cf38df1970ad162d2
[2/2] arm64: dts: allwinner: a64: Add WiFi/BT header on SOPINE Baseboard
commit: d3f6af8473a06f66078dc7833c8eac25c8d2b929Best regards,
Signature · 1 line
Chen-Yu Tsai <[email protected]>