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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/marvell/armada-385-linksys.dtsi

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 OR MIT)
  2 /*
  3  * Device Tree include file for Armada 385 based Linksys boards
  4  *
  5  * Copyright (C) 2015 Imre Kaloz <kaloz@openwrt.org>
  6  */
  7 
  8 #include <dt-bindings/gpio/gpio.h>
  9 #include <dt-bindings/input/input.h>
 10 #include "armada-385.dtsi"
 11 
 12 / {
 13         model = "Linksys boards based on Armada 385";
 14         compatible = "linksys,armada385", "marvell,armada385",
 15                      "marvell,armada380";
 16 
 17         chosen {
 18                 stdout-path = "serial0:115200n8";
 19         };
 20 
 21         memory {
 22                 device_type = "memory";
 23                 reg = <0x00000000 0x20000000>; /* 512 MiB */
 24         };
 25 
 26         soc {
 27                 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
 28                           MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000
 29                           MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000
 30                           MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000
 31                           MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>;
 32         };
 33 
 34         usb3_1_phy: usb3_1-phy {
 35                 compatible = "usb-nop-xceiv";
 36                 vcc-supply = <&usb3_1_vbus>;
 37                 #phy-cells = <0>;
 38         };
 39 
 40         usb3_1_vbus: usb3_1-vbus {
 41                 compatible = "regulator-fixed";
 42                 pinctrl-names = "default";
 43                 pinctrl-0 = <&usb3_1_vbus_pins>;
 44                 regulator-name = "usb3_1-vbus";
 45                 regulator-min-microvolt = <5000000>;
 46                 regulator-max-microvolt = <5000000>;
 47                 enable-active-high;
 48                 gpio = <&gpio1 18 GPIO_ACTIVE_HIGH>;
 49         };
 50 
 51         gpio_keys: gpio-keys {
 52                 compatible = "gpio-keys";
 53                 pinctrl-0 = <&gpio_keys_pins>;
 54                 pinctrl-names = "default";
 55 
 56                 button-wps {
 57                         label = "WPS";
 58                         linux,code = <KEY_WPS_BUTTON>;
 59                         gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
 60                 };
 61 
 62                 button-reset {
 63                         label = "Factory Reset Button";
 64                         linux,code = <KEY_RESTART>;
 65                         gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
 66                 };
 67         };
 68 
 69         gpio_leds: gpio-leds {
 70                 compatible = "gpio-leds";
 71                 pinctrl-0 = <&gpio_leds_pins>;
 72                 pinctrl-names = "default";
 73 
 74                 led-power {
 75                         gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
 76                         default-state = "on";
 77                 };
 78 
 79                 led-sata {
 80                         gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
 81                         default-state = "off";
 82                         linux,default-trigger = "disk-activity";
 83                 };
 84         };
 85 };
 86 
 87 &ahci0 {
 88         status = "okay";
 89 };
 90 
 91 &bm {
 92         status = "okay";
 93 };
 94 
 95 &bm_bppi {
 96         status = "okay";
 97 };
 98 
 99 &eth0 {
100         status = "okay";
101         phy-mode = "rgmii-id";
102         buffer-manager = <&bm>;
103         bm,pool-long = <0>;
104         bm,pool-short = <1>;
105         fixed-link {
106                 speed = <1000>;
107                 full-duplex;
108         };
109 };
110 
111 &eth2 {
112         status = "okay";
113         phy-mode = "sgmii";
114         buffer-manager = <&bm>;
115         bm,pool-long = <2>;
116         bm,pool-short = <3>;
117         fixed-link {
118                 speed = <1000>;
119                 full-duplex;
120         };
121 };
122 
123 &i2c0 {
124         pinctrl-names = "default";
125         pinctrl-0 = <&i2c0_pins>;
126         status = "okay";
127 
128         tmp421@4c {
129                 compatible = "ti,tmp421";
130                 reg = <0x4c>;
131         };
132 
133         expander0: pca9635@68 {
134                 #address-cells = <1>;
135                 #size-cells = <0>;
136                 compatible = "nxp,pca9635";
137                 reg = <0x68>;
138         };
139 };
140 
141 &nand_controller {
142         /* 128MiB or 256MiB */
143         status = "okay";
144         #address-cells = <1>;
145         #size-cells = <0>;
146 
147         nand: nand@0 {
148                 reg = <0>;
149                 label = "pxa3xx_nand-0";
150                 nand-rb = <0>;
151                 nand-ecc-strength = <4>;
152                 nand-ecc-step-size = <512>;
153                 marvell,nand-keep-config;
154                 nand-on-flash-bbt;
155         };
156 };
157 
158 &mdio {
159         status = "okay";
160 
161         ethernet-switch@0 {
162                 compatible = "marvell,mv88e6085";
163                 reg = <0>;
164 
165                 ethernet-ports {
166                         #address-cells = <1>;
167                         #size-cells = <0>;
168 
169                         ethernet-port@0 {
170                                 reg = <0>;
171                                 label = "lan4";
172                         };
173 
174                         ethernet-port@1 {
175                                 reg = <1>;
176                                 label = "lan3";
177                         };
178 
179                         ethernet-port@2 {
180                                 reg = <2>;
181                                 label = "lan2";
182                         };
183 
184                         ethernet-port@3 {
185                                 reg = <3>;
186                                 label = "lan1";
187                         };
188 
189                         ethernet-port@4 {
190                                 reg = <4>;
191                                 label = "wan";
192                         };
193 
194                         ethernet-port@5 {
195                                 reg = <5>;
196                                 phy-mode = "sgmii";
197                                 ethernet = <&eth2>;
198 
199                                 fixed-link {
200                                         speed = <1000>;
201                                         full-duplex;
202                                 };
203                         };
204                 };
205         };
206 };
207 
208 &pciec {
209         status = "okay";
210 };
211 
212 &pcie1 {
213         /* Marvell 88W8864, 5GHz-only */
214         status = "okay";
215 };
216 
217 &pcie2 {
218         /* Marvell 88W8864, 2GHz-only */
219         status = "okay";
220 };
221 
222 &pinctrl {
223         gpio_keys_pins: gpio-keys-pins {
224                 /* mpp24: wps, mpp29: reset */
225                 marvell,pins = "mpp24", "mpp29";
226                 marvell,function = "gpio";
227         };
228 
229         gpio_leds_pins: gpio-leds-pins {
230                 /* mpp54: sata, mpp55: power */
231                 marvell,pins = "mpp54", "mpp55";
232                 marvell,function = "gpio";
233         };
234 
235         usb3_1_vbus_pins: usb3_1-vbus-pins {
236                 marvell,pins = "mpp50";
237                 marvell,function = "gpio";
238         };
239 };
240 
241 &spi0 {
242         status = "disabled";
243 };
244 
245 &uart0 {
246         /* J10: VCC, NC, RX, NC, TX, GND  */
247         status = "okay";
248 };
249 
250 &usb0 {
251         /* USB part of the eSATA/USB 2.0 port */
252         status = "okay";
253 };
254 
255 &usb3_1 {
256         status = "okay";
257         usb-phy = <&usb3_1_phy>;
258 };
259 
260 &rtc {
261         /* No crystal connected to the internal RTC */
262         status = "disabled";
263 };

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