ramips: fix indentation and other mistakes in .dts{, i} files
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / M4-4M.dts
index 86bd8327c1fb71e4fa0eaf4b433cb2a5ab48dd24..24431876d1f6d54e2111b810c293be8d677b1ea8 100644 (file)
@@ -7,18 +7,9 @@
        model = "Poray M4";
 
        palmbus@10000000 {
-               sysc@0 {
-                       ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
-                       ralink,uartmux = "gpio";
-                       ralink,wdtmux = <1>;
-               };
-
-               gpio0: gpio@600 {
-                       status = "okay";
-               };
-
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                };
        };
 
+       pinctrl {
+               state_default: pinctrl0 {
+                       gpio {
+                               ralink,group = "i2c", "jtag", "uartf";
+                               ralink,function = "gpio";
+                       };
+               };
+       };
+
        ethernet@10100000 {
-               status = "okay";
+               mtd-mac-address = <&factory 0x4>;
        };
 
        esw@10110000 {
-               status = "okay";
                ralink,portmap = <0x2f>;
                ralink,led_polarity = <1>;
        };
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "m4:blue:status";
                        gpios = <&gpio0 9 1>;
@@ -76,6 +76,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                };
        };
 
-       wmac@10180000 {
-               status = "okay";
-               ralink,mtd-eeprom = <&factory 0>;
-               ralink,led-polarity = <1>;
-       };
-
        ehci@101c0000 {
                status = "okay";
        };