summaryrefslogtreecommitdiff
path: root/arch/arm/dts/kirkwood-ns2lite.dts
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2018-05-17 21:46:00 +1200
committerStefan Roese <sr@denx.de>2018-05-29 08:33:03 +0200
commit04f5785ae3c7f0f1aa1117671e71421becfdfa7c (patch)
tree9f1c935e93d40fd4a315053ccf911ac885a4b06b /arch/arm/dts/kirkwood-ns2lite.dts
parent4a54e54c9703dde4181a0adb6deb689c2530fce5 (diff)
downloadu-boot-04f5785ae3c7f0f1aa1117671e71421becfdfa7c.tar.gz
ARM: kirkwood: Add device-tree for netspace & inetspace
Import the dts files from Linux 4.17 and enable CONFIG_OF_CONTROL. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/dts/kirkwood-ns2lite.dts')
-rw-r--r--arch/arm/dts/kirkwood-ns2lite.dts35
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/dts/kirkwood-ns2lite.dts b/arch/arm/dts/kirkwood-ns2lite.dts
new file mode 100644
index 0000000000..b0cb5907ed
--- /dev/null
+++ b/arch/arm/dts/kirkwood-ns2lite.dts
@@ -0,0 +1,35 @@
+// SPDX-License-Identifier: GPL-2.0
+/dts-v1/;
+
+#include "kirkwood-ns2-common.dtsi"
+
+/ {
+ model = "LaCie Network Space Lite v2";
+ compatible = "lacie,netspace_lite_v2", "marvell,kirkwood-88f6192", "marvell,kirkwood";
+
+ memory {
+ device_type = "memory";
+ reg = <0x00000000 0x8000000>;
+ };
+
+ ocp@f1000000 {
+ sata@80000 {
+ pinctrl-0 = <&pmx_ns2_sata0>;
+ pinctrl-names = "default";
+ status = "okay";
+ nr-ports = <1>;
+ };
+ };
+
+ gpio-leds {
+ compatible = "gpio-leds";
+
+ blue-sata {
+ label = "ns2:blue:sata";
+ gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "disk-activity";
+ };
+ };
+};
+
+&ethphy0 { reg = <0>; };