ralink: fix default vlan mapping for MT7620a_MT7610e
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / rt5350.dtsi
index e132699da3a7e1a9a6f0cb71ebe29cff027ac157..cb9077f7b4a1f01f11e807096b79ad904bae23c9 100644 (file)
                        ralink,register-map = [ 00 04 08 0c
                                                20 24 28 2c
                                                30 34 ];
-
-                       status = "disabled";
                };
 
                gpio1: gpio@638 {
                        #address-cells = <1>;
                        #size-cells = <0>;
 
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&i2c_pins>;
+
                        status = "disabled";
                };
 
                        #address-cells = <1>;
                        #size-cells = <1>;
 
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&spi_pins>;
+
                        status = "disabled";
                };
 
                        interrupt-parent = <&intc>;
                        interrupts = <12>;
 
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&uartlite_pins>;
+
                        reg-shift = <2>;
                };
 
                };
        };
 
+       pinctrl {
+               compatible = "ralink,rt2880-pinmux";
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&state_default>;
+
+               state_default: pinctrl0 {
+               };
+
+               spi_pins: spi {
+                       spi {
+                               ralink,group = "spi";
+                               ralink,function = "spi";
+                       };
+               };
+               i2c_pins: i2c {
+                       i2c {
+                               ralink,group = "i2c";
+                               ralink,function = "i2c";
+                       };
+               };
+               phy_led_pins: phy_led {
+                       phy_led {
+                               ralink,group = "led";
+                               ralink,function = "led";
+                       };
+               };
+               uartlite_pins: uartlite {
+                       uart {
+                               ralink,group = "uartlite";
+                               ralink,function = "uartlite";
+                       };
+               };
+       };
+
        rstctrl: rstctrl {
                compatible = "ralink,rt5350-reset", "ralink,rt2880-reset";
                #reset-cells = <1>;
 
                interrupt-parent = <&cpuintc>;
                interrupts = <5>;
-
-               status = "disabled";
        };
 
        esw@10110000 {
 
                interrupt-parent = <&intc>;
                interrupts = <17>;
-
-               status = "disabled";
        };
 
        wmac@10180000 {
                interrupts = <6>;
 
                ralink,eeprom = "soc_wmac.eeprom";
-
-               status = "disabled";
        };
 
        ehci@101c0000 {