Skip to contentSkip to conversation

ARM: dts: armada-385-synology-ds116: add support for Synology DS116 NAS

PATCH Superseded Willy Tarreau 1 participant 1 message Feb 12, 2017

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: armada-385-synology-ds116: add support for Synology DS116 NAS

This commit adds the device tree description for the Synology DS116 NAS.

It is a one-bay NAS powered by a Marvell Armada 385 at 1.866 GHz. The device features the following items :
- 1 GB DDR3 RAM
- a 8MB SPI flash
- 2 USB3 ports, power-controlled via a GPIO for each
- 1 gigabit ethernet interface connected over SGMII to a 88e1514 phy
- a single SATA port, power-controlled via a GPIO
- a battery-powered RTC
- one UART connected to the serial console (2mm connector on board)
- the Tx line of the second UART connected to a PIC microcontroller dealing with beep, reset, power-off and LED blinking (9600 Bps)
- some of the front-panel LEDs are connected to GPIOs, one is directly connected to the SATA link to report disk activity.
- a GPIO-controlled fan (3 bits for 7 speeds and OFF)

With this DTS, my NAS is 100% functional starting with kernel 4.9.

---
v2, after Andrew's review:
- added a poweroff node in addition to serial1 (tested and works)
- changed the comment to mention that serial1's speed is 9600 not 115200 bps after a new series of tests, don't know why I believed I tested it at 115k.
- fixed a typo in a comment

---
 arch/arm/boot/dts/Makefile                      |   1 +
 arch/arm/boot/dts/armada-385-synology-ds116.dts | 321 ++++++++++++++++++++++++
 2 files changed, 322 insertions(+)
 create mode 100644 arch/arm/boot/dts/armada-385-synology-ds116.dts
arch/arm/boot/dts/Makefile +1 -0
index 8cf288f..94784ef 100644
@@ -920,6 +920,7 @@ dtb-$(CONFIG_MACH_ARMADA_38X) += \
 	armada-385-db-ap.dtb \
 	armada-385-linksys-caiman.dtb \
 	armada-385-linksys-cobra.dtb \
+	armada-385-synology-ds116.dtb \
 	armada-388-clearfog.dtb \
 	armada-388-clearfog-base.dtb \
 	armada-388-clearfog-pro.dtb \
arch/arm/boot/dts/armada-385-synology-ds116.dts new file +321 -0

321 lines not on this page · raw message

Signature · 1 line
2.8.0.rc2.1.gbe9624a