~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/marvell/armada-370-seagate-nas-4bay.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * Device Tree file for Seagate NAS 4-Bay (Armada 370 SoC).
  4  *
  5  * Copyright (C) 2015 Seagate
  6  *
  7  * Author: Vincent Donnefort <vdonnefort@gmail.com>
  8  */
  9 
 10 /*
 11  * Here are some information allowing to identify the device:
 12  *
 13  * Product name                 : Seagate NAS 4-Bay
 14  * Code name (board/PCB)        : Dart 4-Bay
 15  * Model name (case sticker)    : SRPD40
 16  * Material desc (product spec) : STCUxxxxxxx
 17  */
 18 
 19 /dts-v1/;
 20 #include "armada-370-seagate-nas-xbay.dtsi"
 21 #include <dt-bindings/leds/leds-ns2.h>
 22 
 23 / {
 24         model = "Seagate NAS 4-Bay (Dart, SRPD40)";
 25         compatible = "seagate,dart-4", "marvell,armada370", "marvell,armada-370-xp";
 26 
 27         soc {
 28                 internal-regs {
 29                         ethernet@74000 {
 30                                 status = "okay";
 31                                 pinctrl-0 = <&ge1_rgmii_pins>;
 32                                 pinctrl-names = "default";
 33                                 phy = <&phy1>;
 34                                 phy-mode = "rgmii-id";
 35                         };
 36 
 37                         i2c@11000 {
 38                                 /* I2C GPIO expander (PCA9554A) */
 39                                 pca9554: pca9554@21 {
 40                                         compatible = "nxp,pca9554";
 41                                         reg = <0x21>;
 42                                         #gpio-cells = <2>;
 43                                         gpio-controller;
 44                                 };
 45                         };
 46                 };
 47         };
 48 
 49         regulator-3 {
 50                 compatible = "regulator-fixed";
 51                 regulator-name = "SATA2 power";
 52                 regulator-min-microvolt = <5000000>;
 53                 regulator-max-microvolt = <5000000>;
 54                 enable-active-high;
 55                 regulator-always-on;
 56                 regulator-boot-on;
 57                 gpio = <&pca9554 6 GPIO_ACTIVE_HIGH>;
 58         };
 59 
 60         regulator-4 {
 61                 compatible = "regulator-fixed";
 62                 regulator-name = "SATA3 power";
 63                 regulator-min-microvolt = <5000000>;
 64                 regulator-max-microvolt = <5000000>;
 65                 enable-active-high;
 66                 regulator-always-on;
 67                 regulator-boot-on;
 68                 gpio = <&pca9554 7 GPIO_ACTIVE_HIGH>;
 69         };
 70 
 71         gpio-leds {
 72                 led-red-sata2 {
 73                         label = "dart:red:sata2";
 74                         gpios = <&pca9554 0 GPIO_ACTIVE_LOW>;
 75                 };
 76                 led-red-sata3 {
 77                         label = "dart:red:sata3";
 78                         gpios = <&pca9554 3 GPIO_ACTIVE_LOW>;
 79                 };
 80         };
 81 
 82         leds-ns2 {
 83                 compatible = "lacie,ns2-leds";
 84 
 85                 white-sata2 {
 86                         label = "dart:white:sata2";
 87                         cmd-gpio = <&pca9554 1 GPIO_ACTIVE_HIGH>;
 88                         slow-gpio = <&pca9554 2 GPIO_ACTIVE_HIGH>;
 89                         num-modes = <4>;
 90                         modes-map = <NS_V2_LED_SATA 0 0
 91                                      NS_V2_LED_OFF  0 1
 92                                      NS_V2_LED_ON   1 0
 93                                      NS_V2_LED_ON   1 1>;
 94                 };
 95                 white-sata3 {
 96                         label = "dart:white:sata3";
 97                         cmd-gpio = <&pca9554 4 GPIO_ACTIVE_HIGH>;
 98                         slow-gpio = <&pca9554 5 GPIO_ACTIVE_HIGH>;
 99                         num-modes = <4>;
100                         modes-map = <NS_V2_LED_SATA 0 0
101                                      NS_V2_LED_OFF  0 1
102                                      NS_V2_LED_ON   1 0
103                                      NS_V2_LED_ON   1 1>;
104                 };
105         };
106 
107         gpio-fan {
108                 gpio-fan,speed-map =
109                         <   0 3>,
110                         < 800 2>,
111                         <1050 1>,
112                         <1300 0>;
113         };
114 };
115 
116 &pciec {
117         /* SATA AHCI controller 88SE9170 */
118         pcie@1,0 {
119                 status = "okay";
120         };
121 };
122 
123 &mdio {
124         phy1: ethernet-phy@1 {
125                 reg = <1>;
126         };
127 };
128 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php