summaryrefslogtreecommitdiff
path: root/target/linux/mvebu/patches-4.4
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2016-09-25 13:34:10 +0200
committerJonas Gorski <jonas.gorski@gmail.com>2016-09-26 13:04:47 +0200
commitc359d7e81bd0f73bd3931abf5d87589a97cc37df (patch)
treeeaa985899301bcc698664c216cdfcda66777f1f2 /target/linux/mvebu/patches-4.4
parent167763837bc4df4d6561e3d1cda86978f0882fc7 (diff)
downloadmtk-20170518-c359d7e81bd0f73bd3931abf5d87589a97cc37df.zip
mtk-20170518-c359d7e81bd0f73bd3931abf5d87589a97cc37df.tar.gz
mtk-20170518-c359d7e81bd0f73bd3931abf5d87589a97cc37df.tar.bz2
mvebu: add switch node to clearfog
Add a switch node to clearfog to probe and initialize it on Clearfog Pro. This make the switch work and allows using all six switch ports. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/mvebu/patches-4.4')
-rw-r--r--target/linux/mvebu/patches-4.4/209-clearfog_switch_node.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-4.4/209-clearfog_switch_node.patch b/target/linux/mvebu/patches-4.4/209-clearfog_switch_node.patch
new file mode 100644
index 0000000..55494d0
--- /dev/null
+++ b/target/linux/mvebu/patches-4.4/209-clearfog_switch_node.patch
@@ -0,0 +1,21 @@
+--- a/arch/arm/boot/dts/armada-388-clearfog.dts
++++ b/arch/arm/boot/dts/armada-388-clearfog.dts
+@@ -430,6 +430,18 @@
+ };
+ };
+
++ mvsw61xx {
++ #address-cells = <1>;
++ #size-cells = <0>;
++ compatible = "marvell,88e6176";
++ status = "okay";
++ reg = <0x4>;
++ is-indirect;
++
++ mii-bus = <&mdio>;
++ cpu-port-0 = <5>;
++ };
++
+ gpio-keys {
+ compatible = "gpio-keys";
+ pinctrl-0 = <&rear_button_pins>;