1 --- a/arch/arm/boot/dts/Makefile
2 +++ b/arch/arm/boot/dts/Makefile
3 @@ -120,6 +120,7 @@ dtb-$(CONFIG_MACH_KIRKWOOD) += kirkwood-
6 kirkwood-ds411slim.dtb \
7 + kirkwood-ea4500.dtb \
8 kirkwood-goflexnet.dtb \
9 kirkwood-guruplug-server-plus.dtb \
12 +++ b/arch/arm/boot/dts/kirkwood-ea4500.dts
15 + * kirkwood-ea4500.dts - Device Tree file for Linksys EA4500
17 + * (c) 2013 Jonas Gorski <jogo@openwrt.org>
18 + * (c) 2013 Deutsche Telekom Innovation Laboratories
19 + * (c) 2014 Luka Perkov <luka@openwrt.org>
21 + * This file is licensed under the terms of the GNU General Public
22 + * License version 2. This program is licensed "as is" without any
23 + * warranty of any kind, whether express or implied.
28 +#include "kirkwood.dtsi"
29 +#include "kirkwood-6282.dtsi"
32 + model = "Linksys EA4500";
33 + compatible = "linksys,ea4500", "marvell,kirkwood-88f6282", "marvell,kirkwood";
36 + device_type = "memory";
37 + reg = <0x00000000 0x8000000>;
41 + bootargs = "console=ttyS0,115200n8 earlyprintk";
59 + pinctrl: pin-controller@10000 {
60 + pmx_led_white_health: pmx-led-white-health {
61 + marvell,pins = "mpp7";
62 + marvell,function = "gpo";
64 + pmx_led_white_pulse: pmx-led-white-pulse {
65 + marvell,pins = "mpp14";
66 + marvell,function = "gpio";
68 + pmx_btn_wps: pmx-btn-wps {
69 + marvell,pins = "mpp47";
70 + marvell,function = "gpio";
72 + pmx_btn_reset: pmx-btn-reset {
73 + marvell,pins = "mpp48";
74 + marvell,function = "gpio";
79 + status = "disabled";
89 + compatible = "gpio-keys";
90 + #address-cells = <1>;
92 + pinctrl-0 = < &pmx_btn_wps &pmx_btn_reset >;
93 + pinctrl-names = "default";
96 + label = "WPS Button";
97 + linux,code = <KEY_WPS_BUTTON>;
98 + gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
102 + label = "Reset Button";
103 + linux,code = <KEY_RESTART>;
104 + gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
109 + compatible = "gpio-leds";
110 + pinctrl-0 = < &pmx_led_white_health &pmx_led_white_pulse >;
111 + pinctrl-names = "default";
114 + label = "ea4500:white:health";
115 + gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
119 + label = "ea4500:white:pulse";
120 + gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
125 + compatible = "marvell,88e6171";
138 + pinctrl-0 = <&pmx_nand>;
139 + pinctrl-names = "default";
143 + reg = <0x0000000 0x80000>;
147 + label = "u-boot environment";
148 + reg = <0x80000 0x20000>;
153 + reg = <0x200000 0x200000>;
158 + reg = <0x400000 0x1c00000>;