ramips: fix indentation and other mistakes in .dts{, i} files
authorJohn Crispin <john@openwrt.org>
Mon, 17 Aug 2015 05:57:18 +0000 (05:57 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 17 Aug 2015 05:57:18 +0000 (05:57 +0000)
The following patch fixes:
 * wrong indentations
 * doubled gpio-keys-polled nodes (DIR-300-B7, DIR-320-B1, DIR-610-A1)
 * duplicate spacings
 * empty lines at end of files and after last child nodes
 * trailing and leading whitespace
 * unnecessary and commented-out code
 * missing empty lines between nodes and between properties and nodes
 * unnecessary empty lines between nodes properties [1]

in .dts{,i} files, for ramips target.

[1] Some of empty lines in SOCs dtsi files were left untouched, because they seem to be there for a reason (readability?).

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 46613

158 files changed:
target/linux/ramips/dts/3G-6200N.dts
target/linux/ramips/dts/3G-6200NL.dts
target/linux/ramips/dts/3G150B.dts
target/linux/ramips/dts/3G300M.dts
target/linux/ramips/dts/A5-V11.dts
target/linux/ramips/dts/AIBR100.dts
target/linux/ramips/dts/AIR3GII.dts
target/linux/ramips/dts/ALL0239-3G.dts
target/linux/ramips/dts/ALL0256N-4M.dts
target/linux/ramips/dts/ALL0256N-8M.dts
target/linux/ramips/dts/ALL5002.dts
target/linux/ramips/dts/ALL5003.dts
target/linux/ramips/dts/AR670W.dts
target/linux/ramips/dts/AR725W.dts
target/linux/ramips/dts/ARGUS_ATP52B.dts
target/linux/ramips/dts/ASL26555-16M.dts
target/linux/ramips/dts/ASL26555-8M.dts
target/linux/ramips/dts/AWAPN2403.dts
target/linux/ramips/dts/AWM002-EVB-4M.dts
target/linux/ramips/dts/AWM002-EVB-8M.dts
target/linux/ramips/dts/AWM002.dtsi
target/linux/ramips/dts/AWM003-EVB.dts
target/linux/ramips/dts/ArcherC20i.dts
target/linux/ramips/dts/BC2.dts
target/linux/ramips/dts/BR-6425.dts
target/linux/ramips/dts/BR-6475ND.dts
target/linux/ramips/dts/BROADWAY.dts
target/linux/ramips/dts/CARAMBOLA.dts
target/linux/ramips/dts/CF-WR800N.dts
target/linux/ramips/dts/CY-SWR1100.dts
target/linux/ramips/dts/D105.dts
target/linux/ramips/dts/DAP-1350.dts
target/linux/ramips/dts/DCS-930.dts
target/linux/ramips/dts/DCS-930L-B1.dts
target/linux/ramips/dts/DIR-300-B1.dts
target/linux/ramips/dts/DIR-300-B7.dts
target/linux/ramips/dts/DIR-320-B1.dts
target/linux/ramips/dts/DIR-600-B1.dts
target/linux/ramips/dts/DIR-600-B2.dts
target/linux/ramips/dts/DIR-610-A1.dts
target/linux/ramips/dts/DIR-615-D.dts
target/linux/ramips/dts/DIR-615-H1.dts
target/linux/ramips/dts/DIR-620-A1.dts
target/linux/ramips/dts/DIR-620-D1.dts
target/linux/ramips/dts/DIR-645.dts
target/linux/ramips/dts/DIR-810L.dts
target/linux/ramips/dts/DIR-860L-B1.dts
target/linux/ramips/dts/E1700.dts
target/linux/ramips/dts/ESR-9753.dts
target/linux/ramips/dts/F5D8235_V1.dts
target/linux/ramips/dts/F5D8235_V2.dts
target/linux/ramips/dts/F7C027.dts
target/linux/ramips/dts/FIREWRT.dts
target/linux/ramips/dts/FONERA20N.dts
target/linux/ramips/dts/FREESTATION5.dts
target/linux/ramips/dts/HG255D.dts
target/linux/ramips/dts/HLKRM04.dts
target/linux/ramips/dts/HT-TM02.dts
target/linux/ramips/dts/HW550-3G.dts
target/linux/ramips/dts/IP2202.dts
target/linux/ramips/dts/M2M.dts
target/linux/ramips/dts/M3.dts
target/linux/ramips/dts/M4-4M.dts
target/linux/ramips/dts/M4-8M.dts
target/linux/ramips/dts/MLW221.dts
target/linux/ramips/dts/MLWG2.dts
target/linux/ramips/dts/MOFI3500-3GN.dts
target/linux/ramips/dts/MPRA1.dts
target/linux/ramips/dts/MPRA2.dts
target/linux/ramips/dts/MR-102N.dts
target/linux/ramips/dts/MT7620a.dts
target/linux/ramips/dts/MT7620a_MT7530.dts
target/linux/ramips/dts/MT7620a_MT7610e.dts
target/linux/ramips/dts/MT7620a_V22SG.dts
target/linux/ramips/dts/MZK-750DHP.dts
target/linux/ramips/dts/MZK-DP150N.dts
target/linux/ramips/dts/MZK-W300NH2.dts
target/linux/ramips/dts/MicroWRT.dts
target/linux/ramips/dts/NA930.dts
target/linux/ramips/dts/NBG-419N.dts
target/linux/ramips/dts/NCS601W.dts
target/linux/ramips/dts/NW718.dts
target/linux/ramips/dts/OLINUXINO-RT5350F-EVB.dts
target/linux/ramips/dts/OLINUXINO-RT5350F.dts
target/linux/ramips/dts/OMNI-EMB-HPM.dts
target/linux/ramips/dts/OMNI-EMB.dts
target/linux/ramips/dts/OMNI-PLUG.dts
target/linux/ramips/dts/OY-0001.dts
target/linux/ramips/dts/PBR-M1.dts
target/linux/ramips/dts/PSR-680W.dts
target/linux/ramips/dts/PWH2004.dts
target/linux/ramips/dts/PX4885-4M.dts
target/linux/ramips/dts/PX4885-8M.dts
target/linux/ramips/dts/PX4885.dtsi
target/linux/ramips/dts/RE6500.dts
target/linux/ramips/dts/RP-N53.dts
target/linux/ramips/dts/RT-G32-B1.dts
target/linux/ramips/dts/RT-N10-PLUS.dts
target/linux/ramips/dts/RT-N13U.dts
target/linux/ramips/dts/RT-N14U.dts
target/linux/ramips/dts/RT-N15.dts
target/linux/ramips/dts/RTN56U.dts
target/linux/ramips/dts/RUT5XX.dts
target/linux/ramips/dts/SAP-G3200U3.dts
target/linux/ramips/dts/SL-R7205.dts
target/linux/ramips/dts/TEW-691GR.dts
target/linux/ramips/dts/TEW-692GR.dts
target/linux/ramips/dts/UR-326N4G.dts
target/linux/ramips/dts/UR-336UN.dts
target/linux/ramips/dts/V11STFE.dts
target/linux/ramips/dts/V22RW-2X2.dts
target/linux/ramips/dts/VOCORE.dts
target/linux/ramips/dts/W150M.dts
target/linux/ramips/dts/W306R_V20.dts
target/linux/ramips/dts/W502U.dts
target/linux/ramips/dts/WCR150GN.dts
target/linux/ramips/dts/WHR-1166D.dts
target/linux/ramips/dts/WHR-300HP2.dts
target/linux/ramips/dts/WHR-600D.dts
target/linux/ramips/dts/WHR-G300N.dts
target/linux/ramips/dts/WIZARD8800.dts
target/linux/ramips/dts/WL-351.dts
target/linux/ramips/dts/WL341V3.dts
target/linux/ramips/dts/WLI-TX4-AG300N.dts
target/linux/ramips/dts/WL_330N.dts
target/linux/ramips/dts/WL_330N3G.dts
target/linux/ramips/dts/WMR300.dts
target/linux/ramips/dts/WNCE2001.dts
target/linux/ramips/dts/WR512-3GN-4M.dts
target/linux/ramips/dts/WR512-3GN-8M.dts
target/linux/ramips/dts/WR6202.dts
target/linux/ramips/dts/WR8305RT.dts
target/linux/ramips/dts/WRTNODE.dts
target/linux/ramips/dts/WSR-1166.dts
target/linux/ramips/dts/WSR-600.dts
target/linux/ramips/dts/WT1520-4M.dts
target/linux/ramips/dts/WT1520-8M.dts
target/linux/ramips/dts/WT3020-4M.dts
target/linux/ramips/dts/WT3020-8M.dts
target/linux/ramips/dts/WZR-AGL300NH.dts
target/linux/ramips/dts/X5.dts
target/linux/ramips/dts/X8.dts
target/linux/ramips/dts/XDXRN502J.dts
target/linux/ramips/dts/XIAOMI-MIWIFI-MINI.dts
target/linux/ramips/dts/Y1.dts
target/linux/ramips/dts/Y1.dtsi
target/linux/ramips/dts/Y1S.dts
target/linux/ramips/dts/ZBT-WA05.dts
target/linux/ramips/dts/ZTE-Q7.dts
target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7620n.dtsi
target/linux/ramips/dts/mt7621.dtsi
target/linux/ramips/dts/mt7628an.dtsi
target/linux/ramips/dts/rt2880.dtsi
target/linux/ramips/dts/rt3050.dtsi
target/linux/ramips/dts/rt3352.dtsi
target/linux/ramips/dts/rt3883.dtsi
target/linux/ramips/dts/rt5350.dtsi

index a19ed45..3a79d46 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "edimax:green:power";
                        gpios = <&gpio0 9 1>;
                };
+
                wlan {
                        label = "edimax:amber:wlan";
                        gpios = <&gpio0 14 1>;
                };
+
                3g {
                        label = "edimax:blue:3g";
                        gpios = <&gpio0 7 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 12 1>;
                        linux,code = <0x211>;
                };
+
                wlanswitch {
                        label = "wlanswitch";
                        gpios = <&gpio0 13 1>;
index 2dec318..eb6e7d4 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
@@ -68,6 +67,7 @@
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wlan {
                        label = "edimax:amber:wlan";
                        gpios = <&gpio0 14 1>;
@@ -79,6 +79,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 12 1>;
index bdcca71..26f4ce6 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
@@ -41,6 +42,7 @@
                                };
                        };
                };
