Skip to contentSkip to conversation

Add Bananapi R3 Mini

PATCH Applied Frank Wunderlich 4 participants 8 messages May 10, 2024 – Jun 3, 2024

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

v3 cover Add Bananapi R3 Mini

From: Frank Wunderlich <[email protected]>

Add mt7986 based BananaPi R3 Mini SBC.

changes in v3:
- fixed unicde parenthesis in commit description of dts patch
- dropped "dts:" from title of binding patch
- added AB to binding and RB to dts patch

changes in v2:
- dropped patches for unrealated binding fixes which are already fixed in next.
- add missing node for nand
- add some information about the board in description

change dts based on review from angelo+krzysztof

- drop fan status
- rename phy14 to phy0 and phy15 to phy1
- drop default-trigger from phys and so also the binding-patch
- use regulator names based on regexp regulator-[0-9]+v[0-9]+
- add comment for pwm

Frank Wunderlich (2):
dt-bindings: arm64: mediatek: add BananaPi R3 Mini
arm64: dts: mediatek: Add mt7986 based Bananapi R3 Mini

 .../devicetree/bindings/arm/mediatek.yaml     |   1 +
 arch/arm64/boot/dts/mediatek/Makefile         |   1 +
 .../mediatek/mt7986a-bananapi-bpi-r3-mini.dts | 493 ++++++++++++++++++
 3 files changed, 495 insertions(+)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-mini.dts
Signature · 1 line
2.34.1
#1 lore raw

PATCH v3 1/2 dt-bindings: arm64: mediatek: add BananaPi R3 Mini

From: Frank Wunderlich <[email protected]>

Add MT7988A based BananaPi R3 Mini.

---
v3:
- added ack-by
- dropped "dts:" from commit title

---
 Documentation/devicetree/bindings/arm/mediatek.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/mediatek.yaml +1 -0
index 09f9ffd3ff7b..d4640e2e5fad 100644
@@ -91,6 +91,7 @@ properties:
           - enum:
               - acelink,ew-7886cax
               - bananapi,bpi-r3
+              - bananapi,bpi-r3mini
               - mediatek,mt7986a-rfb
           - const: mediatek,mt7986a
       - items:
Signature · 1 line
2.34.1
#3 lore raw

Aw: Re: [PATCH v3 1/2] dt-bindings: arm64: mediatek: add BananaPi R3 Mini

Hi

just a gentle ping...is there anything missing?

i see state in netdev-patchwork [1] is "changes requested", but comments do not say anything about this...

in mtk-patchwork [2] it is new and i do not see patches in mtk-next [3] yet

regards Frank

[1] https://patchwork.kernel.org/project/netdevbpf/list/?series=852204&state=%2A&archive=both
[2] https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
[1] https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux.git

Quoted 18 lines

Gesendet: Montag, 13. Mai 2024 um 15:06 Uhr
Von: "AngeloGioacchino Del Regno" <[email protected]>
An: "Frank Wunderlich" <[email protected]>, "Rob Herring" <[email protected]>, "Krzysztof Kozlowski" <[email protected]>, "Conor Dooley" <[email protected]>, "Michael Turquette" <[email protected]>, "Stephen Boyd" <[email protected]>, "Pavel Machek" <[email protected]>, "Lee Jones" <[email protected]>, "David S. Miller" <[email protected]>, "Eric Dumazet" <[email protected]>, "Jakub Kicinski" <[email protected]>, "Paolo Abeni" <[email protected]>, "Matthias Brugger" <[email protected]>
Cc: "Frank Wunderlich" <[email protected]>, "Eric Woudstra" <[email protected]>, "Tianling Shen" <[email protected]>, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], "Conor Dooley" <[email protected]>
Betreff: Re: [PATCH v3 1/2] dt-bindings: arm64: mediatek: add BananaPi R3 Mini

Il 10/05/24 11:57, Frank Wunderlich ha scritto:

Quoted 6 lines

From: Frank Wunderlich <[email protected]>

Add MT7988A based BananaPi R3 Mini.

#4 lore raw

PATCH v3 2/2 arm64: dts: mediatek: Add mt7986 based Bananapi R3 Mini

In reply to Frank Wunderlich

From: Frank Wunderlich <[email protected]>

Add devicetree for Bananapi R3 Mini SBC.

Key features:
- MediaTek MT7986A(Filogic 830) Quad core ARM Cortex A53
- Wifi 6 2.4G/5G (MT7976C)
- 2G DDR RAM
- 8G eMMC flash
- 128MB Nand flash
- 2x 2.5GbE network port
- 1x M.2 Key B USB interface
- 1x M.2 KEY M PCIe interface
- 1x USB2.0 interface

source: https://wiki.banana-pi.org/Banana_Pi_BPI-R3_Mini

---
v3:
- changed unicode parentheses in commit description
- added reviewed by

v2:
- add missing node for nand
- add some information about the board in description

change dts based on review from angelo+krzysztof

