dt-bindings: vendor-prefixes: add Internet Initiative Japan Inc.
PATCH 1/2 dt-bindings: vendor-prefixes: add Internet Initiative Japan Inc.
Internet Initiative Japan Inc. (IIJ) is a developer of network equipment and a provider of network-related services.
https://www.iij.ad.jp/en/
Add a vendor prefix for it.
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -601,6 +601,8 @@ patternProperties: description: Integrated Device Technologies, Inc. "^ifi,.*": description: Ingenieurburo Fur Ic-Technologie (I/F/I) + "^iij,.*": + description: Internet Initiative Japan Inc. "^ilitek,.*": description: ILI Technology Corporation (ILITEK) "^imagis,.*":
Signature · 1 line
2.25.1
PATCH 2/2 ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance
Add device tree for Internet Initiative Japan Inc. (IIJ) SA-W2 appliance.
Specification:
- SoC : Marvell Armada 380 88F6810
- RAM : DDR3 256 MiB
- Flash : SPI-NOR 32 MiB
- WLAN : 2x Mini PCI-E slots
- 2.4 GHz : Atheros AR9287
- 5 GHz : Qualcomm Atheros QCA9880
- Ethernet : 5x 10/100/1000 Mbps
- Switch : Marvell 88E6172
- LEDs : 12x
- Buttons : 1x
- Serial : "CONSOLE" port (RJ-45, RS-232C level)
- port : ttyS0
- settings : 115200 8n1
- assignment: 1:NC , 2:NC , 3:TXD, 4:GND,
5:GND, 6:RXD, 7:NC , 8:NC
- USB : 2x USB 2.0 Type-A
- Hub : SMCC USB2514B
- Power : DC Input or PoE Input
- DC : 12 VDC, 3 A
- PoE : 802.3f
- module : Silvertel Ag9712-2BR
- Bootloader : PMON2000 based
- Stock OS : NetBSD basedImage header for stock bootloader:
0x00 - 0x07: Identifier , ascii, "SEIL2015"0x08 - 0x57: Copyright , ascii0x58 - 0x5b: Checksum (CRC32), hex
0x5c - 0x5f: Version Format , hex , 0x00000001 0x60 - 0x63: Major Version , hex 0x64 - 0x67: Minor Version , hex
0x68 - 0x87: Release Version , ascii0x88 - 0x8b: Xor Key? , hex , 0x00000000 (if not encoded)0x8c - 0x8f: Data Length , hex
example:
Identifier : "SEIL2015" Copyright : "ARM OpenWrt Linux-5.15.94" Checksum : 0xd575759f (calculated from kernel data)
Version Format : 0x00000001
Major Version : 0x00000009
Minor Version : 0x00000063
Release Version: "r22151-318ed84c8d"
Xor Key? : 0x00000000
Data Length : 0x35312d33 (length of kernel data)
--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/armada-380-iij-sa-w2.dts | 391 +++++++++++++++++++++ 2 files changed, 392 insertions(+) create mode 100644 arch/arm/boot/dts/armada-380-iij-sa-w2.dts
arch/arm/boot/dts/Makefile +1 -0
@@ -1523,6 +1523,7 @@ dtb-$(CONFIG_MACH_ARMADA_370) += \ dtb-$(CONFIG_MACH_ARMADA_375) += \ armada-375-db.dtb dtb-$(CONFIG_MACH_ARMADA_38X) += \ + armada-380-iij-sa-w2.dtb \ armada-381-netgear-gs110emx.dtb \ armada-382-rd-ac3x-48g4x2xl.dtb \ armada-385-atl-x530.dtb\
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +391 -0
391 lines not on this page · raw message
Signature · 1 line
2.25.1
Re: [PATCH 2/2] ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance
Quoted 84 lines · INAGAKI Hiroshi
Add device tree for Internet Initiative Japan Inc. (IIJ) SA-W2 appliance.
Specification:
- SoC : Marvell Armada 380 88F6810 - RAM : DDR3 256 MiB - Flash : SPI-NOR 32 MiB - WLAN : 2x Mini PCI-E slots - 2.4 GHz : Atheros AR9287 - 5 GHz : Qualcomm Atheros QCA9880 - Ethernet : 5x 10/100/1000 Mbps - Switch : Marvell 88E6172 - LEDs : 12x - Buttons : 1x - Serial : "CONSOLE" port (RJ-45, RS-232C level) - port : ttyS0 - settings : 115200 8n1 - assignment: 1:NC , 2:NC , 3:TXD, 4:GND, 5:GND, 6:RXD, 7:NC , 8:NC - USB : 2x USB 2.0 Type-A - Hub : SMCC USB2514B - Power : DC Input or PoE Input - DC : 12 VDC, 3 A - PoE : 802.3f - module : Silvertel Ag9712-2BR - Bootloader : PMON2000 based - Stock OS : NetBSD basedImage header for stock bootloader:
0x00-0x07: Identifier , ascii, "SEIL2015"0x08-0x57: Copyright , ascii0x58-0x5b: Checksum (CRC32), hex0x5c - 0x5f: Version Format , hex , 0x00000001 0x60 - 0x63: Major Version , hex 0x64 - 0x67: Minor Version , hex
0x68-0x87: Release Version , ascii0x88-0x8b: Xor Key? , hex ,0x00000000(if not encoded)0x8c-0x8f: Data Length , hexexample:
Identifier : "SEIL2015" Copyright : "ARM OpenWrt Linux-5.15.94" Checksum : 0xd575759f (calculated from kernel data)Version Format :
0x00000001
Major Version :0x00000009
Minor Version :0x00000063
Release Version: "r22151-318ed84c8d"
Xor Key? :0x00000000
Data Length :0x35312d33(length of kernel data)Signed-off-by INAGAKI Hiroshi <[email protected]>--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/armada-380-iij-sa-w2.dts | 391 +++++++++++++++++++++ 2 files changed, 392 insertions(+) create mode 100644 arch/arm/boot/dts/armada-380-iij-sa-w2.dtsarch/arm/boot/dts/Makefile +1
-0@@ -1523,6 +1523,7 @@ dtb-$(CONFIG_MACH_ARMADA_370) += \ dtb-$(CONFIG_MACH_ARMADA_375) += \ armada-375-db.dtb dtb-$(CONFIG_MACH_ARMADA_38X) += \ + armada-380-iij-sa-w2.dtb \ armada-381-netgear-gs110emx.dtb \ armada-382-rd-ac3x-48g4x2xl.dtb \ armada-385-atl-x530.dtb\arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +7
-0@@ -0,0 +1,391 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree file for Internet Initiative Japan Inc. SA-W2 Appliance + * + * Copyright (c) 2023, INAGAKI Hiroshi <[email protected]> + */ +
arch/arm/boot/dts/armada-380-iij-sa-w2.dts line 17
Quoted 10 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +10
-0+/dts-v1/; + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h> +#include "armada-380.dtsi" + +/ { + model = "IIJ SA-W2"; + compatible = "iij,sa-w2", "marvell,armada380";
It would be nice to start documenting the board compatibles, at least for new boards.
Best regards,
Krzysztof
Re: [PATCH 2/2] ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance
Hi Krzysztof,
thank you for the comment.
Quoted 89 lines · Krzysztof Kozlowski
Quoted 88 lines · INAGAKI Hiroshi
Add device tree for Internet Initiative Japan Inc. (IIJ) SA-W2 appliance.
Specification:
- SoC : Marvell Armada 380 88F6810 - RAM : DDR3 256 MiB - Flash : SPI-NOR 32 MiB - WLAN : 2x Mini PCI-E slots- 2.4 GHz : Atheros AR9287
- 5 GHz : Qualcomm Atheros QCA9880
- Ethernet : 5x 10/100/1000 Mbps
- Switch : Marvell 88E6172- LEDs : 12x - Buttons : 1x - Serial : "CONSOLE" port (RJ-45, RS-232C level) - port : ttyS0 - settings : 115200 8n1 - assignment: 1:NC , 2:NC , 3:TXD, 4:GND, 5:GND, 6:RXD, 7:NC , 8:NC - USB : 2x USB 2.0 Type-A - Hub : SMCC USB2514B - Power : DC Input or PoE Input - DC : 12 VDC, 3 A - PoE : 802.3f - module : Silvertel Ag9712-2BR- Bootloader : PMON2000 based
- Stock OS : NetBSD basedImage header for stock bootloader:
0x00-0x07: Identifier , ascii, "SEIL2015"0x08-0x57: Copyright , ascii0x58-0x5b: Checksum (CRC32), hex0x5c - 0x5f: Version Format , hex , 0x00000001 0x60 - 0x63: Major Version , hex 0x64 - 0x67: Minor Version , hex
0x68-0x87: Release Version , ascii0x88-0x8b: Xor Key? , hex ,0x00000000(if not encoded)0x8c-0x8f: Data Length , hexexample: Identifier : "SEIL2015" Copyright : "ARM OpenWrt Linux-5.15.94" Checksum : 0xd575759f (calculated from kernel data) Version Format : 0x00000001 Major Version : 0x00000009 Minor Version : 0x00000063 Release Version: "r22151-318ed84c8d" Xor Key? : 0x00000000 Data Length : 0x35312d33 (length of kernel data)Signed-off-by INAGAKI Hiroshi <[email protected]>--- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/armada-380-iij-sa-w2.dts | 391 +++++++++++++++++++++ 2 files changed, 392 insertions(+)create mode 100644
arch/arm/boot/dts/armada-380-iij-sa-w2.dtsarch/arm/boot/dts/Makefile +1
-0@@ -1523,6 +1523,7 @@ dtb-$(CONFIG_MACH_ARMADA_370) += \ dtb-$(CONFIG_MACH_ARMADA_375) += \ armada-375-db.dtb dtb-$(CONFIG_MACH_ARMADA_38X) += \ + armada-380-iij-sa-w2.dtb \ armada-381-netgear-gs110emx.dtb \ armada-382-rd-ac3x-48g4x2xl.dtb \ armada-385-atl-x530.dtb\arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +11
-0@@ -0,0 +1,391 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree file for Internet Initiative Japan Inc. SA-W2 Appliance + * + * Copyright (c) 2023, INAGAKI Hiroshi <[email protected]> + */ + +/dts-v1/; + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h>
Quoted 8 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts line 17
Quoted 6 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +6
-0+#include <dt-bindings/leds/common.h> +#include "armada-380.dtsi" + +/ { + model = "IIJ SA-W2"; + compatible = "iij,sa-w2", "marvell,armada380";It would be nice to start documenting the board compatibles, at least for new boards.
So...how do I do that?
Quoted 4 lines
Best regards,
Krzysztof
Regards,
Hiroshi
Re: [PATCH 2/2] ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance
Quoted 8 lines · INAGAKI Hiroshi
Quoted 6 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts line 17
Quoted 4 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +4
-0+ +/ { + model = "IIJ SA-W2"; + compatible = "iij,sa-w2", "marvell,armada380";It would be nice to start documenting the board compatibles, at least for new boards.
So...how do I do that?
Start with something like this for Marvell:
https://lore.kernel.org/all/[email protected]/
But maybe someone already started it for Marvell? Marvell SoC maintainers might help here to coordinate to avoid duplicated work.
Best regards,
Krzysztof
Re: [PATCH 2/2] ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance
Hi Krzysztof,
thank you for the response.
Quoted 8 lines · Krzysztof Kozlowski
Quoted 6 lines · INAGAKI Hiroshi
Quoted 6 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts line 17
Quoted 4 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +4
-0+ +/ { + model = "IIJ SA-W2"; + compatible = "iij,sa-w2", "marvell,armada380";It would be nice to start documenting the board compatibles, at least for new boards.
Quoted 4 lines
Quoted 1 line
So...how do I do that?
Start with something like this for Marvell:
Oh, got it. So marvell/armada-38x.yaml needs to be created from armada-38x.txt like armada-37xx.yaml.
Questions:
- who should be assigned to "maintainers:" in new yaml?
- should the old text file be deleted when new yaml is created?
Quoted 2 lines
But maybe someone already started it for Marvell? Marvell SoC maintainers might help here to coordinate to avoid duplicated work.
OK, I'll try to add it if no one is working on...
Quoted 4 lines
Best regards,
Krzysztof
Regards,
Hiroshi
Re: [PATCH 2/2] ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance
Quoted 13 lines · INAGAKI Hiroshi
Hi Krzysztof,
thank you for the response.
Quoted 8 lines · Krzysztof Kozlowski
Quoted 6 lines · INAGAKI Hiroshi
Quoted 6 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts line 17
Quoted 4 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +4
-0+ +/ { + model = "IIJ SA-W2"; + compatible = "iij,sa-w2", "marvell,armada380";It would be nice to start documenting the board compatibles, at least for new boards.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
So...how do I do that?
Start with something like this for Marvell:
Oh, got it. So
marvell/armada-38x.yamlneeds to be created from armada-38x.txt likearmada-37xx.yaml.
I don't understand why we need three or more files... all or almost all platforms are having them in one file. So just merge them to one.
Quoted 4 lines
Questions:
- who should be assigned to "maintainers:" in new yaml?
Maintainer of platform.
Quoted 1 line
- should the old text file be deleted when new yaml is created?
If you convert, then yes, but we did not talk about conversion but at least starting documenting the new ones.
Best regards,
Krzysztof
Re: [PATCH 2/2] ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance
Hi Krzysztof,
Quoted 23 lines · Krzysztof Kozlowski
Quoted 13 lines · INAGAKI Hiroshi
Hi Krzysztof,
thank you for the response.
Quoted 8 lines · Krzysztof Kozlowski
Quoted 6 lines · INAGAKI Hiroshi
Quoted 6 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts line 17
Quoted 4 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +4
-0+ +/ { + model = "IIJ SA-W2"; + compatible = "iij,sa-w2", "marvell,armada380";It would be nice to start documenting the board compatibles, at least for new boards.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
So...how do I do that?
Start with something like this for Marvell:
Oh, got it. So
marvell/armada-38x.yamlneeds to be created from armada-38x.txt likearmada-37xx.yaml.I don't understand why we need three or more files... all or almost all platforms are having them in one file. So just merge them to one.
Quoted 8 lines
Quoted 3 lines
Questions:
- who should be assigned to "maintainers:" in new yaml?
Maintainer of platform.
Quoted 1 line
- should the old text file be deleted when new yaml is created?
If you convert, then yes, but we did not talk about conversion but at least starting documenting the new ones.
thank you for your answers and sorry for my misunderstandings...
So, (to organize my thoughts and understand correctly)
- what is the optimal solution for "documenting the board compatibles" of Marvell platforms in the current state?
- What should I do in this contribution of SA-W2 for "documenting the board compatibles"?
Quoted 6 lines
Best regards,
Krzysztof
Regards,
Hiroshi
Re: [PATCH 2/2] ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance
In reply to INAGAKI HiroshiQuoted 14 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +14
-0+ pcie { + status = "okay"; + + pcie@1,0 { + status = "okay"; + + /* Atheros AR9287 */ + wifi@0,0 { + compatible = "pci168c,002e"; + reg = <0000 0 0 0 0>; + }; + }; + + pcie@3,0 {
arch/arm/boot/dts/armada-380-iij-sa-w2.dts line 58
Quoted 10 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +10
-0+ status = "okay"; + + /* Qualcomm Atheros QCA9880 */ + wifi@0,0 { + compatible = "qcom,ath10k"; + reg = <0000 0 0 0 0>; + }; + }; + }; + };
These are not wrong, but they are also not needed. PCI devices should be discovered by enumeration, and you don't have any additional properties here, or phandles pointing to these nodes.
I assume these are COTS wifi modules? By listing them here you are restricting some flexibility. The OEM could for example swap the modules around, and Linux would not care, but the DT would then be wrong. Or you could have a device with a different module because it is cheaper, and again, Linux would not care, but the DT would be wrong.
Quoted 15 lines
+&usb0 {
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +14
-0+ pinctrl-names = "default"; + pinctrl-0 = <&pmx_usb_pins>; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + /* SMSC USB2514B */ + hub@1 { + compatible = "usb424,2514"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + hub_port1: port@1 {
arch/arm/boot/dts/armada-380-iij-sa-w2.dts line 240
Quoted 10 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +10
-0+ reg = <1>; + #trigger-source-cells = <0>; + }; + + hub_port2: port@2 { + reg = <2>; + #trigger-source-cells = <0>; + }; + }; +};
Same comment as PCI. However, it is likely that the USB hub is actually on the board, not a module, so it is a lot less likely to change.
As i said, they are not wrong, so you don't need to remove them.
Andrew
Re: [PATCH 2/2] ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance
Hi Andrew,
thank you for your reviews and detailed descriptions.
Quoted 28 lines · Andrew Lunn
Quoted 14 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +14
-0+ pcie { + status = "okay"; + + pcie@1,0 { + status = "okay"; + + /* Atheros AR9287 */ + wifi@0,0 { + compatible = "pci168c,002e"; + reg = <0000 0 0 0 0>; + }; + }; + + pcie@3,0 {arch/arm/boot/dts/armada-380-iij-sa-w2.dts line 58
Quoted 10 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +10
-0+ status = "okay"; + + /* Qualcomm Atheros QCA9880 */ + wifi@0,0 { + compatible = "qcom,ath10k"; + reg = <0000 0 0 0 0>; + }; + }; + }; + };These are not wrong, but they are also not needed. PCI devices should be discovered by enumeration, and you don't have any additional properties here, or phandles pointing to these nodes.
Quoted 6 lines
I assume these are COTS wifi modules? By listing them here you are restricting some flexibility. The OEM could for example swap the modules around, and Linux would not care, but the DT would then be wrong. Or you could have a device with a different module because it is cheaper, and again, Linux would not care, but the DT would be wrong.
Got it. SA-W2 is not designed to allow users to swap cards under normal use, but certainly things like you said can happen... I'll remove "wifi" nodes.
Quoted 1 line
I assume these are COTS wifi modules?
Yes, those are the modules manufactured by Silex Technology, Inc. [1][2].
[1]: https://www.silex.jp/products/wireless-module/sxpcegn.html
[2]: https://www.silex.jp/products/wireless-module/sxpceac.html
Quoted 21 lines
Quoted 21 lines
+&usb0 {
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +19
-0+ pinctrl-names = "default"; + pinctrl-0 = <&pmx_usb_pins>; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + /* SMSC USB2514B */ + hub@1 { + compatible = "usb424,2514"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + hub_port1: port@1 { + reg = <1>; + #trigger-source-cells = <0>; + }; + + hub_port2: port@2 {
Quoted 8 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts line 240
Quoted 5 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +5
-0+ reg = <2>; + #trigger-source-cells = <0>; + }; + }; +};Same comment as PCI. However, it is likely that the USB hub is actually on the board, not a module, so it is a lot less likely to change.
Yes, that USB hub is on the PCB and wired to the SoC directly. But I'll keep it in mind...
Quoted 5 lines
As i said, they are not wrong, so you don't need to remove them.
Andrew
Regards,
Hiroshi
Re: [PATCH 2/2] ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance
Hello INAGAKI Hiroshi,
do you plan to send a v2 soon based on the reviews you got ?
Or if you already sent it, I missed it, in this case could you resend it with me in CC ?
Thanks,
Gregory
Quoted 92 lines
Hi Andrew,
thank you for your reviews and detailed descriptions.
Quoted 28 lines · Andrew Lunn
Quoted 14 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +14
-0+ pcie { + status = "okay"; + + pcie@1,0 { + status = "okay"; + + /* Atheros AR9287 */ + wifi@0,0 { + compatible = "pci168c,002e"; + reg = <0000 0 0 0 0>; + }; + }; + + pcie@3,0 {arch/arm/boot/dts/armada-380-iij-sa-w2.dts line 58
Quoted 10 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +10
-0+ status = "okay"; + + /* Qualcomm Atheros QCA9880 */ + wifi@0,0 { + compatible = "qcom,ath10k"; + reg = <0000 0 0 0 0>; + }; + }; + }; + };These are not wrong, but they are also not needed. PCI devices should be discovered by enumeration, and you don't have any additional properties here, or phandles pointing to these nodes.
Quoted 6 lines
I assume these are COTS wifi modules? By listing them here you are restricting some flexibility. The OEM could for example swap the modules around, and Linux would not care, but the DT would then be wrong. Or you could have a device with a different module because it is cheaper, and again, Linux would not care, but the DT would be wrong.
Got it. SA-W2 is not designed to allow users to swap cards under normal use, but certainly things like you said can happen... I'll remove "wifi" nodes.
Quoted 1 line
I assume these are COTS wifi modules?
Yes, those are the modules manufactured by Silex Technology, Inc. [1][2].
[1]: https://www.silex.jp/products/wireless-module/sxpcegn.html
[2]: https://www.silex.jp/products/wireless-module/sxpceac.htmlQuoted 21 lines
Quoted 21 lines
+&usb0 {
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +19
-0+ pinctrl-names = "default"; + pinctrl-0 = <&pmx_usb_pins>; + status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + + /* SMSC USB2514B */ + hub@1 { + compatible = "usb424,2514"; + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + hub_port1: port@1 { + reg = <1>; + #trigger-source-cells = <0>; + }; + + hub_port2: port@2 {Quoted 8 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts line 240
Quoted 5 lines
arch/arm/boot/dts/armada-380-iij-sa-w2.dts new file +5
-0+ reg = <2>; + #trigger-source-cells = <0>; + }; + }; +};Same comment as PCI. However, it is likely that the USB hub is actually on the board, not a module, so it is a lot less likely to change.
Yes, that USB hub is on the PCB and wired to the SoC directly. But I'll keep it in mind...
Quoted 5 lines
As i said, they are not wrong, so you don't need to remove them.
Andrew
Regards,
Hiroshi
Signature · 3 lines
Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com
Re: [PATCH 2/2] ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance
Hello Gregory CLEMENT,
Quoted 3 lines · Gregory CLEMENT
Hello INAGAKI Hiroshi,
do you plan to send a v2 soon based on the reviews you got ?
Yes, I'm planning to send the next series.
But I don't know the details about "documenting the board compatibles" suggested by Krzysztof Kozlowski and I don't know what to do for it, so I'm pausing this contribution...
Quoted 8 lines
Or if you already sent it, I missed it, in this case could you resend it with me in CC ?
Thanks,
Gregory
Regards,
Hiroshi
Re: [PATCH 2/2] ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance
Quoted 11 lines · INAGAKI Hiroshi
Hello Gregory CLEMENT,
Quoted 3 lines · Gregory CLEMENT
Hello INAGAKI Hiroshi,
do you plan to send a v2 soon based on the reviews you got ?
Yes, I'm planning to send the next series.
But I don't know the details about "documenting the board compatibles" suggested by Krzysztof Kozlowski and I don't know what to do for it, so I'm pausing this contribution...
Create Documentation/devicetree/bindings/arm/marvell/armada-380.yaml
Put in it
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2
---
$id: http://devicetree.org/schemas/arm/marvell/armada-380.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Marvell Armada 380 SoC architecture
maintainers:
- Andrew Lunn <[email protected]>
description:
Platforms based on Marvell Armada 380 SoC architecture.
properties:
$nodename:
const: '/'
compatibnle:
oneOf:
- description: Marvell Armada 380 SoC based platforms items:
- enum:
- phytec,pcm049 # Phytec OMAP 4460 SoM
- const: "marvell,armada380"
additionalProperties: true
But replace the phytex,pcm049 with the compatible for your board.
Andrew
Re: [PATCH 2/2] ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance
Hello Andrew Lunn,
thank you for your guidance, I'll do it.
Regards,
Hiroshi
Quoted 47 lines · Andrew Lunn
Quoted 10 lines · INAGAKI Hiroshi
Hello Gregory CLEMENT,
Quoted 3 lines · Gregory CLEMENT
Hello INAGAKI Hiroshi,
do you plan to send a v2 soon based on the reviews you got ?
Yes, I'm planning to send the next series.
But I don't know the details about "documenting the board compatibles" suggested by Krzysztof Kozlowski and I don't know what to do for it, so I'm pausing this contribution...Create
Documentation/devicetree/bindings/arm/marvell/armada-380.yamlPut in it
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2
---
$id: http://devicetree.org/schemas/arm/marvell/armada-380.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#title: Marvell Armada 380 SoC architecture
maintainers:
- Andrew Lunn <[email protected]>description:
Platforms based on Marvell Armada 380 SoC architecture.properties:
$nodename:const: '/'compatibnle:
oneOf:- description: Marvell Armada 380 SoC based platforms items:
- enum:
- phytec,pcm049 # Phytec OMAP 4460 SoM
- const: "marvell,armada380"additionalProperties: true
But replace the phytex,pcm049 with the compatible for your board.
Andrew
Re: [PATCH 2/2] ARM: dts: mvebu: add device tree for IIJ SA-W2 appliance
Quoted 3 lines · INAGAKI Hiroshi
Hello Andrew Lunn,
thank you for your guidance, I'll do it.
You probably want to talk to Tony Dinh <[email protected]>.
https://lore.kernel.org/linux-arm-kernel/[email protected]/T/
Andrew
Quoted 10 lines · INAGAKI Hiroshi
Internet Initiative Japan Inc. (IIJ) is a developer of network equipment and a provider of network-related services.
https://www.iij.ad.jp/en/Add a vendor prefix for it.
Signed-off-by INAGAKI Hiroshi <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Best regards,
Krzysztof