From c359d7e81bd0f73bd3931abf5d87589a97cc37df Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Sun, 25 Sep 2016 13:34:10 +0200 Subject: 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 Acked-by: Felix Fietkau --- .../patches-4.4/209-clearfog_switch_node.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 target/linux/mvebu/patches-4.4/209-clearfog_switch_node.patch (limited to 'target/linux/mvebu/patches-4.4/209-clearfog_switch_node.patch') 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 0000000000..55494d093b --- /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>; -- cgit v1.2.3