mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 18:30:54 +07:00
3a31f2d7fc
Use GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW instead of 0 and 1. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
44 lines
961 B
Plaintext
44 lines
961 B
Plaintext
/*
|
|
* 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 GPIO_ACTIVE_LOW>;
|
|
wp-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
pinctrl-0 = <&pmx_led_blue>;
|
|
pinctrl-names = "default";
|
|
|
|
health {
|
|
label = "sheevaplug:blue:health";
|
|
gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
|
|
default-state = "keep";
|
|
};
|
|
};
|
|
};
|