mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-30 14:34:51 +08:00
7f9871d9d3
This patch adds DT board setup for the LaCie NAS Network Space Mini v2 (aka SafeBox). The hardware characteristics are very close to those of the Network Space Lite v2. The main difference are: - A GPIO fan which is only available on the NS2 Mini. - A single USB host port is wired on the NS2 Mini. The NS2 Lite provides an additional dual-mode USB port (host/device). Signed-off-by: Simon Guinot <simon.guinot@sequanux.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
50 lines
775 B
Plaintext
50 lines
775 B
Plaintext
/dts-v1/;
|
|
|
|
/include/ "kirkwood-ns2-common.dtsi"
|
|
|
|
/ {
|
|
model = "LaCie Network Space Mini v2";
|
|
compatible = "lacie,netspace_mini_v2", "marvell,kirkwood-88f6192", "marvell,kirkwood";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x8000000>;
|
|
};
|
|
|
|
ocp@f1000000 {
|
|
sata@80000 {
|
|
status = "okay";
|
|
nr-ports = <1>;
|
|
};
|
|
};
|
|
|
|
gpio_fan {
|
|
compatible = "gpio-fan";
|
|
gpios = <&gpio0 22 1
|
|
&gpio0 7 1
|
|
&gpio1 1 1
|
|
&gpio0 23 1>;
|
|
gpio-fan,speed-map =
|
|
< 0 0
|
|
3000 15
|
|
3180 14
|
|
4140 13
|
|
4570 12
|
|
6760 11
|
|
7140 10
|
|
7980 9
|
|
9200 8>;
|
|
alarm-gpios = <&gpio0 25 1>;
|
|
};
|
|
|
|
ns2-leds {
|
|
compatible = "lacie,ns2-leds";
|
|
|
|
blue-sata {
|
|
label = "ns2:blue:sata";
|
|
slow-gpio = <&gpio0 29 0>;
|
|
cmd-gpio = <&gpio0 30 0>;
|
|
};
|
|
};
|
|
};
|