+
                gpio1: gpio@660 {
                        status = "okay";
                };
 
        gpio-leds {
                compatible = "gpio-leds";
+
                ap {
                        label = "tenda:blue:ap";
                        gpios = <&gpio0 7 1>;
                };
+
                3g {
                        label = "tenda:blue:3g";
                        gpios = <&gpio0 14 1>;
@@ -93,6 +97,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 0 1>;
                        gpios = <&gpio0 13 0>;
                };
        };
-
 };
index 5095927..1f9d6f9 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                3grouter {
                        label = "tenda:blue:3grouter";
                        gpios = <&gpio0 11 1>;
                };
+
                ap {
                        label = "tenda:blue:ap";
                        gpios = <&gpio0 12 1>;
                };
+
                wisprouter {
                        label = "tenda:blue:wisprouter";
                        gpios = <&gpio0 9 1>;
                };
+
                wirelessrouter {
                        label = "tenda:blue:wirelessrouter";
                        gpios = <&gpio0 13 1>;
                };
+
                3g {
                        label = "tenda:blue:3g";
                        gpios = <&gpio0 7 1>;
                };
+
                wpsreset {
                        label = "tenda:blue:wpsreset";
                        gpios = <&gpio0 14 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x198>;
                };
+
                mode {
                        label = "mode";
                        gpios = <&gpio0 10 1>;
index 154074a..f1d0891 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
@@ -41,6 +42,7 @@
                                };
                        };
                };
