Skip to contentSkip to conversation

dt-bindings: vendor-prefixes: Add Ctera Networks

PATCH Superseded Pawel Dembicki 3 participants 4 messages Feb 7, 2022 – Feb 11, 2022

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dt-bindings: vendor-prefixes: Add Ctera Networks

CTERA Networks Intl. is a company based in Israel. They manufacture NASes, network devices and provide software products for cloud storage and IT security.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index c48ce3c54951..9e247353b6bc 100644
@@ -275,6 +275,8 @@ patternProperties:
     description: Hangzhou C-SKY Microsystems Co., Ltd
   "^csq,.*":
     description: Shenzen Chuangsiqi Technology Co.,Ltd.
+  "^ctera,.*":
+    description: CTERA Networks Intl.
   "^cubietech,.*":
     description: Cubietech, Ltd.
   "^cui,.*":
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 ARM: dts: kirkwood: Add Ctera C-200 V1 board

Ctera C200 V1 is kirkwood-based 2-Bay NAS.

Hardware:
- SoC: Marvell 88F6281-A1 ARMv5TE Processor 1.2GHz
- Ram: 512MB (4x Nanya NT5TU128M8GE-AC)
- NAND Flash: 256MB (Samsung 216 K9F2G08U0C)
- Lan: 1x GBE (Marvell 88E1116R-NNC1)
- Storage: 2x SATA HDD 3.5" Slot
- USB: 2x USB 2.0 port
- Console: Internal J3 connector (1: Vcc, 2: Rx, 3: Tx, 4: GND)
- LEDs: 13x GPIO controlled
- Buttons: 2x GPIO controlled

---
 arch/arm/boot/dts/Makefile             |   1 +
 arch/arm/boot/dts/kirkwood-c200-v1.dts | 319 +++++++++++++++++++++++++
 2 files changed, 320 insertions(+)
 create mode 100644 arch/arm/boot/dts/kirkwood-c200-v1.dts
arch/arm/boot/dts/Makefile +1 -0
index 235ad559acb2..31616f6ae173 100644
@@ -281,6 +281,7 @@ dtb-$(CONFIG_ARCH_KEYSTONE) += \
 dtb-$(CONFIG_MACH_KIRKWOOD) += \
 	kirkwood-b3.dtb \
 	kirkwood-blackarmor-nas220.dtb \
+	kirkwood-c200-v1.dtb \
 	kirkwood-cloudbox.dtb \
 	kirkwood-d2net.dtb \
 	kirkwood-db-88f6281.dtb \
arch/arm/boot/dts/kirkwood-c200-v1.dts new file +319 -0

319 lines not on this page · raw message

Signature · 1 line
2.25.1
#2 lore raw

Re: [PATCH 2/2] ARM: dts: kirkwood: Add Ctera C-200 V1 board

Quoted 13 lines · Pawel Dembicki

Ctera C200 V1 is kirkwood-based 2-Bay NAS.

Hardware:
- SoC: Marvell 88F6281-A1 ARMv5TE Processor 1.2GHz
- Ram: 512MB (4x Nanya NT5TU128M8GE-AC)
- NAND Flash: 256MB (Samsung 216 K9F2G08U0C)
- Lan: 1x GBE (Marvell 88E1116R-NNC1)
- Storage: 2x SATA HDD 3.5" Slot
- USB: 2x USB 2.0 port
- Console: Internal J3 connector (1: Vcc, 2: Rx, 3: Tx, 4: GND)
- LEDs: 13x GPIO controlled
- Buttons: 2x GPIO controlled

Quoted 1 line

Hi Pawel

It is a good idea to Cc: the mvebu maintainers, since kirkwood is part of that.

arch/arm/boot/dts/kirkwood-c200-v1.dts line 69

Quoted 6 lines
arch/arm/boot/dts/kirkwood-c200-v1.dts new file +6 -0
+	leds {
+		compatible = "gpio-leds";
+		pinctrl-0 = <&pmx_leds>;
+		pinctrl-names = "default";
+
+

Please avoid 2 blank lines. This happens a few times in this file.

Review

Quoted 3 lines

+&pciec {

(quoted diff) +2 -0
+	status = "okay";
+};

It would be nice to have a comment about what is on the PCIe bus. Or is it just a socket?

arch/arm/boot/dts/kirkwood-c200-v1.dts line 265

Quoted 13 lines
arch/arm/boot/dts/kirkwood-c200-v1.dts new file +13 -0
+
+&pcie0 {
+	status = "okay";
+};
+
+&pinctrl {
+	/* buzzer gpios are connected to two pins of buzzer
+	 * leave it as is due lack of proper driver
+	 */
+	pmx_buzzer: pmx-buzzer {
+		marvell,pins = "mpp12", "mpp13";
+		marvell,function = "gpio";
+	};

Is it possible to use "gpio-beeper"?

        beeper: beeper {
                /* 4KHz Piezoelectric buzzer */
                compatible = "gpio-beeper";
                pinctrl-0 = <&pmx_beeper>;
                pinctrl-names = "default";
                gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
        };

	Andrew

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel