1 // SPDX-License-Identifier: GPL-2.0
3 * kirkwood-viper.dts - Device Tree file for Linksys viper (E4200v2 / EA4500)
5 * (c) 2013 Jonas Gorski <jogo@openwrt.org>
6 * (c) 2013 Deutsche Telekom Innovation Laboratories
7 * (c) 2014 Luka Perkov <luka@openwrt.org>
8 * (c) 2014 Randy C. Will <randall.will@gmail.com>
14 #include "kirkwood.dtsi"
15 #include "kirkwood-6282.dtsi"
18 model = "Linksys Viper (E4200v2 / EA4500)";
19 compatible = "linksys,viper", "marvell,kirkwood-88f6282", "marvell,kirkwood";
22 device_type = "memory";
23 reg = <0x00000000 0x8000000>;
31 stdout-path = "serial0:115200n8";
35 compatible = "gpio-keys";
38 pinctrl-0 = < &pmx_btn_wps &pmx_btn_reset >;
39 pinctrl-names = "default";
43 linux,code = <KEY_WPS_BUTTON>;
44 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
48 label = "Reset Button";
49 linux,code = <KEY_RESTART>;
50 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
55 compatible = "gpio-leds";
56 pinctrl-0 = < &pmx_led_white_health &pmx_led_white_pulse >;
57 pinctrl-names = "default";
60 label = "viper:white:health";
61 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
65 label = "viper:white:pulse";
66 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
72 pmx_led_white_health: pmx-led-white-health {
73 marvell,pins = "mpp7";
74 marvell,function = "gpo";
76 pmx_led_white_pulse: pmx-led-white-pulse {
77 marvell,pins = "mpp14";
78 marvell,function = "gpio";
80 pmx_btn_wps: pmx-btn-wps {
81 marvell,pins = "mpp47";
82 marvell,function = "gpio";
84 pmx_btn_reset: pmx-btn-reset {
85 marvell,pins = "mpp48";
86 marvell,function = "gpio";
92 pinctrl-0 = <&pmx_nand>;
93 pinctrl-names = "default";
96 compatible = "fixed-partitions";
108 reg = <0x80000 0x20000>;
113 reg = <0xA0000 0x20000>;
118 reg = <0x200000 0x2A0000>;
123 reg = <0x4A0000 0x1760000>;
127 label = "alt_kernel";
128 reg = <0x1C00000 0x2A0000>;
132 label = "alt_rootfs";
133 reg = <0x1EA0000 0x1760000>;
138 reg = <0x3600000 0x4A00000>;
143 reg = <0xC0000 0x140000>;
165 compatible = "marvell,mv88e6085";
166 #address-cells = <1>;
171 #address-cells = <1>;
202 ethernet = <ð0port>;
216 /* eth0 is connected to a Marvell 88E6171 switch, without a PHY. So set
217 * fixed speed and duplex.
227 /* eth1 is connected to the switch at port 6. However DSA only supports a
228 * single CPU port. So leave this port disabled to avoid confusion.
234 /* There is no battery on the board, so the RTC does not keep
235 * time when there is no power, making it useless.