xref: /freebsd/sys/contrib/device-tree/src/arm/marvell/kirkwood-sheevaplug-esata.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * kirkwood-sheevaplug-esata.dts - Device tree file for eSATA Sheevaplug
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (C) 2013 Simon Baatz <gmbnomis@gmail.com>
6*f126890aSEmmanuel Vadot */
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/dts-v1/;
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot#include "kirkwood-sheevaplug-common.dtsi"
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot/ {
13*f126890aSEmmanuel Vadot	model = "Globalscale Technologies eSATA SheevaPlug";
14*f126890aSEmmanuel Vadot	compatible = "globalscale,sheevaplug-esata-rev13", "globalscale,sheevaplug-esata", "globalscale,sheevaplug", "marvell,kirkwood-88f6281", "marvell,kirkwood";
15*f126890aSEmmanuel Vadot
16*f126890aSEmmanuel Vadot	ocp@f1000000 {
17*f126890aSEmmanuel Vadot		sata@80000 {
18*f126890aSEmmanuel Vadot			status = "okay";
19*f126890aSEmmanuel Vadot			nr-ports = <2>;
20*f126890aSEmmanuel Vadot		};
21*f126890aSEmmanuel Vadot
22*f126890aSEmmanuel Vadot		mvsdio@90000 {
23*f126890aSEmmanuel Vadot			pinctrl-0 = <&pmx_sdio &pmx_sdio_cd &pmx_sdio_wp>;
24*f126890aSEmmanuel Vadot			pinctrl-names = "default";
25*f126890aSEmmanuel Vadot			status = "okay";
26*f126890aSEmmanuel Vadot			cd-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
27*f126890aSEmmanuel Vadot			wp-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
28*f126890aSEmmanuel Vadot		};
29*f126890aSEmmanuel Vadot	};
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot	gpio-leds {
32*f126890aSEmmanuel Vadot		compatible = "gpio-leds";
33*f126890aSEmmanuel Vadot		pinctrl-0 = <&pmx_led_blue>;
34*f126890aSEmmanuel Vadot		pinctrl-names = "default";
35*f126890aSEmmanuel Vadot
36*f126890aSEmmanuel Vadot		health {
37*f126890aSEmmanuel Vadot			label = "sheevaplug:blue:health";
38*f126890aSEmmanuel Vadot			gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
39*f126890aSEmmanuel Vadot			default-state = "keep";
40*f126890aSEmmanuel Vadot		};
41*f126890aSEmmanuel Vadot	};
42*f126890aSEmmanuel Vadot};
43