+
                gpio1: gpio@660 {
                        status = "okay";
                };
 
        gpio-leds {
                compatible = "gpio-leds";
+
                system {
                        label = "a5-v11:blue:system";
                        gpios = <&gpio0 20 1>;
                };
+
                power {
                        label = "a5-v11:red:power";
                        gpios = <&gpio0 17 1>;
@@ -92,6 +96,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 0 1>;
                        gpio-export,output = <1>;
                        gpios = <&gpio0 7 0>;
                };
+
                root_hub {
                        gpio-export,name = "root_hub";
                        gpio-export,output = <1>;
index 90f3a1e..963e835 100644 (file)
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wan {
                        label = "aigale:blue:wan";
                        gpios = <&gpio2 4 1>;
                };
+
                wlan {
                        label = "aigale:blue:wlan";
                        gpios = <&gpio3 0 1>;
@@ -97,6 +99,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 12 1>;
index 4a26546..434b10b 100644 (file)
@@ -13,6 +13,7 @@
 
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wlan {
                        label = "airlive:green:wlan";
                        gpios = <&gpio0 8 0>;
                };
+
                mobile {
                        label = "airlive:green:mobile";
                        gpios = <&gpio0 9 1>;
@@ -85,6 +88,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 7 1>;
index 4da69a7..ac8a4e9 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                usb {
                        label = "hw550-3g:green:usb";
                        gpios = <&gpio0 8 1>;
                };
+
                3g {
                        label = "hw550-3g:green:3g";
                        gpios = <&gpio0 11 1>;
                };
+
                status {
                        label = "hw550-3g:green:status";
                        gpios = <&gpio0 12 1>;
                };
+
                wps {
                        label = "hw550-3g:green:wps";
                        gpios = <&gpio0 14 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                connect {
                        label = "connect";
                        gpios = <&gpio0 7 1>;
                        linux,code = <0xda>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
index 581934a..d0fbb89 100644 (file)
@@ -13,6 +13,7 @@
 
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                rssilow {
                        label = "all0256n:green:rssilow";
                        gpios = <&gpio0 14 1>;
                };
+
                rssimed {
                        label = "all0256n:green:rssimed";
                        gpios = <&gpio0 12 1>;
                };
+
                rssihigh {
                        label = "all0256n:green:rssihigh";
                        gpios = <&gpio0 13 1>;
@@ -89,6 +93,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 0 1>;
index c4815d9..c788869 100644 (file)
@@ -13,6 +13,7 @@
 
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                rssilow {
                        label = "all0256n:green:rssilow";
                        gpios = <&gpio0 14 1>;
                };
+
                rssimed {
                        label = "all0256n:green:rssimed";
                        gpios = <&gpio0 12 1>;
                };
+
                rssihigh {
                        label = "all0256n:green:rssihigh";
                        gpios = <&gpio0 13 1>;
@@ -89,6 +93,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 0 1>;
index 7c19571..06f892b 100644 (file)
@@ -13,6 +13,7 @@
 
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
@@ -78,7 +79,6 @@
 
        i2c-gpio {
                compatible = "i2c-gpio";
-
                gpios = <&gpio0 1 0 &gpio0 2 0>;
                i2c-gpio,delay-us = <10>;
 
 
        gpio-leds {
                compatible = "gpio-leds";
+
                ld1 {
                        label = "allnet:green:ld1";
                        gpios = <&pcf0 0 1>;
                };
+
                ld2 {
                        label = "allnet:green:ld2";
                        gpios = <&pcf0 1 1>;
index 1d58b6a..d14b1f9 100644 (file)
@@ -13,6 +13,7 @@
 
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
@@ -78,7 +79,6 @@
 
        i2c-gpio {
                compatible = "i2c-gpio";
-
                gpios = <&gpio0 1 0 &gpio0 2 0>;
                i2c-gpio,delay-us = <10>;
 
 
        gpio-leds {
                compatible = "gpio-leds";
+
                ld1 {
                        label = "allnet:green:ld1";
                        gpios = <&pcf0 0 1>;
                };
+
                ld2 {
                        label = "allnet:green:ld2";
                        gpios = <&pcf0 1 1>;
index 07497cb..0e29d89 100644 (file)
@@ -32,6 +32,7 @@
 
                mdio-bus {
                        status = "okay";
+
                        phy0: ethernet-phy@0 {
                                phy-mode = "mii";
                                reg = <0>;
@@ -47,7 +48,6 @@
        cfi@bdc00000 {
                compatible = "cfi-flash";
                reg = <0xbc400000 0x800000>;
-
                bank-width = <2>;
                #address-cells = <1>;
                #size-cells = <1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <100>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x211>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 9 1>;
index 87f2553..6f66c3f 100644 (file)
@@ -32,6 +32,7 @@
 
                mdio-bus {
                        status = "okay";
+
                        phy0: ethernet-phy@0 {
                                phy-mode = "mii";
                                reg = <0>;
@@ -47,7 +48,6 @@
        cfi@bdc00000 {
                compatible = "cfi-flash";
                reg = <0xbc400000 0x800000>;
-
                bank-width = <2>;
                #address-cells = <1>;
                #size-cells = <1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <100>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x211>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 9 1>;
index 66108b1..f94d740 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                run {
                        label = "argus-atp52b:green:run";
                        gpios = <&gpio0 9 1>;
                };
+
                net {
                        label = "argus-atp52b:amber:net";
                        gpios = <&gpio0 13 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x211>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
index 74163c2..2cf1ac6 100644 (file)
@@ -13,6 +13,7 @@
 
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                                        reg = <0x0 0x30000>;
                                        read-only;
                                };
+
                                partition@30000 {
                                        label = "uboot-env";
                                        reg = <0x30000 0x10000>;
                                        read-only;
                                };
+
                                partition@40000 {
                                        label = "factory";
                                        reg = <0x40000 0x10000>;
                                        read-only;
                                };
+
                                partition@50000 {
                                        label = "firmware";
                                        reg = <0x50000 0xf80000>;
                                };
+
                                partition@fd0000 {
                                        label = "cert";
                                        reg = <0xfd0000 0x10000>;
                                        read-only;
                                };
+
                                partition@fe0000 {
                                        label = "langpack";
                                        reg = <0xfe0000 0x10000>;
                                        read-only;
                                };
+
                                devdata: partition@ff0000 {
                                        label = "devdata";
                                        reg = <0xff0000 0x10000>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 0>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 12 0>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                eth {
                        label = "asl26555:green:eth";
                        gpios = <&gpio0 0 1>;
                };
+
                wan-red {
                        label = "asl26555:red:wan";
                        gpios = <&gpio0 1 0>;
                };
+
                wan-green {
                        label = "asl26555:green:wan";
                        gpios = <&gpio0 2 0>;
                };
+
                wlan {
                        label = "asl26555:green:wlan";
                        gpios = <&gpio0 7 0>;
                };
+
                power-green {
                        label = "asl26555:green:power";
                        gpios = <&gpio0 8 0>;
                };
+
                power-red {
                        label = "asl26555:red:power";
                        gpios = <&gpio0 9 0>;
                };
+
                3g-green {
                        label = "asl26555:green:3g";
                        gpios = <&gpio0 14 1>;
                };
+
                3g-red {
                        label = "asl26555:red:3g";
                        gpios = <&gpio0 17 1>;
index 506f147..80cf4a4 100644 (file)
@@ -13,6 +13,7 @@
 
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                                        reg = <0x0 0x30000>;
                                        read-only;
                                };
+
                                ubootenv: partition@30000 {
                                        label = "uboot-env";
                                        reg = <0x30000 0x10000>;
                                        read-only;
                                };
+
                                partition@40000 {
                                        label = "rgdb";
                                        reg = <0x40000 0x10000>;
                                        read-only;
                                };
+
                                partition@50000 {
                                        label = "firmware";
                                        reg = <0x50000 0x790000>;
                                };
+
                                partition@7e0000 {
                                        label = "cert";
                                        reg = <0x7e0000 0x10000>;
                                        read-only;
                                };
+
                                partition@7f0000 {
                                        label = "langpack";
                                        reg = <0x7f0000 0x10000>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 0>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 12 0>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                eth {
                        label = "asl26555:green:eth";
                        gpios = <&gpio0 0 1>;
                };
+
                wan-red {
                        label = "asl26555:red:wan";
                        gpios = <&gpio0 1 0>;
                };
+
                wan-green {
                        label = "asl26555:green:wan";
                        gpios = <&gpio0 2 0>;
                };
+
                wlan {
                        label = "asl26555:green:wlan";
                        gpios = <&gpio0 7 0>;
                };
+
                power-green {
                        label = "asl26555:green:power";
                        gpios = <&gpio0 8 0>;
                };
+
                power-red {
                        label = "asl26555:red:power";
                        gpios = <&gpio0 9 0>;
                };
+
                3g-green {
                        label = "asl26555:green:3g";
                        gpios = <&gpio0 14 1>;
                };
+
                3g-red {
                        label = "asl26555:red:3g";
                        gpios = <&gpio0 17 1>;
index 2de0402..754f9f7 100644 (file)
@@ -4,11 +4,12 @@
 
 / {
        compatible = "AWAPN2403", "ralink,rt3052-soc";
-       model =  "AsiaRF AWAPN2403";
+       model = "AsiaRF AWAPN2403";
 
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
@@ -62,6 +63,7 @@
 
        gpio-leds {
                compatible = "gpio-leds";
+
                link {
                        label = "asiarf:green:wps";
                        gpios = <&gpio0 14 1>;
@@ -73,6 +75,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 0 1>;
index 0738f04..fe2ff1a 100644 (file)
 
        gpio-leds {
                compatible = "gpio-leds";
+
                tx {
                        label = "awm002-evb:green:tx";
                        gpios = <&gpio0 15 1>;
                };
+
                rx {
                        label = "awm002-evb:green:rx";
                        gpios = <&gpio0 16 1>;
                };
+
                wps {
                        label = "awm002-evb:green:wps";
                        gpios = <&gpio0 21 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x198>;
                };
+
                mode {
                        label = "mode";
                        gpios = <&gpio0 20 1>;
index ebc4085..d4de3f1 100644 (file)
 
        gpio-leds {
                compatible = "gpio-leds";
+
                tx {
                        label = "awm002-evb:green:tx";
                        gpios = <&gpio0 15 1>;
                };
+
                rx {
                        label = "awm002-evb:green:rx";
                        gpios = <&gpio0 16 1>;
                };
+
                wps {
                        label = "awm002-evb:green:wps";
                        gpios = <&gpio0 21 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x198>;
                };
+
                mode {
                        label = "mode";
                        gpios = <&gpio0 20 1>;
index 3b87995..ce45bd3 100644 (file)
@@ -7,6 +7,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                ld1 {
                        label = "asiarf:green:ld1";
                        gpios = <&gpio0 0 1>;
                };
+
                ld2 {
                        label = "asiarf:green:ld2";
                        gpios = <&gpio0 1 1>;
index 35d4886..02de20d 100644 (file)
 
        gpio-leds {
                compatible = "gpio-leds";
+
                tx {
                        label = "awm002-evb:green:tx";
                        gpios = <&gpio0 15 1>;
                };
+
                rx {
                        label = "awm002-evb:green:rx";
                        gpios = <&gpio0 16 1>;
                };
+
                wps {
                        label = "awm002-evb:green:wps";
                        gpios = <&gpio0 21 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x198>;
                };
+
                mode {
                        label = "mode";
                        gpios = <&gpio0 20 1>;
index cc3d5c1..0ad4d12 100644 (file)
@@ -72,7 +72,6 @@
        ethernet@10100000 {
                pinctrl-names = "default";
                pinctrl-0 = <&ephy_pins>;
-
                mtd-mac-address = <&rom 0xf100>;
                ralink,port-map = "wllll";
        };
index 0524f2d..d920b6e 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
@@ -50,6 +49,7 @@
 
        gpio-leds {
                compatible = "gpio-leds";
+
                usb {
                        label = "bc2:blue:usb";
                        gpios = <&gpio0 20 1>;
@@ -61,6 +61,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 17 1>;
index 6f836c8..2d62615 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "edimax:green:power";
                        gpios = <&gpio0 9 1>;
                };
+
                wlan {
                        label = "edimax:orange:wlan";
                        gpios = <&gpio0 14 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 12 1>;
                        linux,code = <0x198>;
                };
+
                rfkill {
                        label = "RFKILL switch";
                        gpios = <&gpio0 13 1>;
index 1907028..ce8bd61 100644 (file)
@@ -45,9 +45,9 @@
 
        pci@10140000 {
                status = "okay";
-
                pinctrl-names = "default";
                pinctrl-0 = <&pci_pins>;
+
                pci_pins: pci {
                        pci {
                                ralink,group = "pci";
@@ -58,6 +58,7 @@
                host-bridge {
                        pci-bridge@1 {
                                status = "okay";
+
                                wmac@0,0 {
                                        ralink,5ghz = <0>;
                                        compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
@@ -79,7 +80,6 @@
        nor-flash@1c000000 {
                compatible = "cfi-flash";
                reg = <0x1c000000 0x800000>;
-
                bank-width = <2>;
                #address-cells = <1>;
                #size-cells = <1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <100>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 7 1>;
                        linux,code = <0x198>;
                };
+
                rfkill {
                        label = "rfkill";
                        gpios = <&gpio0 9 1>;
                        label = "edimax:green:power";
                        gpios = <&gpio0 10 1>;
                };
+
                wlan {
                        label = "edimax:amber:wlan";
                        gpios = <&gpio0 11 1>;
                };
+
                wlan_5ghz {
                        label = "edimax:amber:wlan_5ghz";
                        gpios = <&gpio0 14 1>;
        gpio_export {
                compatible = "gpio-export";
                #size-cells = <0>;
+
                usb {
                        gpio-export,name="usb";
                        gpio-export,output=<0>;
index db86f97..34696ad 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                diskmounted {
                        label = "red:diskmounted";
                        gpios = <&gpio0 9 1>;
                };
+
                wps_active {
                        label = "red:wps_active";
                        gpios = <&gpio0 14 1>;
@@ -77,6 +78,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                factory {
                        label = "Factory Reset button";
                        gpios = <&gpio0 13 1>;
index c33ed42..ea3623d 100644 (file)
@@ -22,7 +22,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
@@ -70,7 +69,6 @@
 
        i2c-gpio {
                compatible = "i2c-gpio";
-
                gpios = <&gpio0 1 0 &gpio0 2 0>;
                i2c-gpio,delay-us = <10>;
        };
index 5db6c83..beb2805 100644 (file)
@@ -8,7 +8,7 @@
 
        chosen {
                bootargs = "console=ttyS0,115200";
-        };
+       };
 
        palmbus@10000000 {
                gpio0: gpio@600 {
                };
        };
 
-        gpio-keys-polled {
-                compatible = "gpio-keys-polled";
-                #address-cells = <1>;
-                #size-cells = <0>;
-                poll-interval = <20>;
-                reset {
-                        label = "reset";
-                        gpios = <&gpio0 2 1>;
-                        linux,code = <0x198>;
-                };
-        };
+       gpio-keys-polled {
+               compatible = "gpio-keys-polled";
+               #address-cells = <1>;
+               #size-cells = <0>;
+               poll-interval = <20>;
+
+               reset {
+                       label = "reset";
+                       gpios = <&gpio0 2 1>;
+                       linux,code = <0x198>;
+               };
+       };
 };
index adea081..acccfdb 100644 (file)
@@ -30,9 +30,9 @@
 
        pci@10140000 {
                status = "okay";
-
                pinctrl-names = "default";
                pinctrl-0 = <&pci_pins>;
+
                pci_pins: pci {
                        pci {
                                ralink,group = "pci";
@@ -43,6 +43,7 @@
                host-bridge {
                        pci-bridge@1 {
                                status = "okay";
+
                                wmac@0,0 {
                                        ralink,5ghz = <0>;
                                        compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
@@ -70,7 +71,6 @@
        nor-flash@1c000000 {
                compatible = "cfi-flash";
                reg = <0x1c000000 0x800000>;
-
                bank-width = <2>;
                #address-cells = <1>;
                #size-cells = <1>;
                        reg = <0x0 0x30000>;
                        read-only;
                };
+
                partition@30000 {
                        label = "uboot-env";
                        reg = <0x30000 0x4000>;
                        read-only;
                };
+
                factory: partition@34000 {
                        label = "factory";
                        reg = <0x34000 0x4000>;
                        read-only;
                };
+
                partition@38000 {
                        label = "nvram";
                        reg = <0x38000 0x8000>;
                        read-only;
                };
+
                partition@40000 {
                        label = "devdata";
                        reg = <0x40000 0x10000>;
                };
+
                partition@50000 {
                        label = "firmware";
                        reg = <0x50000 0x7b0000>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <100>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 6 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 3 1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wps {
                        label = "samsung:blue:wps";
                        gpios = <&gpio0 0 1>;
                };
+
                usb {
                        label = "samsung:blue:usb";
                        gpios = <&gpio1 1 1>;
index 42f6fd3..5ef625c 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "d105:red:power";
                        gpios = <&gpio0 0 1>;
                };
+
                wps {
                        label = "d105:green:usb";
                        gpios = <&gpio0 13 1>;
@@ -65,6 +66,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
index ee53e5e..ae36baf 100644 (file)
@@ -22,7 +22,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "d-link:blue:power";
                        gpios = <&gpio0 8 1>;
                };
+
                power2 {
                        label = "d-link:red:power";
                        gpios = <&gpio0 9 1>;
                };
+
                wps {
                        label = "d-link:blue:wps";
                        gpios = <&gpio0 14 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x211>;
                };
+
                rt {
                        label = "rt";
                        gpios = <&gpio0 11 1>;
                        linux,code = <0x100>;
                };
+
                ap {
                        label = "ap";
                        gpios = <&gpio0 7 1>;
index 3d0cf1d..d544d21 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x400000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wifi {
                        label = "d-link:red:alert";
                        gpios = <&gpio0 8 1>;
                };
+
                power {
                        label = "d-link:green:status";
                        gpios = <&gpio0 9 1>;
                };
+
                wps {
                        label = "d-link:blue:wps";
                        gpios = <&gpio0 13 1>;
@@ -85,6 +87,7 @@
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x101>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
index f73a997..7b54d8c 100644 (file)
@@ -3,12 +3,13 @@
 /include/ "rt5350.dtsi"
 
 / {
-       compatible =  "DCS-930L-B1", "ralink,rt5350-soc";
+       compatible = "DCS-930L-B1", "ralink,rt5350-soc";
        model = "D-Link DCS-930L B1";
 
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "d-link:red:power";
                        gpios = <&gpio0 17 1>;
                };
+
                wps {
                        label = "d-link:blue:wps";
                        gpios = <&gpio0 19 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 20 1>;
index 4c5b80f..e1962d5 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "d-link:amber:status";
                        gpios = <&gpio0 8 1>;
                };
+
                status2 {
                        label = "d-link:green:status";
                        gpios = <&gpio0 9 1>;
                };
+
                wan {
                        label = "d-link:amber:wan";
                        gpios = <&gpio0 14 1>;
                };
+
                wan2 {
                        label = "d-link:green:wan";
                        gpios = <&gpio0 12 1>;
                };
+
                wps {
                        label = "d-link:blue:wps";
                        gpios = <&gpio0 13 1>;
index c1a1385..c143d6e 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                mtd-mac-address = <&factory 0x4>;
        };
 
-        esw@10110000 {
-                ralink,portmap = <0x2f>;
-                ralink,led_polarity = <0x17>;
-        };
-
-        gpio-leds {
-                compatible = "gpio-leds";
-                status {
-                        label = "d-link:green:status";
-                        gpios = <&gpio0 9 1>;
-                };
-                wps {
-                        label = "d-link:blue:wps";
-                        gpios = <&gpio0 13 1>;
-                };
-        };
-
-        gpio-keys-polled {
-                gpio-keys-polled {
-                compatible = "gpio-keys-polled";
-                #address-cells = <1>;
-                #size-cells = <0>;
-                poll-interval = <20>;
-                        reset {
-                                label = "reset";
-                                gpios = <&gpio0 10 1>;
-                                linux,code = <0x198>;
-                        };
-                        wps {
-                                label = "wps";
-                                gpios = <&gpio0 0 1>;
-                                linux,code = <0x211>;
-                        };
-                };
-        };
+       esw@10110000 {
+               ralink,portmap = <0x2f>;
+               ralink,led_polarity = <0x17>;
+       };
+
+       gpio-leds {
+               compatible = "gpio-leds";
+
+               status {
+                       label = "d-link:green:status";
+                       gpios = <&gpio0 9 1>;
+               };
+
+               wps {
+                       label = "d-link:blue:wps";
+                       gpios = <&gpio0 13 1>;
+               };
+       };
+
+       gpio-keys-polled {
+               compatible = "gpio-keys-polled";
+               #address-cells = <1>;
+               #size-cells = <0>;
+               poll-interval = <20>;
+
+               reset {
+                       label = "reset";
+                       gpios = <&gpio0 10 1>;
+                       linux,code = <0x198>;
+               };
+
+               wps {
+                       label = "wps";
+                       gpios = <&gpio0 0 1>;
+                       linux,code = <0x211>;
+               };
+       };
 
        wmac@10180000 {
                status = "okay";
                ralink,mtd-eeprom = <&factory 0>;
        };
 };
-
index 8ec07c2..958fdee 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "d-link:green:status";
                        gpios = <&gpio0 9 1>;
                };
+
                usb {
                        label = "d-link:green:usb";
                        gpios = <&gpio0 14 1>;
                };
+
                wps {
                        label = "d-link:green:wps";
                        gpios = <&gpio0 13 1>;
        };
 
        gpio-keys-polled {
-               gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
-                       reset {
-                               label = "reset";
-                               gpios = <&gpio0 10 1>;
-                               linux,code = <0x198>;
-                       };
-                       wps {
-                               label = "wps";
-                               gpios = <&gpio0 0 1>;
-                               linux,code = <0x211>;
-                       };
+
+               reset {
+                       label = "reset";
+                       gpios = <&gpio0 10 1>;
+                       linux,code = <0x198>;
+               };
+
+               wps {
+                       label = "wps";
+                       gpios = <&gpio0 0 1>;
+                       linux,code = <0x211>;
                };
        };
 
index 120a7fc..7201532 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "d-link:amber:status";
                        gpios = <&gpio0 8 1>;
                };
+
                status2 {
                        label = "d-link:green:status";
                        gpios = <&gpio0 9 1>;
                };
+
                wan {
                        label = "d-link:amber:wan";
                        gpios = <&gpio0 14 1>;
                };
+
                wan2 {
                        label = "d-link:green:wan";
                        gpios = <&gpio0 12 1>;
                };
+
                wps {
                        label = "d-link:blue:wps";
                        gpios = <&gpio0 13 1>;
index 70e4a50..0f05ad7 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "d-link:amber:status";
                        gpios = <&gpio0 8 1>;
                };
+
                status2 {
                        label = "d-link:green:status";
                        gpios = <&gpio0 9 1>;
                };
+
                wan {
                        label = "d-link:amber:wan";
                        gpios = <&gpio0 14 1>;
                };
+
                wan2 {
                        label = "d-link:green:wan";
                        gpios = <&gpio0 12 1>;
                };
+
                wps {
                        label = "d-link:blue:wps";
                        gpios = <&gpio0 13 1>;
index e345250..cd7b19d 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "d-link:green:status";
                        gpios = <&gpio0 9 1>;
                };
+
                wps {
                        label = "d-link:green:wps";
                        gpios = <&gpio0 13 1>;
        };
 
        gpio-keys-polled {
-               gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
-                       reset {
-                               label = "reset";
-                               gpios = <&gpio0 10 1>;
-                               linux,code = <0x198>;
-                       };
-                       wps {
-                               label = "wps";
-                               gpios = <&gpio0 0 1>;
-                               linux,code = <0x211>;
-                       };
+
+               reset {
+                       label = "reset";
+                       gpios = <&gpio0 10 1>;
+                       linux,code = <0x198>;
+               };
+
+               wps {
+                       label = "wps";
+                       gpios = <&gpio0 0 1>;
+                       linux,code = <0x211>;
                };
        };
 };
index 1a67b2d..d95c077 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "d-link:amber:status";
                        gpios = <&gpio0 8 1>;
                };
+
                status2 {
                        label = "d-link:green:status";
                        gpios = <&gpio0 9 1>;
                };
+
                wan {
                        label = "d-link:amber:wan";
                        gpios = <&gpio0 14 1>;
                };
+
                wan2 {
                        label = "d-link:green:wan";
                        gpios = <&gpio0 12 1>;
                };
+
                wps {
                        label = "d-link:blue:wps";
                        gpios = <&gpio0 13 1>;
index 1165ff1..e76d6ee 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                                ralink,group = "i2c", "jtag", "uartf";
                                ralink,function = "gpio";
                        };
+
                        rgmii {
                                ralink,group = "rgmii";
                                ralink,function = "rgmii";
                        };
+
                        mdio {
                                ralink,group = "mdio";
                                ralink,function = "mdio";
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "d-link:amber:status";
                        gpios = <&gpio0 7 0>;
                };
+
                status2 {
                        label = "d-link:green:status";
                        gpios = <&gpio0 9 0>;
                };
+
                wan {
                        label = "d-link:amber:wan";
                        gpios = <&gpio0 12 1>;
                };
+
                wan2 {
                        label = "d-link:green:wan";
                        gpios = <&gpio0 13 1>;
                };
+
                wps {
                        label = "d-link:blue:wps";
                        gpios = <&gpio0 14 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
index 1ffa829..1655982 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "d-link:amber:status";
                        gpios = <&gpio0 8 1>;
                };
+
                status2 {
                        label = "d-link:green:status";
                        gpios = <&gpio0 9 1>;
                };
+
                wan {
                        label = "d-link:amber:wan";
                        gpios = <&gpio0 14 1>;
                };
+
                wan2 {
                        label = "d-link:green:wan";
                        gpios = <&gpio0 12 1>;
                };
+
                wps {
                        label = "d-link:blue:wps";
                        gpios = <&gpio0 13 0>;
                };
+
                wps2 {
                        label = "d-link:amber:wps";
                        gpios = <&gpio0 11 0>;
index e4eeb3e..8a5b057 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                                ralink,group = "i2c", "jtag", "uartf";
                                ralink,function = "gpio";
                        };
+
                        rgmii {
                                ralink,group = "rgmii";
                                ralink,function = "rgmii";
                        };
+
                        mdio {
                                ralink,group = "mdio";
                                ralink,function = "mdio";
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "d-link:green:status";
                        gpios = <&gpio0 9 1>;
                };
+
                wifi {
                        label = "d-link:green:wifi";
                        gpios = <&gpio0 17 1>;
@@ -89,6 +94,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 7 1>;
index 60e7f46..ab83901 100644 (file)
                                reg = <0 0>;
                                linux,modalias = "m25p80";
                                spi-max-frequency = <25000000>;
+
                                partition@0 {
                                        label = "uboot";
                                        reg = <0x0 0x30000>;
                                        read-only;
                                };
+
                                partition@30000 {
                                        label = "uboot-env";
                                        reg = <0x30000 0x4000>;
                                        read-only;
                                };
+
                                factory: partition@34000 {
                                        label = "factory";
                                        reg = <0x34000 0x4000>;
                                        read-only;
                                };
+
                                partition@38000 {
                                        label = "nvram";
                                        reg = <0x38000 0x8000>;
                                        read-only;
                                };
+
                                partition@40000 {
                                        label = "devdata";
                                        reg = <0x40000 0x10000>;
                                };
+
                                partition@50000 {
                                        label = "firmware";
                                        reg = <0x50000 0x7b0000>;
@@ -64,6 +70,7 @@
 
        ethernet@10100000 {
                mtd-mac-address = <&factory 0x4>;
+
                port@0 {
                        ralink,fixed-link = <1000 1 1 0>;
                };
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <100>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 9 0>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 14 0>;
                        label = "d-link:green:inet";
                        gpios = <&gpio0 0 1>;
                };
+
                wps {
                        label = "d-link:green:wps";
                        gpios = <&gpio1 2 0>;
        gpio_export {
                compatible = "gpio-export";
                #size-cells = <0>;
+
                usb {
                        gpio-export,name = "usb";
                        gpio-export,output = <1>;
index dd0d39c..ae74500 100644 (file)
@@ -84,7 +84,6 @@
 
        gsw@10110000 {
                ralink,port4 = "ephy";
-
                pinctrl-names = "default";
                pinctrl-0 = <&ephy_pins>;
        };
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
                        linux,code = <0x100>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 2 1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "d-link:green:power";
                        gpios = <&gpio0 9 0>;
                };
+
                wan {
                        label = "d-link:orange:wan";
                        gpios = <&gpio0 12 0>;
                };
+
                status {
                        label = "d-link:orange:power";
                        gpios = <&gpio0 13 0>;
index 23ec114..cae93c4 100644 (file)
@@ -76,6 +76,7 @@
                                mediatek,2ghz = <0>;
                        };
                };
+
                pcie1 {
                        mt76@1,0 {
                                reg = <0x0000 0 0 0 0>;
index c9d03cd..7689b17 100644 (file)
@@ -65,9 +65,7 @@
 
        ethernet@10100000 {
                status = "okay";
-
                mtd-mac-address = <&factory 0x28>;
-
                pinctrl-names = "default";
                pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
 
                                reg = <0>;
                                phy-mode = "rgmii";
                        };
+
                        phy1: ethernet-phy@1 {
                                reg = <1>;
                                phy-mode = "rgmii";
                        };
+
                        phy2: ethernet-phy@2 {
                                reg = <2>;
                                phy-mode = "rgmii";
                        };
+
                        phy3: ethernet-phy@3 {
                                reg = <3>;
                                phy-mode = "rgmii";
                        };
+
                        phy4: ethernet-phy@4 {
                                reg = <4>;
                                phy-mode = "rgmii";
                        };
+
                        phy1f: ethernet-phy@1f {
                                reg = <0x1f>;
                                phy-mode = "rgmii";
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 0>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 2 0>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "linksys:green:power";
                        gpios = <&gpio0 10 1>;
                };
+
                wan {
                        label = "linksys:green:wps";
                        gpios = <&gpio0 12 1>;
index 444ce93..b0f9046 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "esr-9753:orange:power";
                        gpios = <&gpio0 8 1>;
                };
+
                wps {
                        label = "esr-9753:orange:wps";
                        gpios = <&gpio0 14 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
index 2e88abd..2f51025 100644 (file)
@@ -26,7 +26,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
                        reg = <0x0 0x30000>;
                        read-only;
                };
+
                partition@30000 {
                        label = "uboot-env";
                        reg = <0x30000 0x10000>;
                        read-only;
                };
+
                factory: partition@40000 {
                        label = "factory";
                        reg = <0x40000 0x10000>;
                        read-only;
                };
+
                partition@50000 {
                        label = "linux";
                        reg = <0x50000 0x3b0000>;
@@ -57,7 +59,7 @@
                status = "okay";
                mtd-mac-address = <&factory 0x4>;
 
-                port@0 {
+               port@0 {
                        ralink,fixed-link = <1000 1 1 1>;
                };
        };
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <100>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x211>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 9 1>;
                        label = "f5d8235-v1:blue:storage";
                        gpios = <&gpio0 7 1>;
                };
+
                storage2 {
                        label = "f5d8235-v1:orange:storage";
                        gpios = <&gpio0 8 1>;
index 792249c..45f7d69 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                internet {
                        label = "f5d8235v2:blue:internet";
                        gpios = <&gpio0 5 1>;
                };
+
                internet2 {
                        label = "f5d8235v2:amber:internet";
                        gpios = <&gpio0 6 1>;
                };
+
                modem {
                        label = "f5d8235v2:blue:modem";
                        gpios = <&gpio0 11 1>;
                };
+
                modem2 {
                        label = "f5d8235v2:amber:modem";
                        gpios = <&gpio0 8 1>;
                };
+
                router {
                        label = "f5d8235v2:blue:router";
                        gpios = <&gpio0 9 1>;
                };
+
                storage {
                        label = "f5d8235v2:blue:storage";
                        gpios = <&gpio0 23 1>;
                };
+
                storage2 {
                        label = "f5d8235v2:amber:storage";
                        gpios = <&gpio0 22 1>;
                };
+
                security {
                        label = "f5d8235v2:blue:security";
                        gpios = <&gpio0 13 1>;
                };
+
                security2 {
                        label = "f5d8235v2:amber:security";
                        gpios = <&gpio0 12 1>;
index f660ff8..874d606 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "belkin:blue:status";
                        gpios = <&gpio0 7 1>;
                };
+
                power {
                        label = "belkin:blue:power";
                        gpios = <&gpio0 9 1>;
                };
+
                orange {
                        label = "belkin:orange:status";
                        gpios = <&gpio0 11 1>;
                };
+
                relay {
                        label = "belkin:device:relay";
                        gpios = <&gpio0 13 0>;
                };
        };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                top {
                        label = "top";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                power {
                        label = "power";
                        gpios = <&gpio0 12 1>;
                        linux,code = <0x100>;
                };
+
                sensor {
                        label = "sensor";
                        gpios = <&gpio0 14 1>;
index bfe1456..b72066a 100644 (file)
@@ -53,7 +53,6 @@
                                        label = "firmware";
                                        reg = <0x50000 0xfb0000>;
                                };
-
                        };
                };
        };
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 18 1>;
                        linux,code = <0x211>;
                };
+
                power {
                        label = "power";
                        gpios = <&gpio0 23 1>;
 
        pinctrl {
                state_default: pinctrl0 {
-               gpio {
+                       gpio {
                                ralink,group = "wdt", "rgmii2";
                                ralink,function = "gpio";
                        };
index 2e01457..d3479b1 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wifi {
                        label = "fonera20n:orange:wifi";
                        gpios = <&gpio0 7 1>;
                };
+
                power {
                        label = "fonera20n:green:power";
                        gpios = <&gpio0 9 1>;
                };
+
                usb {
                        label = "fonera20n:orange:usb";
                        gpios = <&gpio0 14 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 12 1>;
                        linux,code = <0x198>;
                };
+
                switch {
                        label = "switch";
                        gpios = <&gpio0 13 1>;
                        swconfig,segment = "lan";
                        swconfig,portmap = <0 4>;
                };
+
                port@1 {
                        compatible = "swconfig,port";
                        swconfig,segment = "lan";
                        swconfig,portmap = <1 3>;
                };
+
                port@2 {
                        compatible = "swconfig,port";
                        swconfig,segment = "lan";
                        swconfig,portmap = <2 2>;
                };
+
                port@3 {
                        compatible = "swconfig,port";
                        swconfig,segment = "lan";
                        swconfig,portmap = <3 1>;
                };
+
                port@4 {
                        compatible = "swconfig,port";
                        swconfig,segment = "wan";
index e2c8d72..1febfb5 100644 (file)
@@ -22,7 +22,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
@@ -70,6 +69,7 @@
 
        gpio-export {
                compatible = "gpio-export";
+
                // Used to enable power-over-ethernet passthrough from port0 to port1.
                // Disable passthrough by default to prevent accidental equipment damage.
                poe {
 
        gpio-leds {
                compatible = "gpio-leds";
+
                // The following leds are defined in the ArcOS firmware, but reportedly
                // not present in the Freestation5 device.
                wifi {
                        label = "freestation:unknown:wifi";
                        gpios = <&gpio0 7 1>;
                };
+
                powerg {
                        label = "freestation:unknown:powerg";
                        gpios = <&gpio0 9 1>;
                };
+
                usb {
                        label = "freestation:unknown:usb";
                        gpios = <&gpio0 14 1>;
index 41b7ddd..2aa3cc9 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x1000000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "hg255d:power";
                        gpios = <&gpio0 8 1>;
                };
+
                internet {
                        label = "hg255d:internet";
                        gpios = <&gpio0 13 1>;
                };
+
                wifi {
                        label = "hg255d:wlan";
                        gpios = <&gpio0 14 1>;
                };
+
                usb {
                        label = "hg255d:usb";
                        gpios = <&gpio0 9 1>;
                };
+
                wps {
                        label = "hg255d:wps";
                        gpios = <&gpio0 12 1>;
                };
+
                voice {
                        label = "hg255d:voice";
                        gpios = <&gpio0 5 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <10>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 4 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x211>;
                };
+
                rfkill {
                        label = "rfkill";
                        gpios = <&gpio0 0 1>;
index 13597dc..e4a652e 100644 (file)
@@ -22,6 +22,7 @@
 
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
@@ -86,6 +87,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "reset";
                        gpios = <&gpio0 14 1>;
@@ -95,6 +97,7 @@
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "hlk-rm04:red:power";
                        gpios = <&gpio0 0 1>;
index 40d9e01..72feaa9 100644 (file)
                gpio0: gpio@600 {
                        status = "okay";
                };
+
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                                reg = <0 0>;
                                linux,modalias = "m25p80", "mx25l6405d";
                                spi-max-frequency = <10000000>;
+
                                partition@0 {
                                        label = "u-boot";
                                        reg = <0x0 0x30000>;
                                        read-only;
                                };
+
                                partition@30000 {
                                        label = "u-boot-env";
                                        reg = <0x30000 0x10000>;
                                        read-only;
                                };
+
                                factory: partition@40000 {
                                        label = "factory";
                                        reg = <0x40000 0x10000>;
                                        read-only;
                                };
+
                                partition@50000 {
                                        label = "firmware";
                                        reg = <0x50000 0x7b0000>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wlan {
                        label = "ht-tm02:blue:wlan";
                        gpios = <&gpio0 7 1>;
                };
+
                lan {
                        label = "ht-tm02:green:lan";
                        gpios = <&gpio0 12 1>;
                };
-
        };
 
        gpio-keys-polled {
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                modeswitch {
                        label = "modeswitch";
                        gpios = <&gpio0 14 1>;
index 9cd09c4..8dbd82b 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                usb {
                        label = "hw550-3g:green:usb";
                        gpios = <&gpio0 8 1>;
                };
+
                3g {
                        label = "hw550-3g:green:3g";
                        gpios = <&gpio0 11 1>;
                };
+
                status {
                        label = "hw550-3g:green:status";
                        gpios = <&gpio0 12 1>;
                };
+
                wps {
                        label = "hw550-3g:green:wps";
                        gpios = <&gpio0 14 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                connect {
                        label = "connect";
                        gpios = <&gpio0 7 1>;
                        linux,code = <0xda>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
index 47cbb97..9eecad6 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                run {
                        label = "ip2202:green:run";
                        gpios = <&gpio0 9 1>;
                };
+
                net {
                        label = "ip2202:amber:net";
                        gpios = <&gpio0 13 1>;
@@ -73,6 +74,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
index 4191037..dbe36da 100644 (file)
@@ -13,6 +13,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wifi {
                        label = "m2m:blue:wifi";
                        gpios = <&gpio0 7 1>;
                };
+
                wan {
                        label = "m2m:green:wan";
                        gpios = <&gpio0 12 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                power {
                        label = "power";
                        gpios = <&gpio0 1 1>;
                        linux,code = <0x116>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
index f3c3aa4..c10bf3b 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
@@ -63,6 +64,7 @@
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "m3:blue:status";
                        gpios = <&gpio0 9 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                mode {
                        label = "mode";
                        gpios = <&gpio0 17 1>;
index 2d2ebc4..2443187 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
@@ -63,6 +64,7 @@
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "m4:blue:status";
                        gpios = <&gpio0 9 1>;
@@ -74,6 +76,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
index 23d8449..e7e5058 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
@@ -63,6 +64,7 @@
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "m4:blue:status";
                        gpios = <&gpio0 9 1>;
@@ -74,6 +76,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
index 83467dc..1c41f6c 100644 (file)
@@ -56,7 +56,6 @@
                                partition@fb0000 {
                                        label = "user-config";
                                        reg = <0xfb0000 0x50000>;
-
                                };
                        };
                };
 
        gpio-leds {
                compatible = "gpio-leds";
+
                system {
                        label = "kingston:blue:system";
                        gpios = <&gpio2 3 1>;
                };
+
                wifi {
                        label = "kingston:blue:wifi";
                        gpios = <&gpio3 0 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
                        linux,code = <0x198>;
                };
+
                system {
                        label = "system";
                        gpios = <&gpio0 2 1>;
index a2b0033..c1b5276 100644 (file)
 
        gpio-leds {
                compatible = "gpio-leds";
+
                system {
                        label = "kingston:blue:system";
                        gpios = <&gpio2 3 1>;
                };
+
                wifi {
                        label = "kingston:blue:wifi";
                        gpios = <&gpio3 0 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
                        linux,code = <0x198>;
                };
+
                system {
                        label = "system";
                        gpios = <&gpio0 2 1>;
index b988dd0..27c9e83 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                usb {
                        label = "mofi3500-3gn:green:usb";
                        gpios = <&gpio0 8 1>;
                };
+
                3g {
                        label = "mofi3500-3gn:green:3g";
                        gpios = <&gpio0 11 1>;
                };
+
                status {
                        label = "mofi3500-3gn:green:status";
                        gpios = <&gpio0 12 1>;
                };
+
                wps {
                        label = "mofi3500-3gn:green:wps";
                        gpios = <&gpio0 14 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                connect {
                        label = "connect";
                        gpios = <&gpio0 7 1>;
                        linux,code = <0xda>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
index 58f36fe..1389b80 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
@@ -41,6 +42,7 @@
                                };
                        };
                };
+
                gpio1: gpio@660 {
                        status = "okay";
                };
 
        gpio-leds {
                compatible = "gpio-leds";
+
                system {
                        label = "hame:blue:system";
                        gpios = <&gpio0 20 1>;
                };
+
                power {
                        label = "hame:red:power";
                        gpios = <&gpio0 17 1>;
@@ -92,6 +96,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "reset";
                        gpios = <&gpio0 0 1>;
                        gpio-export,output = <1>;
                        gpios = <&gpio0 7 0>;
                };
+
                root_hub {
                        gpio-export,name = "root_hub";
                        gpio-export,output = <1>;
index 4f5e1c3..849e911 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                system {
                        label = "hame:blue:system";
                        gpios = <&gpio0 20 1>;
                };
+
                power {
                        label = "hame:red:power";
                        gpios = <&gpio0 17 1>;
@@ -89,6 +92,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "reset";
                        gpios = <&gpio0 0 1>;
                        gpio-export,output = <1>;
                        gpios = <&gpio0 7 0>;
                };
+
                root_hub {
                        gpio-export,name = "root_hub";
                        gpio-export,output = <1>;
index c2a6e24..3c392e4 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                usb {
                        label = "mr-102n:green:usb";
                        gpios = <&gpio0 8 1>;
                };
+
                status {
                        label = "mr-102n:amber:status";
                        gpios = <&gpio0 9 1>;
                };
+
                wlan {
                        label = "mr-102n:green:wlan";
                        gpios = <&gpio0 11 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 13 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 18 1>;
index 826441e..71b30bd 100644 (file)
 
        ethernet@10100000 {
                status = "okay";
-
                pinctrl-names = "default";
                pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
-
                ralink,port-map = "llllw";
 
                port@4 {
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                s2 {
                        label = "S2";
                        gpios = <&gpio0 1 1>;
                        linux,code = <0x100>;
                };
+
                s3 {
                        label = "S3";
                        gpios = <&gpio0 2 1>;
index 4f31144..ac01fd2 100644 (file)
 
        ethernet@10100000 {
                status = "okay";
-
                pinctrl-names = "default";
                pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
-
                ralink,port-map = "llllw";
 
                port@5 {
                                reg = <0>;
                                phy-mode = "rgmii";
                        };
+
                        phy1: ethernet-phy@1 {
                                reg = <1>;
                                phy-mode = "rgmii";
                        };
+
                        phy2: ethernet-phy@2 {
                                reg = <2>;
                                phy-mode = "rgmii";
                        };
+
                        phy3: ethernet-phy@3 {
                                reg = <3>;
                                phy-mode = "rgmii";
                        };
+
                        phy4: ethernet-phy@4 {
                                reg = <4>;
                                phy-mode = "rgmii";
                        };
+
                        phy1f: ethernet-phy@1f {
                                reg = <0x1f>;
                                phy-mode = "rgmii";
index 4cff8dc..ba57fae 100644 (file)
 
        ethernet@10100000 {
                status = "okay";
-
                pinctrl-names = "default";
                pinctrl-0 = <&ephy_pins>;
-
                ralink,port-map = "llllw";
        };
 
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 12 1>;
                        linux,code = <0x100>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 13 1>;
index cec912d..ef30195 100644 (file)
@@ -6,9 +6,6 @@
        compatible = "ralink,mt7620a-eval-board", "ralink,mt7620a-soc";
        model = "Ralink MT7620a V22SG High Power evaluation board";
 
-       /*palmbus@10000000 {
-       };*/
-
        pinctrl {
                state_default: pinctrl0 {
                        gpio {
 
        ethernet@10100000 {
                status = "okay";
-
                pinctrl-names = "default";
                pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
-
                ralink,port-map = "llllw";
 
                port@4 {
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
                        linux,code = <0x198>;
                };
+
                aoss {
                        label = "aoss";
                        gpios = <&gpio0 2 1>;
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "mtk,mt7620-nand";
+
                partition@0 {
                        label = "u-boot";
                        reg = <0x0 0x40000>;
                        read-only;
                };
+
                partition@40000 {
                        label = "u-boot-env";
                        reg = <0x40000 0x20000>;
                        read-only;
                };
+
                factory: partition@60000 {
                        label = "factory";
                        reg = <0x60000 0x20000>;
                        read-only;
                };
+
                partition@80000 {
                        label = "firmware";
                        reg = <0x80000 0x7f80000>;
index ff664ac..2502874 100644 (file)
@@ -60,7 +60,6 @@
        ethernet@10100000 {
                pinctrl-names = "default";
                pinctrl-0 = <&ephy_pins>;
-
                mtd-mac-address = <&factory 0x4>;
                ralink,port-map = "llllw";
        };
        
        gpio-leds {
                compatible = "gpio-leds";
+
                wps {
                        label = "mzk750:green:wps";
                        gpios = <&gpio1 11 1>;
                };
+
                power {
                        label = "mzk750:green:power";
                        gpios = <&gpio1 15 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                s1 {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
                        linux,code = <0x100>;
                };
+
                s2 {
                        label = "wps";
                        gpios = <&gpio0 2 1>;
index ae986f7..4b7b925 100644 (file)
@@ -78,6 +78,7 @@
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "mzkdp150n:green:power";
                        gpios = <&gpio0 9 1>;
@@ -89,6 +90,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
index 790092e..7195253 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "mzkw300nh2:green:power";
                        gpios = <&gpio0 9 1>;
                };
+
                wlan {
                        label = "mzkw300nh2:amber:wlan";
                        gpios = <&gpio0 14 1>;
                };
+
                wps {
                        label = "mzkw300nh2:amber:wps";
                        gpios = <&gpio0 11 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 12 1>;
                        linux,code = <0x211>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x198>;
                };
+
                rt {
                        label = "rt";
                        gpios = <&gpio0 13 1>;
index f6e81dd..ac660d4 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 2 1>;
                        linux,code = <0x211>;
                };
        };
-   };
+};
index 6fe9964..4397b2c 100644 (file)
@@ -16,6 +16,7 @@
                                ralink,group = "i2c", "rgmii2", "spi", "ephy";
                                ralink,function = "gpio";
                        };
+
                        uartf_gpio {
                                ralink,group = "uartf";
                                ralink,function = "gpio uartf";
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "mtk,mt7620-nand";
+
                partition@0 {
                        label = "u-boot";
                        reg = <0x0 0x20000>;
                        read-only;
                };
+
                partition@200000 {
                        label = "factory";
                        reg = <0x200000 0x40000>;
                        read-only;
                };
+
                partition@240000 {
                        label = "Config";
                        reg = <0x240000 0x400000>;
                        read-only;
                };
+
                partition@640000 {
                        label = "firmware";
                        reg = <0x640000 0x1400000>;
 
        ethernet@10100000 {
                status = "okay";
-
                pinctrl-names = "default";
                pinctrl-0 = <&rgmii1_pins &mdio_pins>;
-
                ralink,port-map = "llllw";
 
                port@4 {
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 11 1>;
                        linux,code = <0x198>;
                };
+
                zwave {
                        label = "zwave";
                        gpios = <&gpio0 12 1>;
                        linux,code = <0x100>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 14 1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                zwave {
                        label = "na930:blue:zwave";
                        gpios = <&gpio2 0 1>;
                };
+
                status {
                        label = "na930:blue:status";
                        gpios = <&gpio2 26 1>;
                };
+
                service {
                        label = "na930:blue:service";
                        gpios = <&gpio2 28 1>;
                };
+
                power {
                        label = "na930:blue:power";
                        gpios = <&gpio2 29 1>;
index 1a826bd..50a12cb 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "nbg-419n:green:power";
                        gpios = <&gpio0 9 1>;
                };
+
                wps {
                        label = "nbg-419n:green:wps";
                        gpios = <&gpio0 14 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
index 9f3121b..dfc47b2 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
        ohci@101c1000 {
                status = "okay";
        };
-
-/*     gpio-leds {
-               compatible = "gpio-leds";
-               system {
-                       label = "mpr-a1:blue:system";
-                       gpios = <&gpio0 20 1>;
-               };
-               power {
-                       label = "mpr-a1:red:power";
-                       gpios = <&gpio0 17 1>;
-               };
-       };
-
-       gpio-keys-polled {
-               compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
-               poll-interval = <20>;
-               wps {
-                       label = "reset";
-                       gpios = <&gpio0 0 1>;
-                       linux,code = <0x198>;
-               };
-       };
-
-       gpio_export {
-               compatible = "gpio-export";
-               #size-cells = <0>;
-
-               usb {
-                       gpio-export,name = "usb";
-                       gpio-export,output = <1>;
-                       gpios = <&gpio0 7 0>;
-               };
-               root_hub {
-                       gpio-export,name = "root_hub";
-                       gpio-export,output = <1>;
-                       gpios = <&gpio0 12 0>;
-               };
-       }; */
 };
index fa49bf1..f6411c8 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                cpu {
                        label = "nw718:amber:cpu";
                        gpios = <&gpio0 13 1>;
                };
+
                usb {
                        label = "nw718:amber:usb";
                        gpios = <&gpio0 8 1>;
                };
+
                wps {
                        label = "nw718:amber:wps";
                        gpios = <&gpio0 14 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
index a644d4a..0a7d748 100644 (file)
 /include/ "rt5350.dtsi"
 
 / {
-        compatible = "RT5350F-OLINUXINO", "ralink,rt5350-soc";
-        model = "RT5350F-OLINUXINO";
-
-        palmbus@10000000 {
-                spi@b00 {
-                        status = "okay";
-                        m25p80@0 {
-                                #address-cells = <1>;
-                                #size-cells = <1>;
-                                compatible = "s25fl064k";
-                                reg = <0 0>;
-                                linux,modalias = "m25p80", "s25fl064k";
-                                spi-max-frequency = <10000000>;
-
-                                partition@0 {
-                                        label = "u-boot";
-                                        reg = <0x0 0x30000>;
-                                        read-only;
-                                };
-
-                                partition@30000 {
-                                        label = "u-boot-env";
-                                        reg = <0x30000 0x10000>;
-                                        read-only;
-                                };
-
-                                factory: partition@40000 {
-                                        label = "factory";
-                                        reg = <0x40000 0x10000>;
-                                        read-only;
-                                };
-
-                                partition@50000 {
-                                        label = "firmware";
-                                        reg = <0x50000 0x3b0000>;
-                                };
-                        };
-                };
-                gpio1: gpio@660 {
-                        status = "okay";
-                };
-        };
-
-        pinctrl {
-                state_default: pinctrl0 {
-                        gpio {
-                                ralink,group = "jtag", "rgmii", "mdio", "uartf";
-                                ralink,function = "gpio";
-                        };
-                };
-        };
-
-        ethernet@10100000 {
-                mtd-mac-address = <&factory 0x4>;
-        };
-
-        esw@10110000 {
-                ralink,portmap = <0x2f>;
-                ralink,led_polarity = <0x17>;
-        };
-
-        wmac@10180000 {
-                ralink,mtd-eeprom = <&factory 0>;
-        };
-
-        ehci@101c0000 {
-                status = "okay";
-        };
-
-        ohci@101c1000 {
-                status = "okay";
-        };
-
-        gpio_export {
-                compatible = "gpio-export";
-                #size-cells = <0>;
-
-                relay1 {
-                        gpio-export,name = "gpio12";
-                        gpio-export,output = <0>;
-                        gpios = <&gpio0 12 0>;
-                };
-
-                relay2 {
-                        gpio-export,name = "gpio14";
-                        gpio-export,output = <0>;
-                        gpios = <&gpio0 14 0>;
-                };
-
-                button {
-                        gpio-export,name = "button";
-                        gpios = <&gpio0 0 1>;
-                };
-
-        };
+       compatible = "RT5350F-OLINUXINO", "ralink,rt5350-soc";
+       model = "RT5350F-OLINUXINO";
+
+       palmbus@10000000 {
+               spi@b00 {
+                       status = "okay";
+
+                       m25p80@0 {
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               compatible = "s25fl064k";
+                               reg = <0 0>;
+                               linux,modalias = "m25p80", "s25fl064k";
+                               spi-max-frequency = <10000000>;
+
+                               partition@0 {
+                                       label = "u-boot";
+                                       reg = <0x0 0x30000>;
+                                       read-only;
+                               };
+
+                               partition@30000 {
+                                       label = "u-boot-env";
+                                       reg = <0x30000 0x10000>;
+                                       read-only;
+                               };
+
+                               factory: partition@40000 {
+                                       label = "factory";
+                                       reg = <0x40000 0x10000>;
+                                       read-only;
+                               };
+
+                               partition@50000 {
+                                       label = "firmware";
+                                       reg = <0x50000 0x3b0000>;
+                               };
+                       };
+               };
+
+               gpio1: gpio@660 {
+                       status = "okay";
+               };
+       };
+
+       pinctrl {
+               state_default: pinctrl0 {
+                       gpio {
+                               ralink,group = "jtag", "rgmii", "mdio", "uartf";
+                               ralink,function = "gpio";
+                       };
+               };
+       };
+
+       ethernet@10100000 {
+               mtd-mac-address = <&factory 0x4>;
+       };
+
+       esw@10110000 {
+               ralink,portmap = <0x2f>;
+               ralink,led_polarity = <0x17>;
+       };
+
+       wmac@10180000 {
+               ralink,mtd-eeprom = <&factory 0>;
+       };
+
+       ehci@101c0000 {
+               status = "okay";
+       };
+
+       ohci@101c1000 {
+               status = "okay";
+       };
+
+       gpio_export {
+               compatible = "gpio-export";
+               #size-cells = <0>;
+
+               relay1 {
+                       gpio-export,name = "gpio12";
+                       gpio-export,output = <0>;
+                       gpios = <&gpio0 12 0>;
+               };
+
+               relay2 {
+                       gpio-export,name = "gpio14";
+                       gpio-export,output = <0>;
+                       gpios = <&gpio0 14 0>;
+               };
+
+               button {
+                       gpio-export,name = "button";
+                       gpios = <&gpio0 0 1>;
+               };
+       };
 };
index 984e701..a259693 100644 (file)
@@ -3,77 +3,78 @@
 /include/ "rt5350.dtsi"
 
 / {
-        compatible = "RT5350F-OLINUXINO", "ralink,rt5350-soc";
-        model = "RT5350F-OLINUXINO";
+       compatible = "RT5350F-OLINUXINO", "ralink,rt5350-soc";
+       model = "RT5350F-OLINUXINO";
 
-        palmbus@10000000 {
-                spi@b00 {
-                        status = "okay";
-                        m25p80@0 {
-                                #address-cells = <1>;
-                                #size-cells = <1>;
-                                compatible = "s25fl064k";
-                                reg = <0 0>;
-                                linux,modalias = "m25p80", "s25fl064k";
-                                spi-max-frequency = <10000000>;
+       palmbus@10000000 {
+               spi@b00 {
+                       status = "okay";
 
-                                partition@0 {
-                                        label = "u-boot";
-                                        reg = <0x0 0x30000>;
-                                        read-only;
-                                };
+                       m25p80@0 {
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               compatible = "s25fl064k";
+                               reg = <0 0>;
+                               linux,modalias = "m25p80", "s25fl064k";
+                               spi-max-frequency = <10000000>;
 
-                                partition@30000 {
-                                        label = "u-boot-env";
-                                        reg = <0x30000 0x10000>;
-                                        read-only;
-                                };
+                               partition@0 {
+                                       label = "u-boot";
+                                       reg = <0x0 0x30000>;
+                                       read-only;
+                               };
 
-                                factory: partition@40000 {
-                                        label = "factory";
-                                        reg = <0x40000 0x10000>;
-                                        read-only;
-                                };
+                               partition@30000 {
+                                       label = "u-boot-env";
+                                       reg = <0x30000 0x10000>;
+                                       read-only;
+                               };
 
-                                partition@50000 {
-                                        label = "firmware";
-                                        reg = <0x50000 0x3b0000>;
-                                };
-                        };
-                };
-                gpio1: gpio@660 {
-                        status = "okay";
-                };
-        };
+                               factory: partition@40000 {
+                                       label = "factory";
+                                       reg = <0x40000 0x10000>;
+                                       read-only;
+                               };
 
-        pinctrl {
-                state_default: pinctrl0 {
-                        gpio {
-                                ralink,group = "jtag", "rgmii", "mdio", "uartf";
-                                ralink,function = "gpio";
-                        };
-                };
-        };
+                               partition@50000 {
+                                       label = "firmware";
+                                       reg = <0x50000 0x3b0000>;
+                               };
+                       };
+               };
 
-        ethernet@10100000 {
-                mtd-mac-address = <&factory 0x4>;
-        };
+               gpio1: gpio@660 {
+                       status = "okay";
+               };
+       };
 
-        esw@10110000 {
-                ralink,portmap = <0x2f>;
-                ralink,led_polarity = <0x17>;
-        };
+       pinctrl {
+               state_default: pinctrl0 {
+                       gpio {
+                               ralink,group = "jtag", "rgmii", "mdio", "uartf";
+                               ralink,function = "gpio";
+                       };
+               };
+       };
 
-        wmac@10180000 {
-                ralink,mtd-eeprom = <&factory 0>;
-        };
+       ethernet@10100000 {
+               mtd-mac-address = <&factory 0x4>;
+       };
 
-        ehci@101c0000 {
-                status = "okay";
-        };
+       esw@10110000 {
+               ralink,portmap = <0x2f>;
+               ralink,led_polarity = <0x17>;
+       };
 
-        ohci@101c1000 {
-                status = "okay";
-        };
+       wmac@10180000 {
+               ralink,mtd-eeprom = <&factory 0>;
+       };
 
+       ehci@101c0000 {
+               status = "okay";
+       };
+
+       ohci@101c1000 {
+               status = "okay";
+       };
 };
index 4f4ecd4..9540f4f 100644 (file)
@@ -18,7 +18,6 @@
                                compatible = "macronix,mx25l12805d";
                                spi-max-frequency = <25000000>;
                                reg = <0>;
-
                                #address-cells = <1>;
                                #size-cells = <1>;
 
@@ -88,6 +87,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <100>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 14 0>;
                        label = "emb:orange:power";
                        gpios = <&gpio0 7 1>;
                };
+
                status {
                        label = "emb:green:status";
                        gpios = <&gpio0 21 1>;
                };
+
                eth {
                        label = "emb:green:eth";
                        gpios = <&gpio0 20 1>;
                };
+
                eth2 {
                        label = "emb:red:eth";
                        gpios = <&gpio0 18 1>;
                };
+
                wifi {
                        label = "emb:green:wifi";
                        gpios = <&gpio0 17 1>;
                };
+
                wifi2 {
                        label = "emb:red:wifi";
                        gpios = <&gpio0 19 1>;
                compatible = "gpio-export";
                #size-cells = <0>;
                /* gpio 12 and 13 handle the OC input */
+
                usb0 {
                        gpio-export,name = "usb0";
                        gpio-export,output = <1>;
                        gpios = <&gpio0 2 0>;
                };
+
                usb1 {
                        gpio-export,name = "usb1";
                        gpio-export,output = <1>;
index d7c5c8a..aa3ddc4 100644 (file)
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "emb:green:status";
                        gpios = <&gpio0 9 1>;
                };
+
                wlan {
                        label = "emb:green:wlan";
                        gpios = <&gpio0 14 1>;
@@ -32,6 +34,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 12 1>;
@@ -42,7 +45,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
index ede0252..25f5bca 100644 (file)
@@ -5,7 +5,7 @@
 / {
        compatible = "OMNI-PLUG", "ralink,rt5350-soc";
        model = "Omnima MiniPlug";
-       
+
        pinctrl {
                state_default: pinctrl0 {
                        gpio {
                        };
                };
        };
-       
+
        gpio-leds {
                compatible = "gpio-leds";
+
                wlan {
                        label = "miniplug:red:wlan";
                        gpios = <&gpio0 9 0>;
                };
+
                mobile {
                        label = "miniplug:green:mobile";
                        gpios = <&gpio0 13 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x211>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x211>;
                };
+
                mode-one {
                        label = "mode1";
                        gpios = <&gpio0 11 1>;
                        linux,code = <0x211>;
                };
+
                mode-two {
                        label = "mode2";
                        gpios = <&gpio0 12 1>;
@@ -61,6 +67,7 @@
 
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                        };
                };
        };
-       
+
        ethernet@10100000 {
                mtd-mac-address = <&factory 0x4>;
        };
        wmac@10180000 {
                ralink,mtd-eeprom = <&factory 0>;
        };
-       
+
        otg@101c0000 {
                status = "okay";
        };
index 48b7099..b008afd 100644 (file)
@@ -6,9 +6,9 @@
        compatible = "ralink,mt7620a-soc";
        model = "OY-0001";
 
-        chosen {
-                bootargs = "console=ttyS0,115200";
-        };
+       chosen {
+               bootargs = "console=ttyS0,115200";
+       };
 
        palmbus@10000000 {
                gpio2: gpio@660 {
@@ -69,7 +69,6 @@
        ethernet@10100000 {
                pinctrl-names = "default";
                pinctrl-0 = <&ephy_pins>;
-
                ralink,port-map = "llllw";
        };
 
 
        gpio-leds {
                compatible = "gpio-leds";
+
                powerled {
                        label = "oy:green:power";
                        gpios = <&gpio0 9 1>;
                };
+
                wifiled {
                        label = "oy:green:wifi";
                        gpios = <&gpio3 0 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                s1 {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
index 76eae93..7702d9c 100644 (file)
                i2c@900 {
                        compatible = "ralink,i2c-mt7621";
                        reg = <0x900 0x100>;
-
                        #address-cells = <1>;
                        #size-cells = <0>;
-
                        pinctrl-names = "default";
                        pinctrl-0 = <&i2c_pins>;
-
                        status = "okay";
 
                        pcf8563: rtc@51 {
                                status = "okay";
                                compatible = "nxp,pcf8563";
                                reg = <0x51>;
-            };
-        };
-    };
+                       };
+               };
+       };
 
        pcie@1e140000 {
                status = "okay";
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 18 1>;
 
        pinctrl {
                state_default: pinctrl0 {
-               gpio {
+                       gpio {
                                ralink,group = "wdt", "rgmii2", "wdt rst", "jtag", "mdio";
                                ralink,function = "gpio";
                        };
index 509787a..f583009 100644 (file)
@@ -22,7 +22,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
@@ -66,6 +65,7 @@
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wan {
                        label = "psr-680w:red:wan";
                        gpios = <&gpio0 19 1>;
@@ -77,6 +77,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 0 1>;
index f94370f..fc51c09 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wifi {
                        label = "pwh2004:red:wifi";
                        gpios = <&gpio0 14 1>;
                };
+
                power {
                        label = "pwh2004:green:power";
                        gpios = <&gpio0 9 1>;
@@ -65,6 +66,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 12 1>;
index 39bca1c..33f167d 100644 (file)
@@ -6,6 +6,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
index 03cb580..b8015ab 100644 (file)
@@ -6,6 +6,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
index 1f47a17..50f4b9e 100644 (file)
@@ -30,6 +30,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                orange {
                        label = "7links:orange:wifi";
                        gpios = <&gpio0 18 1>;
                };
+
                blue {
                        label = "7links:blue:storage";
                        gpios = <&gpio0 19 1>;
index 36d6218..89029bf 100644 (file)
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wifi {
                        label = "linksys:orange:wifi";
                        gpios = <&gpio0 0 1>;
                };
+
                power {
                        label = "linksys:white:power";
                        gpios = <&gpio0 9 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x211>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 11 0>;
index e19639a..80ece00 100644 (file)
@@ -17,7 +17,6 @@
 
                i2s@a00 {
                        status = "okay";
-
                        pinctrl-names = "default";
                        pinctrl-0 = <&pcm_i2s_pins>;
                };
@@ -78,7 +77,6 @@
 
        gsw@10110000 {
                ralink,port4 = "ephy";
-
                pinctrl-names = "default";
                pinctrl-0 = <&ephy_pins>;
        };
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                touch {
                        label = "touch";
                        gpios = <&gpio1 0 1>;
                        linux,code = <0x100>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio1 1 1>;
                        linux,code = <0x100>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio1 2 1>;
                        linux,code = <0x100>;
                };
+
                audio {
                        label = "audio";
                        gpios = <&gpio1 3 0>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                backlight {
                        label = "asus:white:back";
                        gpios = <&gpio1 4 1>;
                };
+
                wifi0 {
                        label = "asus:blue:5g3";
                        gpios = <&gpio1 5 1>;
                };
+
                wifi1 {
                        label = "asus:blue:5g2";
                        gpios = <&gpio1 6 1>;
                };
+
                wifi2 {
                        label = "asus:blue:5g1";
                        gpios = <&gpio1 7 1>;
                };
+
                wifi3 {
                        label = "asus:blue:wifi";
                        gpios = <&gpio1 8 1>;
                };
+
                wifi4 {
                        label = "asus:blue:2g1";
                        gpios = <&gpio1 9 1>;
                };
+
                wifi5 {
                        label = "asus:blue:2g2";
                        gpios = <&gpio1 10 1>;
                };
+
                wifi6 {
                        label = "asus:blue:2g3";
                        gpios = <&gpio1 11 1>;
index 396e683..b0b7c07 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
index a942af2..7bbd221 100644 (file)
@@ -9,7 +9,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
@@ -53,6 +52,7 @@
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wps {
                        label = "asus:green:wps";
                        gpios = <&gpio0 14 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
index 8642b88..4e1737e 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "rt-n13u:power";
                        gpios = <&gpio0 7 1>;
                };
+
                wifi {
                        label = "rt-n13u:wifi";
                        gpios = <&gpio0 8 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <10>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
index d95d32d..cd46bdf 100644 (file)
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wan {
                        label = "asus:blue:wan";
                        gpios = <&gpio2 0 1>;
                };
+
                lan {
                        label = "asus:blue:lan";
                        gpios = <&gpio2 1 1>;
                };
+
                usb {
                        label = "asus:blue:usb";
                        gpios = <&gpio2 2 1>;
                };
+
                power {
                        label = "asus:blue:power";
                        gpios = <&gpio2 3 1>;
                };
+
                air {
                        label = "asus:blue:air";
                        gpios = <&gpio3 0 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 2 1>;
index 23842d4..03821ca 100644 (file)
@@ -26,7 +26,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
                        reg = <0x0 0x30000>;
                        read-only;
                };
+
                partition@30000 {
                        label = "uboot-env";
                        reg = <0x30000 0x10000>;
                        read-only;
                };
+
                factory: partition@40000 {
                        label = "factory";
                        reg = <0x40000 0x10000>;
                        read-only;
                };
+
                partition@50000 {
                        label = "firmware";
                        reg = <0x50000 0x3b0000>;
                status = "okay";
                mtd-mac-address = <&factory 0x4>;
 
-                port@0 {
+               port@0 {
                        ralink,fixed-link = <1000 1 1 1>;
                };
 
                mdio-bus {
                        status = "okay";
+
                        phy0: ethernet-phy@0 {
                                phy-mode = "mii";
                                reg = <0>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <100>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 0>;
                        linux,code = <0x211>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 12 0>;