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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/marvell/kirkwood-mv88f6281gtw-ge.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  * Marvell 88F6281 GTW GE Board
  4  *
  5  * Lennert Buytenhek <buytenh@marvell.com>
  6  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  7  *
  8  * This file contains the definitions that are common between the 6281
  9  * and 6282 variants of the Marvell Kirkwood Development Board.
 10  */
 11 
 12 /dts-v1/;
 13 
 14 #include "kirkwood.dtsi"
 15 #include "kirkwood-6281.dtsi"
 16 
 17 / {
 18         model = "Marvell 88F6281 GTW GE Board";
 19         compatible = "marvell,mv88f6281gtw-ge", "marvell,kirkwood-88f6281", "marvell,kirkwood";
 20 
 21         memory {
 22                 device_type = "memory";
 23                 reg = <0x00000000 0x20000000>; /* 512 MB */
 24         };
 25 
 26         chosen {
 27                 bootargs = "console=ttyS0,115200n8 earlyprintk";
 28                 stdout-path = &uart0;
 29         };
 30 
 31         ocp@f1000000 {
 32                 pin-controller@10000 {
 33                         pmx_usb_led: pmx-usb-led {
 34                                 marvell,pins = "mpp12";
 35                                 marvell,function = "gpo";
 36                         };
 37 
 38                         pmx_leds: pmx-leds {
 39                                 marvell,pins = "mpp20", "mpp21";
 40                                 marvell,function = "gpio";
 41                         };
 42 
 43                         pmx_keys: pmx-keys {
 44                                 marvell,pins = "mpp46", "mpp47";
 45                                 marvell,function = "gpio";
 46                         };
 47                 };
 48 
 49                 spi@10600 {
 50                         status = "okay";
 51 
 52                         flash@0 {
 53                                 #address-cells = <1>;
 54                                 #size-cells = <1>;
 55                                 compatible = "mxicy,mx25l12805d", "jedec,spi-nor";
 56                                 reg = <0>;
 57                                 spi-max-frequency = <50000000>;
 58                                 mode = <0>;
 59                         };
 60                 };
 61 
 62                 serial@12000 {
 63                         status = "okay";
 64                 };
 65 
 66                 ehci@50000 {
 67                         status = "okay";
 68                 };
 69         };
 70 
 71         gpio-leds {
 72                 compatible = "gpio-leds";
 73                 pinctrl-0 = <&pmx_leds &pmx_usb_led>;
 74                 pinctrl-names = "default";
 75 
 76                 led-green-status {
 77                         label = "gtw:green:Status";
 78                         gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>;
 79                 };
 80 
 81                 led-red-status {
 82                         label = "gtw:red:Status";
 83                         gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
 84                 };
 85 
 86                 led-green-usb {
 87                         label = "gtw:green:USB";
 88                         gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
 89                 };
 90         };
 91 
 92         gpio_keys {
 93                 compatible = "gpio-keys";
 94                 pinctrl-0 = <&pmx_keys>;
 95                 pinctrl-names = "default";
 96 
 97                 button-restart {
 98                         label = "SWR Button";
 99                         linux,code = <KEY_RESTART>;
100                         gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
101                 };
102                 button-wps {
103                         label = "WPS Button";
104                         linux,code = <KEY_WPS_BUTTON>;
105                         gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
106                 };
107         };
108 };
109 
110 &mdio {
111         status = "okay";
112 
113         switch@0 {
114                 compatible = "marvell,mv88e6085";
115                 #address-cells = <1>;
116                 #size-cells = <0>;
117                 reg = <0>;
118 
119                 ports {
120                         #address-cells = <1>;
121                         #size-cells = <0>;
122 
123                         port@0 {
124                                 reg = <0>;
125                                 label = "lan1";
126                         };
127 
128                         port@1 {
129                                 reg = <1>;
130                                 label = "lan2";
131                         };
132 
133                         port@2 {
134                                 reg = <2>;
135                                 label = "lan3";
136                         };
137 
138                         port@3 {
139                                 reg = <3>;
140                                 label = "lan4";
141                         };
142 
143                         port@4 {
144                                 reg = <4>;
145                                 label = "wan";
146                         };
147 
148                         port@5 {
149                                 reg = <5>;
150                                 phy-mode = "rgmii-id";
151                                 ethernet = <&eth0port>;
152                                 fixed-link {
153                                         speed = <1000>;
154                                         full-duplex;
155                                 };
156                         };
157                 };
158         };
159 };
160 
161 &eth0 {
162         status = "okay";
163 
164         ethernet0-port@0 {
165                 speed = <1000>;
166                 duplex = <1>;
167                 phy-mode = "rgmii";
168         };
169 };
170 
171 &pciec {
172         status = "okay";
173 };
174 
175 &pcie0 {
176         status = "okay";
177 };

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