ramips: do not use GPIO function on switch pins on certain devices
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_linksys_e7350.dts
index d7b8c214b9b91dcf6581b268a8c86dba4a0b2aac..ea8a6841488a8f7eddbc98402915553dbd19d20d 100644 (file)
                        function = LED_FUNCTION_WAN;
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
-
-               led-wan2 {
-                       color = <LED_COLOR_ID_BLUE>;
-                       function = LED_FUNCTION_WAN;
-                       gpios = <&switch0 0 GPIO_ACTIVE_LOW>;
-               };
-
-               led-lan4 {
-                       color = <LED_COLOR_ID_BLUE>;
-                       function = LED_FUNCTION_LAN;
-                       function-enumerator = <4>;
-                       gpios = <&switch0 3 GPIO_ACTIVE_LOW>;
-               };
-
-               led-lan3 {
-                       color = <LED_COLOR_ID_BLUE>;
-                       function = LED_FUNCTION_LAN;
-                       function-enumerator = <3>;
-                       gpios = <&switch0 6 GPIO_ACTIVE_LOW>;
-               };
-
-               led-lan2 {
-                       color = <LED_COLOR_ID_BLUE>;
-                       function = LED_FUNCTION_LAN;
-                       function-enumerator = <2>;
-                       gpios = <&switch0 9 GPIO_ACTIVE_HIGH>;
-               };
-
-               led-lan1 {
-                       color = <LED_COLOR_ID_BLUE>;
-                       function = LED_FUNCTION_LAN;
-                       function-enumerator = <1>;
-                       gpios = <&switch0 12 GPIO_ACTIVE_LOW>;
-               };
        };
 };
 
 };
 
 &switch0 {
-       gpio-controller;
-       #gpio-cells = <2>;
-
        ports {
                port@1 {
                        status = "okay";