mvebu: add switch node to clearfog
[openwrt/openwrt.git] / 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 (file)
index 0000000..55494d0
--- /dev/null
@@ -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>;