Add initial DT for OpenWrt One
Subsystems (2)
cover Add initial DT for OpenWrt One
From: Rafał Miłecki <[email protected]>
OpenWrt project (https://openwrt.org/) celebrates its 20 years by releasing an OpenWrt One product. Early units have been produced and will be followed by DVT samples really soon. Then the mass production is about to start.
This patchset includes very initial DT for this product but with the pending work on MT7981 all gaps should be filled soon.
Announcement:
OpenWrt One - celebrating 20 years of OpenWrt
https://lists.openwrt.org/pipermail/openwrt-devel/2024-January/042018.html
Rafał Miłecki (3):
dt-bindings: vendor-prefixes: add OpenWrt
dt-bindings: arm64: dts: mediatek: Add OpenWrt One
arm64: dts: mediatek: Add OpenWrt One
.../devicetree/bindings/arm/mediatek.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 ++ arch/arm64/boot/dts/mediatek/Makefile | 1 + .../boot/dts/mediatek/mt7981b-openwrt-one.dts | 15 +++++++++++++++ 4 files changed, 19 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts
Signature · 1 line
2.35.3
PATCH 1/3 dt-bindings: vendor-prefixes: add OpenWrt
From: Rafał Miłecki <[email protected]>
OpenWrt project (with the help of MediaTek and Banana Pi) has produced its very first own hardware. It needs its own prefix.
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -1084,6 +1084,8 @@ patternProperties: description: OpenPandora GmbH "^openrisc,.*": description: OpenRISC.io + "^openwrt,.*": + description: OpenWrt "^option,.*": description: Option NV "^oranth,.*":
Signature · 1 line
2.35.3
Re: [PATCH 1/3] dt-bindings: vendor-prefixes: add OpenWrt
Quoted 7 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
OpenWrt project (with the help of MediaTek and Banana Pi) has produced its very first own hardware. It needs its own prefix.
Signed-off-by Rafał Miłecki <[email protected]>---
Best regards,
Krzysztof
Re: [PATCH 1/3] dt-bindings: vendor-prefixes: add OpenWrt
In reply to Rafał MiłeckiQuoted 6 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
OpenWrt project (with the help of MediaTek and Banana Pi) has produced its very first own hardware. It needs its own prefix.
Signed-off-by Rafał Miłecki <[email protected]>
Yours,
Linus Walleij
AngeloGioacchino Del Regno
maintainerRe: [PATCH 1/3] dt-bindings: vendor-prefixes: add OpenWrt
Il 29/05/24 09:42, Linus Walleij ha scritto:
Quoted 11 lines · Rafał Miłecki
Quoted 7 lines
From: Rafał Miłecki <[email protected]>
OpenWrt project (with the help of MediaTek and Banana Pi) has produced its very first own hardware. It needs its own prefix.
Signed-off-by Rafał Miłecki <[email protected]>Reviewed-by Linus Walleij <[email protected]>
Hello,
I'm not sure about who should pick this particular patch - should I pick it into the MediaTek tree, or...?
Cheers,
Angelo
Re: [PATCH 1/3] dt-bindings: vendor-prefixes: add OpenWrt
Quoted 10 lines · AngeloGioacchino Del Regno
Il 29/05/24 09:42, Linus Walleij ha scritto:
Quoted 9 lines · Rafał Miłecki
Quoted 7 lines
From: Rafał Miłecki <[email protected]>
OpenWrt project (with the help of MediaTek and Banana Pi) has produced its very first own hardware. It needs its own prefix.
Signed-off-by Rafał Miłecki <[email protected]>
Quoted 7 lines
Quoted 2 lines
Reviewed-by Linus Walleij <[email protected]>Hello,
I'm not sure about who should pick this particular patch - should I pick it into the MediaTek tree, or...?
We have ack from DT maintainer. Similar PATCH was picked by you during the previous merge windows in the commit d67c211261d1 ("dt-bindings:
vendor-prefixes: add Cudy"). I don't see why this one couldn't go through your / mediatek tree :)
AngeloGioacchino Del Regno
maintainerRe: [PATCH 1/3] dt-bindings: vendor-prefixes: add OpenWrt
Il 04/06/24 09:14, Rafał Miłecki ha scritto:
Quoted 16 lines · AngeloGioacchino Del Regno
Quoted 15 lines
Il 29/05/24 09:42, Linus Walleij ha scritto:
Quoted 11 lines · Rafał Miłecki
Quoted 7 lines
From: Rafał Miłecki <[email protected]>
OpenWrt project (with the help of MediaTek and Banana Pi) has produced its very first own hardware. It needs its own prefix.
Signed-off-by Rafał Miłecki <[email protected]>Reviewed-by Linus Walleij <[email protected]>Hello,
Quoted 7 lines
Quoted 2 lines
I'm not sure about who should pick this particular patch - should I pick it into the MediaTek tree, or...?
We have ack from DT maintainer. Similar PATCH was picked by you during the previous merge windows in the commit
d67c211261d1("dt-bindings:
vendor-prefixes: add Cudy"). I don't see why this one couldn't go through your / mediatek tree :)
Ah, yes, right.
Cheers,
Angelo
Re: [PATCH 1/3] dt-bindings: vendor-prefixes: add OpenWrt
In reply to Rafał MiłeckiIl 27/05/24 13:59, Rafał Miłecki ha scritto:
Quoted 6 lines
From: Rafał Miłecki <[email protected]>
OpenWrt project (with the help of MediaTek and Banana Pi) has produced its very first own hardware. It needs its own prefix.
Signed-off-by Rafał Miłecki <[email protected]>
PATCH 2/3 dt-bindings: arm64: dts: mediatek: Add OpenWrt One
In reply to Rafał MiłeckiFrom: Rafał Miłecki <[email protected]>
OpenWrt One is the first ever OpenWrt product. It's based on MT7981B and has entered an early production stage.
--- Documentation/devicetree/bindings/arm/mediatek.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/mediatek.yaml +1 -0
@@ -86,6 +86,7 @@ properties: - items: - enum: - cudy,wr3000-v1 + - openwrt,one - xiaomi,ax3000t - const: mediatek,mt7981b - items:
Signature · 1 line
2.35.3
Re: [PATCH 2/3] dt-bindings: arm64: dts: mediatek: Add OpenWrt One
Quoted 6 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
OpenWrt One is the first ever OpenWrt product. It's based on MT7981B and has entered an early production stage.
Signed-off-by Rafał Miłecki <[email protected]>
Best regards,
Krzysztof
AngeloGioacchino Del Regno
maintainerRe: [PATCH 2/3] dt-bindings: arm64: dts: mediatek: Add OpenWrt One
In reply to Rafał MiłeckiIl 27/05/24 13:59, Rafał Miłecki ha scritto:
Quoted 15 lines
From: Rafał Miłecki <[email protected]>
OpenWrt One is the first ever OpenWrt product. It's based on MT7981B and has entered an early production stage.
Signed-off-by Rafał Miłecki <[email protected]>--- Documentation/devicetree/bindings/arm/mediatek.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/arm/mediatek.yaml +0
-0
Documentation/devicetree/bindings/arm/mediatek.yaml properties: · line 89
Quoted 4 lines
Documentation/devicetree/bindings/arm/mediatek.yaml +1
-0@@ -86,6 +86,7 @@ properties: - items: - enum: - cudy,wr3000-v1 + - openwrt,one
Isn't the OpenWRT One made by BananaPi?
In that case this would be bananapi,openwrt-one I guess?
Is there any OpenWRT contact that can please help clarifying this?
Thanks,
Angelo
Quoted 3 lines
Documentation/devicetree/bindings/arm/mediatek.yaml +0
-0- xiaomi,ax3000t - const: mediatek,mt7981b - items:
Re: [PATCH 2/3] dt-bindings: arm64: dts: mediatek: Add OpenWrt One
Quoted 4 lines · AngeloGioacchino Del Regno
Isn't the OpenWRT One made by BananaPi?
In that case this would be bananapi,openwrt-one I guess?Is there any OpenWRT contact that can please help clarifying this?
Both Rafal and me are members of the OpenWrt project.
The legal responsibility and trademark of this product is handled by OpenWrt, so they are legally the entity producing this board, I think that is what matters for vendor strings.
Yours,
Linus Walleij
AngeloGioacchino Del Regno
maintainerRe: [PATCH 2/3] dt-bindings: arm64: dts: mediatek: Add OpenWrt One
Il 29/05/24 09:51, Linus Walleij ha scritto:
Quoted 8 lines
Quoted 4 lines · AngeloGioacchino Del Regno
Isn't the OpenWRT One made by BananaPi?
In that case this would be bananapi,openwrt-one I guess?Is there any OpenWRT contact that can please help clarifying this?
Quoted 8 lines
Both Rafal and me are members of the OpenWrt project.
The legal responsibility and trademark of this product is handled by OpenWrt, so they are legally the entity producing this board, I think that is what matters for vendor strings.
Yours,
Linus Walleij
I was suspecting that, but wanted to be extremely sure of what's happening here especially because we're at the beginning of the new cycle.
Btw, I think I didn't know that Rafal was involved in that ... or maybe I knew but I forgot - whatever - there's just too much stuff in my head right now :-P
Thanks for clarifying!
Cheers,
Angelo
Re: [PATCH 2/3] dt-bindings: arm64: dts: mediatek: Add OpenWrt One
In reply to Rafał MiłeckiQuoted 6 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
OpenWrt One is the first ever OpenWrt product. It's based on MT7981B and has entered an early production stage.
Signed-off-by Rafał Miłecki <[email protected]>
Yours,
Linus Walleij
Re: [PATCH 2/3] dt-bindings: arm64: dts: mediatek: Add OpenWrt One
In reply to Rafał MiłeckiIl 27/05/24 13:59, Rafał Miłecki ha scritto:
Quoted 6 lines
From: Rafał Miłecki <[email protected]>
OpenWrt One is the first ever OpenWrt product. It's based on MT7981B and has entered an early production stage.
Signed-off-by Rafał Miłecki <[email protected]>
PATCH 3/3 arm64: dts: mediatek: Add OpenWrt One
In reply to Rafał MiłeckiFrom: Rafał Miłecki <[email protected]>
OpenWrt One is the first ever OpenWrt product. It's based on MT7981B (AKA Filogic 820) and has 1 GiB or DDR4 RAM. The rest of peripherals remains to be added later.
--- arch/arm64/boot/dts/mediatek/Makefile | 1 + .../boot/dts/mediatek/mt7981b-openwrt-one.dts | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts
arch/arm64/boot/dts/mediatek/Makefile +1 -0
@@ -9,6 +9,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt6797-x20-dev.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-rfb1.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt7622-bananapi-bpi-r64.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt7981b-cudy-wr3000-v1.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt7981b-openwrt-one.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
arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts new file +15 -0
@@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MIT + +/dts-v1/; + +#include "mt7981b.dtsi" + +/ { + compatible = "openwrt,one", "mediatek,mt7981b"; + model = "OpenWrt One"; + + memory@40000000 { + reg = <0 0x40000000 0 0x40000000>; + device_type = "memory"; + }; +};
Signature · 1 line
2.35.3
Re: [PATCH 3/3] arm64: dts: mediatek: Add OpenWrt One
Quoted 7 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
OpenWrt One is the first ever OpenWrt product. It's based on MT7981B (AKA Filogic 820) and has 1 GiB or DDR4 RAM. The rest of peripherals remains to be added later.
Signed-off-by Rafał Miłecki <[email protected]>
Yours,
Linus Walleij
Re: [PATCH 3/3] arm64: dts: mediatek: Add OpenWrt One
In reply to Rafał MiłeckiIl 27/05/24 13:59, Rafał Miłecki ha scritto:
Quoted 7 lines
From: Rafał Miłecki <[email protected]>
OpenWrt One is the first ever OpenWrt product. It's based on MT7981B (AKA Filogic 820) and has 1 GiB or DDR4 RAM. The rest of peripherals remains to be added later.
Signed-off-by Rafał Miłecki <[email protected]>
Quoted 8 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
OpenWrt project (https://openwrt.org/) celebrates its 20 years by releasing an OpenWrt One product. Early units have been produced and will be followed by DVT samples really soon. Then the mass production is about to start.
[...]
Applied to v6.10-next/dts64, thanks!
[1/3] dt-bindings: vendor-prefixes: add OpenWrt
commit: 80468ed25791e9c749cd12117111650a7f014928
[2/3] dt-bindings: arm64: dts: mediatek: Add OpenWrt One
commit: 33e9d52fd89c8101a72fd95f648c8094ef4488a1
[3/3] arm64: dts: mediatek: Add OpenWrt One
commit: c8770738f12ac3eced96dd7768be62b6c5018ed3Cheers,
Angelo