diff options
author | Luka Perkov <luka@openwrt.org> | 2015-11-04 22:28:47 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2015-11-04 22:28:47 +0000 |
commit | 47668ffd8e933f5c44a6d70deeed4b358641691f (patch) | |
tree | 9e64de21ee119e0ead32d7db3d129263022a7739 /target/linux/kirkwood/patches-4.3/140-ea4500.patch | |
parent | 805492bda9bda5a23599f8babc292b0c9a9c9c1b (diff) | |
download | master-31e0f0ae-47668ffd8e933f5c44a6d70deeed4b358641691f.tar.gz master-31e0f0ae-47668ffd8e933f5c44a6d70deeed4b358641691f.tar.bz2 master-31e0f0ae-47668ffd8e933f5c44a6d70deeed4b358641691f.zip |
kirkwood: add support for 4.3
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 47386
Diffstat (limited to 'target/linux/kirkwood/patches-4.3/140-ea4500.patch')
-rw-r--r-- | target/linux/kirkwood/patches-4.3/140-ea4500.patch | 180 |
1 files changed, 180 insertions, 0 deletions
diff --git a/target/linux/kirkwood/patches-4.3/140-ea4500.patch b/target/linux/kirkwood/patches-4.3/140-ea4500.patch new file mode 100644 index 0000000000..440939402a --- /dev/null +++ b/target/linux/kirkwood/patches-4.3/140-ea4500.patch @@ -0,0 +1,180 @@ +--- a/arch/arm/boot/dts/Makefile ++++ b/arch/arm/boot/dts/Makefile +@@ -168,6 +168,7 @@ dtb-$(CONFIG_MACH_KIRKWOOD) += \ + kirkwood-ds411.dtb \ + kirkwood-ds411j.dtb \ + kirkwood-ds411slim.dtb \ ++ kirkwood-ea4500.dtb \ + kirkwood-goflexnet.dtb \ + kirkwood-guruplug-server-plus.dtb \ + kirkwood-ib62x0.dtb \ +--- /dev/null ++++ b/arch/arm/boot/dts/kirkwood-ea4500.dts +@@ -0,0 +1,167 @@ ++/* ++ * kirkwood-ea4500.dts - Device Tree file for Linksys EA4500 ++ * ++ * (c) 2013 Jonas Gorski <jogo@openwrt.org> ++ * (c) 2013 Deutsche Telekom Innovation Laboratories ++ * (c) 2014 Luka Perkov <luka@openwrt.org> ++ * ++ * This file is licensed under the terms of the GNU General Public ++ * License version 2. This program is licensed "as is" without any ++ * warranty of any kind, whether express or implied. ++ */ ++ ++/dts-v1/; ++ ++#include "kirkwood.dtsi" ++#include "kirkwood-6282.dtsi" ++ ++/ { ++ model = "Linksys EA4500"; ++ compatible = "linksys,ea4500", "marvell,kirkwood-88f6282", "marvell,kirkwood"; ++ ++ memory { ++ device_type = "memory"; ++ reg = <0x00000000 0x8000000>; ++ }; ++ ++ chosen { ++ bootargs = "console=ttyS0,115200n8 earlyprintk"; ++ }; ++ ++ mbus { ++ pcie-controller { ++ status = "okay"; ++ ++ pcie@1,0 { ++ status = "okay"; ++ }; ++ ++ pcie@2,0 { ++ status = "okay"; ++ }; ++ }; ++ }; ++ ++ ocp@f1000000 { ++ pinctrl: pin-controller@10000 { ++ pmx_led_white_health: pmx-led-white-health { ++ marvell,pins = "mpp7"; ++ marvell,function = "gpo"; ++ }; ++ pmx_led_white_pulse: pmx-led-white-pulse { ++ marvell,pins = "mpp14"; ++ marvell,function = "gpio"; ++ }; ++ pmx_btn_wps: pmx-btn-wps { ++ marvell,pins = "mpp47"; ++ marvell,function = "gpio"; ++ }; ++ pmx_btn_reset: pmx-btn-reset { ++ marvell,pins = "mpp48"; ++ marvell,function = "gpio"; ++ }; ++ }; ++ ++ rtc@10300 { ++ status = "disabled"; ++ }; ++ ++ serial@12000 { ++ status = "okay"; ++ }; ++ ++ }; ++ ++ gpio_keys { ++ compatible = "gpio-keys"; ++ #address-cells = <1>; ++ #size-cells = <0>; ++ pinctrl-0 = < &pmx_btn_wps &pmx_btn_reset >; ++ pinctrl-names = "default"; ++ ++ button@15 { ++ label = "WPS Button"; ++ linux,code = <KEY_WPS_BUTTON>; ++ gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; ++ }; ++ ++ button@16 { ++ label = "Reset Button"; ++ linux,code = <KEY_RESTART>; ++ gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; ++ }; ++ }; ++ ++ gpio-leds { ++ compatible = "gpio-leds"; ++ pinctrl-0 = < &pmx_led_white_health &pmx_led_white_pulse >; ++ pinctrl-names = "default"; ++ ++ white-health { ++ label = "ea4500:white:health"; ++ gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; ++ }; ++ ++ white-pulse { ++ label = "ea4500:white:pulse"; ++ gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; ++ }; ++ }; ++ ++ mvsw61xx { ++ compatible = "marvell,88e6171"; ++ status = "okay"; ++ reg = <0x10>; ++ ++ mii-bus = <&mdio>; ++ cpu-port-0 = <5>; ++ cpu-port-1 = <6>; ++ is-indirect; ++ }; ++}; ++ ++&nand { ++ status = "okay"; ++ pinctrl-0 = <&pmx_nand>; ++ pinctrl-names = "default"; ++ ++ partition@0 { ++ label = "u-boot"; ++ reg = <0x0000000 0x80000>; ++ }; ++ ++ partition@80000 { ++ label = "u-boot environment"; ++ reg = <0x80000 0x20000>; ++ }; ++ ++ partition@200000 { ++ label = "kernel"; ++ reg = <0x200000 0x200000>; ++ }; ++ ++ partition@400000 { ++ label = "root"; ++ reg = <0x400000 0x1c00000>; ++ }; ++}; ++ ++&mdio { ++ status = "okay"; ++}; ++ ++ð0 { ++ status = "okay"; ++ ethernet0-port@0 { ++ speed = <1000>; ++ duplex = <1>; ++ }; ++}; ++ ++ð1 { ++ status = "okay"; ++ ethernet1-port@0 { ++ speed = <1000>; ++ duplex = <1>; ++ }; ++}; |