2 * kirkwood-viper.dts - Device Tree file for Linksys viper (E4200v2 / EA4500)
4 * (c) 2013 Jonas Gorski <jogo@openwrt.org>
5 * (c) 2013 Deutsche Telekom Innovation Laboratories
6 * (c) 2014 Luka Perkov <luka@openwrt.org>
7 * (c) 2014 Randy C. Will <randall.will@gmail.com>
9 * This file is licensed under the terms of the GNU General Public
10 * License version 2. This program is licensed "as is" without any
11 * warranty of any kind, whether express or implied.
16 #include "kirkwood.dtsi"
17 #include "kirkwood-6282.dtsi"
20 model = "Linksys Viper (E4200v2 / EA4500)";
21 compatible = "linksys,viper", "marvell,kirkwood-88f6282", "marvell,kirkwood";
24 device_type = "memory";
25 reg = <0x00000000 0x8000000>;
33 stdout-path = "serial0:115200n8";
37 compatible = "gpio-keys";
40 pinctrl-0 = < &pmx_btn_wps &pmx_btn_reset >;
41 pinctrl-names = "default";
45 linux,code = <KEY_WPS_BUTTON>;
46 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
50 label = "Reset Button";
51 linux,code = <KEY_RESTART>;
52 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
57 compatible = "gpio-leds";
58 pinctrl-0 = < &pmx_led_white_health &pmx_led_white_pulse >;
59 pinctrl-names = "default";
62 label = "viper:white:health";
63 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
67 label = "viper:white:pulse";
68 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
75 compatible = "marvell,dsa";
79 dsa,ethernet = <ð0port>;
80 dsa,mii-bus = <&mdio>;
85 reg = <16 0>; /* MDIO address 16, switch 0 in tree */
121 pmx_led_white_health: pmx-led-white-health {
122 marvell,pins = "mpp7";
123 marvell,function = "gpo";
125 pmx_led_white_pulse: pmx-led-white-pulse {
126 marvell,pins = "mpp14";
127 marvell,function = "gpio";
129 pmx_btn_wps: pmx-btn-wps {
130 marvell,pins = "mpp47";
131 marvell,function = "gpio";
133 pmx_btn_reset: pmx-btn-reset {
134 marvell,pins = "mpp48";
135 marvell,function = "gpio";
141 pinctrl-0 = <&pmx_nand>;
142 pinctrl-names = "default";
145 compatible = "fixed-partitions";
146 #address-cells = <1>;
157 reg = <0x80000 0x20000>;
162 reg = <0xA0000 0x20000>;
167 reg = <0x200000 0x2A0000>;
172 reg = <0x4A0000 0x1760000>;
176 label = "alt_kernel";
177 reg = <0x1C00000 0x2A0000>;
181 label = "alt_rootfs";
182 reg = <0x1EA0000 0x1760000>;
187 reg = <0x3600000 0x4A00000>;
192 reg = <0xC0000 0x140000>;
214 compatible = "marvell,mv88e6085";
215 #address-cells = <1>;
220 #address-cells = <1>;
251 ethernet = <ð0port>;
265 /* eth0 is connected to a Marvell 88E6171 switch, without a PHY. So set
266 * fixed speed and duplex.
276 /* eth1 is connected to the switch at port 6. However DSA only supports a
277 * single CPU port. So leave this port disabled to avoid confusion.
283 /* There is no battery on the board, so the RTC does not keep
284 * time when there is no power, making it useless.