Skip to contentSkip to conversation

ARM: mvebu: Add Netgear ReadyNAS 2120 board

PATCH New Arnaud Ebalard 2 participants 2 messages Nov 29, 2013 – Dec 1, 2013

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

PATCH v3 1/1 ARM: mvebu: Add Netgear ReadyNAS 2120 board

All hardware parts of the (mv78230 Armada XP based) NETGEAR ReadyNAS 2120 are supported by mainline kernel (USB 3.0 and eSATA rear ports, USB 2.0 front port, Gigabit controller and PHYs for the two rear ports, serial port, LEDs, Buttons, 88SE9170 SATA controllers, three G762 fan controllers, G751 temperature sensor) except for:

- the Intersil ISL12057 I2C RTC Chip,
- the Armada NAND controller.

Support for both of those is currently work in progress and does not prevent boot.

---
Hi,

This is v3.14 material. This depends on the fix I pushed for mv78230 PCIe DT definitions which should hit Linus tree long before next merge window.

If you wonder about the SATA presence and power pin definitions under pinctrl, I thought it would not harm to have them for reference even though they are currently not used. FWIW, I am currently looking if a GPIO regulator can make any use of those.

Changes since v2:

- Switched back to marvell,mv64xxx-i2c compatible strings for i2c node
- Replaced wrong PHY compatible string by a simple comment

Changes since v1:

After Andrew's comment:
- Added comment about G751 function

After Sebastian's comments:
- Changed clock frequency for a clock provider for serial line
- Added compatible string for PHY (marvell,mv88e1318s)
- Removed useless properties in clocks and gpio_keys nodes
- Made G762 clock node name unique by including g762 in it
- Changed values for macros for GPIO voltage level
- Removed comments after GPIOs
- Changed buttons and button pins names

After Jason's comment:
- Changed values for macros for input keys, removed comments

After more documenation reading:
- changed i2c compatible string to marvell,mv78230-i2c

Comments welcome,

Cheers,

a+

 arch/arm/boot/dts/Makefile                     |   1 +
 arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 286 +++++++++++++++++++++++++
 2 files changed, 287 insertions(+)
 create mode 100644 arch/arm/boot/dts/armada-xp-netgear-rn2120.dts
arch/arm/boot/dts/Makefile +1 -0
index d57c1a6..6881b6c 100644
@@ -114,6 +114,7 @@ dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \
 	armada-xp-axpwifiap.dtb \
 	armada-xp-db.dtb \
 	armada-xp-gp.dtb \
+	armada-xp-netgear-rn2120.dtb \
 	armada-xp-matrix.dtb \
 	armada-xp-openblocks-ax3-4.dtb
 dtb-$(CONFIG_ARCH_MXC) += \
arch/arm/boot/dts/armada-xp-netgear-rn2120.dts new file +286 -0

286 lines not on this page · raw message

Signature · 1 line
1.8.4.4
Applied
#1 lore raw

PATCH v3 1/1 ARM: mvebu: Add Netgear ReadyNAS 2120 board

Quoted 15 lines · Arnaud Ebalard

All hardware parts of the (mv78230 Armada XP based) NETGEAR ReadyNAS 2120 are supported by mainline kernel (USB 3.0 and eSATA rear ports, USB 2.0 front port, Gigabit controller and PHYs for the two rear ports, serial port, LEDs, Buttons, 88SE9170 SATA controllers, three G762 fan controllers, G751 temperature sensor) except for:

- the Intersil ISL12057 I2C RTC Chip,
- the Armada NAND controller.

Support for both of those is currently work in progress and does not prevent boot.

---

...

Quoted 5 lines
 arch/arm/boot/dts/Makefile                     |   1 +
 arch/arm/boot/dts/armada-xp-netgear-rn2120.dts | 286 +++++++++++++++++++++++++
 2 files changed, 287 insertions(+)
 create mode 100644 arch/arm/boot/dts/armada-xp-netgear-rn2120.dts

Applied to mvebu/dt

thx,

Jason.