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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/marvell/kirkwood-blackarmor-nas220.dts

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0+
  2 /*
  3  * Device Tree file for Seagate Blackarmor NAS220
  4  *
  5  * Copyright (C) 2014 Evgeni Dobrev <evgeni@studio-punkt.com>
  6  */
  7 
  8 /dts-v1/;
  9 
 10 #include <dt-bindings/gpio/gpio.h>
 11 #include <dt-bindings/input/input.h>
 12 #include "kirkwood.dtsi"
 13 #include "kirkwood-6192.dtsi"
 14 
 15 / {
 16         model = "Seagate Blackarmor NAS220";
 17         compatible = "seagate,blackarmor-nas220","marvell,kirkwood-88f6192",
 18                      "marvell,kirkwood";
 19 
 20         memory { /* 128 MB */
 21                 device_type = "memory";
 22                 reg = <0x00000000 0x8000000>;
 23         };
 24 
 25         chosen {
 26                 bootargs = "console=ttyS0,115200n8";
 27                 stdout-path = &uart0;
 28         };
 29 
 30         gpio_poweroff {
 31                 compatible = "gpio-poweroff";
 32                 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
 33         };
 34 
 35         gpio_keys {
 36                 compatible = "gpio-keys";
 37 
 38                 button-reset {
 39                         label = "Reset";
 40                         linux,code = <KEY_POWER>;
 41                         gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
 42                 };
 43 
 44                 button-power {
 45                         label = "Power";
 46                         linux,code = <KEY_SLEEP>;
 47                         gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
 48                 };
 49         };
 50 
 51         gpio-leds {
 52                 compatible = "gpio-leds";
 53 
 54                 led-blue-power {
 55                         label = "nas220:blue:power";
 56                         gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
 57                         linux,default-trigger = "default-on";
 58                 };
 59         };
 60 
 61         regulators {
 62                 compatible = "simple-bus";
 63                 #address-cells = <1>;
 64                 #size-cells = <0>;
 65                 pinctrl-0 = <&pmx_power_sata0 &pmx_power_sata1>;
 66                 pinctrl-names = "default";
 67 
 68                 sata0_power: regulator@1 {
 69                         compatible = "regulator-fixed";
 70                         reg = <1>;
 71                         regulator-name = "SATA0 Power";
 72                         regulator-min-microvolt = <5000000>;
 73                         regulator-max-microvolt = <5000000>;
 74                         enable-active-high;
 75                         regulator-always-on;
 76                         regulator-boot-on;
 77                         gpio = <&gpio0 24 GPIO_ACTIVE_LOW>;
 78                 };
 79 
 80                 sata1_power: regulator@2 {
 81                         compatible = "regulator-fixed";
 82                         reg = <2>;
 83                         regulator-name = "SATA1 Power";
 84                         regulator-min-microvolt = <5000000>;
 85                         regulator-max-microvolt = <5000000>;
 86                         enable-active-high;
 87                         regulator-always-on;
 88                         regulator-boot-on;
 89                         gpio = <&gpio0 28 GPIO_ACTIVE_LOW>;
 90                 };
 91         };
 92 };
 93 
 94 /*
 95  * Serial port routed to connector CN5
 96  *
 97  * pin 1 - TX (CPU's TX)
 98  * pin 4 - RX (CPU's RX)
 99  * pin 6 - GND
100  */
101 &uart0 {
102         status = "okay";
103 };
104 
105 &pinctrl {
106         pinctrl-0 = <&pmx_button_reset &pmx_button_power>;
107         pinctrl-names = "default";
108 
109         pmx_act_sata0: pmx-act-sata0 {
110                 marvell,pins = "mpp15";
111                 marvell,function = "sata0";
112         };
113 
114         pmx_act_sata1: pmx-act-sata1 {
115                 marvell,pins = "mpp16";
116                 marvell,function = "sata1";
117         };
118 
119         pmx_power_sata0: pmx-power-sata0 {
120                 marvell,pins = "mpp24";
121                 marvell,function = "gpio";
122         };
123 
124         pmx_power_sata1: pmx-power-sata1 {
125                 marvell,pins = "mpp28";
126                 marvell,function = "gpio";
127         };
128 
129         pmx_button_reset: pmx-button-reset {
130                 marvell,pins = "mpp29";
131                 marvell,function = "gpio";
132         };
133 
134         pmx_button_power: pmx-button-power {
135                 marvell,pins = "mpp26";
136                 marvell,function = "gpio";
137         };
138 };
139 
140 &sata {
141         status = "okay";
142         nr-ports = <2>;
143 };
144 
145 &i2c0 {
146         status = "okay";
147 
148         adt7476: thermal@2e {
149                 compatible = "adi,adt7476";
150                 reg = <0x2e>;
151         };
152 };
153 
154 &nand {
155         status = "okay";
156 };
157 
158 &mdio {
159         status = "okay";
160 
161         ethphy0: ethernet-phy@8 {
162                  reg = <8>;
163         };
164 };
165 
166 &eth0 {
167         status = "okay";
168 
169         ethernet0-port@0 {
170                 phy-handle = <&ethphy0>;
171         };
172 };

~ [ 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