Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: Kirkwood: add DT support for d2 Network v2

This patch adds DT support for the LaCie NAS d2 Network v2 (d2net_v2).
Most of the hardware characteristics are shared with the 2Big and 5Big
Network v2 boards.

- CPU: Marvell 88F6281 1200Mhz
- SDRAM memory: 256MB DDR2 400Mhz
- 2 SATA ports: internal and eSATA
- Gigabit ethernet: PHY Marvell 88E1116R
- Flash memory: SPI NOR 512KB (Macronix MX25L4005A)
- i2c EEPROM: 512 bytes (24C04 type)
- 2 USB2 ports: host and host/device
- 1 push button
- 1 power switch
- 1 SATA LED (bi-color, blue and red)

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lkml.kernel.org/r/1404830545-15581-3-git-send-email-simon.guinot@sequanux.org
Signed-off-by: Jason Cooper <jason@lakedaemon.net>

authored by

Simon Guinot and committed by
Jason Cooper
18ba7e4f 2d4cd2ca

+43
+1
arch/arm/boot/dts/Makefile
··· 93 93 kirkwood := \ 94 94 kirkwood-b3.dtb \ 95 95 kirkwood-cloudbox.dtb \ 96 + kirkwood-d2net.dtb \ 96 97 kirkwood-db-88f6281.dtb \ 97 98 kirkwood-db-88f6282.dtb \ 98 99 kirkwood-dns320.dtb \
+42
arch/arm/boot/dts/kirkwood-d2net.dts
··· 1 + /* 2 + * Device Tree file for d2 Network v2 3 + * 4 + * Copyright (C) 2014 Simon Guinot <simon.guinot@sequanux.org> 5 + * 6 + * This file is licensed under the terms of the GNU General Public 7 + * License version 2. This program is licensed "as is" without any 8 + * warranty of any kind, whether express or implied. 9 + */ 10 + 11 + /dts-v1/; 12 + 13 + #include "kirkwood-netxbig.dtsi" 14 + 15 + / { 16 + model = "LaCie d2 Network v2"; 17 + compatible = "lacie,d2net_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 18 + 19 + memory { 20 + device_type = "memory"; 21 + reg = <0x00000000 0x10000000>; 22 + }; 23 + 24 + ns2-leds { 25 + compatible = "lacie,ns2-leds"; 26 + 27 + blue-sata { 28 + label = "d2net_v2:blue:sata"; 29 + slow-gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; 30 + cmd-gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>; 31 + }; 32 + }; 33 + 34 + gpio-leds { 35 + compatible = "gpio-leds"; 36 + 37 + red-fail { 38 + label = "d2net_v2:red:fail"; 39 + gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; 40 + }; 41 + }; 42 + };