summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts
blob: eac6a21f3b1f0b2402bf58c341b96f25945e455a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 * kirkwood-sheevaplug-esata.dts - Device tree file for eSATA Sheevaplug
 *
 * Copyright (C) 2013 Simon Baatz <gmbnomis@gmail.com>
 *
 * Licensed under GPLv2
 */

/dts-v1/;

#include "kirkwood-sheevaplug-common.dtsi"

/ {
	model = "Globalscale Technologies eSATA SheevaPlug";
	compatible = "globalscale,sheevaplug-esata-rev13", "globalscale,sheevaplug-esata", "globalscale,sheevaplug", "marvell,kirkwood-88f6281", "marvell,kirkwood";

	ocp@f1000000 {
		sata@80000 {
			status = "okay";
			nr-ports = <2>;
		};

		mvsdio@90000 {
			pinctrl-0 = <&pmx_sdio &pmx_sdio_cd &pmx_sdio_wp>;
			pinctrl-names = "default";
			status = "okay";
			cd-gpios = <&gpio1 12 1>;
			wp-gpios = <&gpio1 15 0>;
		};
	};

	gpio-leds {
		compatible = "gpio-leds";
		pinctrl-0 = <&pmx_led_blue>;
		pinctrl-names = "default";

		health {
			label = "sheevaplug:blue:health";
			gpios = <&gpio1 17 1>;
			linux,default-trigger = "default-on";
		};
	};
};