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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi

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+ OR MIT)
  2 /*
  3  * Device Tree file for Globalscale Marvell ESPRESSOBin Board
  4  * Copyright (C) 2016 Marvell
  5  *
  6  * Romain Perier <romain.perier@free-electrons.com>
  7  *
  8  */
  9 
 10 #include <dt-bindings/gpio/gpio.h>
 11 #include "armada-372x.dtsi"
 12 
 13 / {
 14         aliases {
 15                 ethernet0 = &eth0;
 16                 /* for DSA user port device */
 17                 ethernet1 = &switch0port1;
 18                 ethernet2 = &switch0port2;
 19                 ethernet3 = &switch0port3;
 20         };
 21 
 22         chosen {
 23                 stdout-path = "serial0:115200n8";
 24         };
 25 
 26         memory@0 {
 27                 device_type = "memory";
 28                 reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
 29         };
 30 
 31         vcc_sd_reg1: regulator {
 32                 compatible = "regulator-gpio";
 33                 regulator-name = "vcc_sd1";
 34                 regulator-min-microvolt = <1800000>;
 35                 regulator-max-microvolt = <3300000>;
 36                 regulator-boot-on;
 37 
 38                 gpios = <&gpionb 4 GPIO_ACTIVE_HIGH>;
 39                 gpios-states = <0>;
 40                 states = <1800000 0x1
 41                           3300000 0x0>;
 42                 enable-active-high;
 43         };
 44 
 45         led2: gpio-led2 {
 46                 /* led2 is working only on v7 board */
 47                 status = "disabled";
 48 
 49                 compatible = "gpio-leds";
 50 
 51                 led2 {
 52                         label = "led2";
 53                         gpios = <&gpionb 2 GPIO_ACTIVE_LOW>;
 54                         default-state = "off";
 55                 };
 56         };
 57 };
 58 
 59 /* J9 */
 60 &pcie0 {
 61         status = "okay";
 62         pinctrl-names = "default";
 63         pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
 64         reset-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>;
 65 };
 66 
 67 /* J6 */
 68 &sata {
 69         status = "okay";
 70 };
 71 
 72 /* U11 */
 73 &sdhci0 {
 74         /* Main DTS file for Espressobin is without eMMC */
 75         status = "disabled";
 76 
 77         non-removable;
 78         bus-width = <8>;
 79         mmc-ddr-1_8v;
 80         mmc-hs400-1_8v;
 81         marvell,xenon-emmc;
 82         marvell,xenon-tun-count = <9>;
 83         marvell,pad-type = "fixed-1-8v";
 84 
 85         pinctrl-names = "default";
 86         pinctrl-0 = <&mmc_pins>;
 87 
 88         #address-cells = <1>;
 89         #size-cells = <0>;
 90         mmccard: mmccard@0 {
 91                 compatible = "mmc-card";
 92                 reg = <0>;
 93         };
 94 };
 95 
 96 /* J1 */
 97 &sdhci1 {
 98         wp-inverted;
 99         bus-width = <4>;
100         cd-gpios = <&gpionb 3 GPIO_ACTIVE_LOW>;
101         marvell,pad-type = "sd";
102         vqmmc-supply = <&vcc_sd_reg1>;
103 
104         pinctrl-names = "default";
105         pinctrl-0 = <&sdio_pins>;
106         status = "okay";
107 };
108 
109 &spi0 {
110         status = "okay";
111 
112         flash@0 {
113                 reg = <0>;
114                 compatible = "jedec,spi-nor";
115                 spi-max-frequency = <104000000>;
116                 m25p,fast-read;
117         };
118 };
119 
120 /* Exported on the micro USB connector J5 through an FTDI */
121 &uart0 {
122         pinctrl-names = "default";
123         pinctrl-0 = <&uart1_pins>;
124         status = "okay";
125 };
126 
127 /*
128  * Connector J17 and J18 expose a number of different features. Some pins are
129  * multiplexed. This is the case for instance for the following features:
130  * - UART1 (pin 24 = RX, pin 26 = TX). See armada-3720-db.dts for an example of
131  *   how to enable it. Beware that the signals are 1.8V TTL.
132  * - I2C
133  * - SPI
134  * - MMC
135  */
136 
137 /* J7 */
138 &usb3 {
139         status = "okay";
140 };
141 
142 /* J8 */
143 &usb2 {
144         status = "okay";
145 };
146 
147 &mdio {
148         switch0: ethernet-switch@1 {
149                 compatible = "marvell,mv88e6085";
150                 reg = <1>;
151 
152                 dsa,member = <0 0>;
153 
154                 ethernet-ports {
155                         #address-cells = <1>;
156                         #size-cells = <0>;
157 
158                         switch0port0: ethernet-port@0 {
159                                 reg = <0>;
160                                 label = "cpu";
161                                 ethernet = <&eth0>;
162                                 phy-mode = "rgmii-id";
163                                 fixed-link {
164                                         speed = <1000>;
165                                         full-duplex;
166                                 };
167                         };
168 
169                         switch0port1: ethernet-port@1 {
170                                 reg = <1>;
171                                 label = "wan";
172                                 phy-handle = <&switch0phy0>;
173                         };
174 
175                         switch0port2: ethernet-port@2 {
176                                 reg = <2>;
177                                 label = "lan0";
178                                 phy-handle = <&switch0phy1>;
179                         };
180 
181                         switch0port3: ethernet-port@3 {
182                                 reg = <3>;
183                                 label = "lan1";
184                                 phy-handle = <&switch0phy2>;
185                         };
186 
187                 };
188 
189                 mdio {
190                         #address-cells = <1>;
191                         #size-cells = <0>;
192 
193                         switch0phy0: ethernet-phy@11 {
194                                 reg = <0x11>;
195                         };
196                         switch0phy1: ethernet-phy@12 {
197                                 reg = <0x12>;
198                         };
199                         switch0phy2: ethernet-phy@13 {
200                                 reg = <0x13>;
201                         };
202                 };
203         };
204 };
205 
206 &eth0 {
207         pinctrl-names = "default";
208         pinctrl-0 = <&rgmii_pins>, <&smi_pins>;
209         phy-mode = "rgmii-id";
210         status = "okay";
211 
212         fixed-link {
213                 speed = <1000>;
214                 full-duplex;
215         };
216 };

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