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