- drop fan status
- rename phy14 to phy0 and phy15 to phy1
- drop default-trigger from phys and so also the binding-patch
- use regulator names based on regexp regulator-[0-9]+v[0-9]+
- add comment for pwm

---
 arch/arm64/boot/dts/mediatek/Makefile         |   1 +
 .../mediatek/mt7986a-bananapi-bpi-r3-mini.dts | 493 ++++++++++++++++++
 2 files changed, 494 insertions(+)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-mini.dts
arch/arm64/boot/dts/mediatek/Makefile +1 -0
index 37b4ca3a87c9..1763b001ab06 100644
@@ -11,6 +11,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-bananapi-bpi-r64.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7981b-xiaomi-ax3000t.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-acelink-ew-7886cax.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3.dtb
+dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-mini.dtb
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-emmc.dtbo
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-nand.dtbo
 dtb-$(CONFIG_ARCH_MEDIATEK) += mt7986a-bananapi-bpi-r3-nor.dtbo
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-mini.dts new file +493 -0

493 lines not on this page · raw message

Signature · 1 line
2.34.1
maintainer Reviewed-by on v3 2/2
#5 lore raw

Re: [PATCH v3 2/2] arm64: dts: mediatek: Add mt7986 based Bananapi R3 Mini

Il 10/05/24 11:57, Frank Wunderlich ha scritto:

Quoted 15 lines

From: Frank Wunderlich <[email protected]>

Add devicetree for Bananapi R3 Mini SBC.

Key features:
- MediaTek MT7986A(Filogic 830) Quad core ARM Cortex A53
- Wifi 6 2.4G/5G (MT7976C)
- 2G DDR RAM
- 8G eMMC flash
- 128MB Nand flash
- 2x 2.5GbE network port
- 1x M.2 Key B USB interface
- 1x M.2 KEY M PCIe interface
- 1x USB2.0 interface

Quoted 8 lines

source: https://wiki.banana-pi.org/Banana_Pi_BPI-R3_Mini

#6 lore raw
In reply to Frank Wunderlich
Quoted 26 lines · Frank Wunderlich

From: Frank Wunderlich <[email protected]>

Add mt7986 based BananaPi R3 Mini SBC.

changes in v3:
- fixed unicde parenthesis in commit description of dts patch
- dropped "dts:" from title of binding patch
- added AB to binding and RB to dts patch

changes in v2:
- dropped patches for unrealated binding fixes which are already fixed in next.
- add missing node for nand
- add some information about the board in description

change dts based on review from angelo+krzysztof

- drop fan status
- rename phy14 to phy0 and phy15 to phy1
- drop default-trigger from phys and so also the binding-patch
- use regulator names based on regexp regulator-[0-9]+v[0-9]+
- add comment for pwm

Frank Wunderlich (2):
dt-bindings: arm64: mediatek: add BananaPi R3 Mini
arm64: dts: mediatek: Add mt7986 based Bananapi R3 Mini

Quoted 11 lines
 .../devicetree/bindings/arm/mediatek.yaml     |   1 +
 arch/arm64/boot/dts/mediatek/Makefile         |   1 +
 .../mediatek/mt7986a-bananapi-bpi-r3-mini.dts | 493 ++++++++++++++++++
 3 files changed, 495 insertions(+)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-mini.dts

--
2.34.1

My bot found new DTB warnings on the .dts files added or changed in this series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings are fixed by another series. Ultimately, it is up to the platform maintainer whether these warnings are acceptable or not. No need to reply unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then make sure dt-schema is up to date:

  pip3 install dtschema --upgrade

New warnings running 'make CHECK_DTBS=y mediatek/mt7986a-bananapi-bpi-r3-mini.dtb' for [email protected]:

arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-mini.dtb: crypto@10320000: interrupts: [[0, 116, 4], [0, 117, 4], [0, 118, 4], [0, 119, 4]] is too short
from schema $id: http://devicetree.org/schemas/crypto/inside-secure,safexcel.yaml#
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-mini.dtb: crypto@10320000: interrupt-names: ['ring0', 'ring1', 'ring2', 'ring3'] is too short
from schema $id: http://devicetree.org/schemas/crypto/inside-secure,safexcel.yaml#

maintainer Applied
#7 lore raw
In reply to Frank Wunderlich
Quoted 10 lines · Frank Wunderlich

From: Frank Wunderlich <[email protected]>

Add mt7986 based BananaPi R3 Mini SBC.

changes in v3:
- fixed unicde parenthesis in commit description of dts patch
- dropped "dts:" from title of binding patch
- added AB to binding and RB to dts patch

[...]

Applied to v6.10-next/dts64, thanks!

[1/2] dt-bindings: arm64: mediatek: add BananaPi R3 Mini

      commit: ca33f36216abe52eef8e660c638d8200e72251e9
[2/2] arm64: dts: mediatek: Add mt7986 based Bananapi R3 Mini
      commit: 07d7e57ea9d9491075820d447f140de9b6c3bd40

Cheers,
Angelo