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 a19ed452f65a56f745c49161eaae9605c33fb1cd..3a79d46dd538ba9980aadc26001454faa1683056 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 2dec318c99b991c46a10a5e2ef4a8886f993a1f2..eb6e7d43fe230a8ee7db94adfa16b4fcd90fc1f6 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 bdcca7102f6fa6f239176e815768341f7359c61b..26f4ce6bcb7d0d1e589d14cf9cbd233f855053fd 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 5095927c5b7716b8d856064e75d2381826fe3608..1f9d6f93abf41dd584c9620dd0cb1232f37e5a68 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 154074a0c2d7f52d7e141058d5208607486a2f4a..f1d0891ebd0e30e26dd837ab2f68fa1194a9cf2b 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 90f3a1eada8c137fe8338efe13d759858748972a..963e835eda839801ccd70c356be8c2aaa2a4d41e 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 4a265460e05d87ed47b57efe2e46f88115998760..434b10b2ce046bb5bdafce63f28b8aecddc2879f 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 4da69a7329a2d607d08c942856ef245e9deebdf8..ac8a4e9ec68d9d05583659ccd0c974ce51ead26b 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 581934a5324986b0055d2412b81c59ecdf711337..d0fbb8905ff0a06741f89ef9684aad0523bf5485 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 c4815d968da3cf1333fa960865dfa0932a44df27..c7888691e26a8d8b3c76b7b8391e1309d67b6138 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 7c195714a0fadd6d4bafbe1e20e0304e65d855df..06f892be338640e3336b137980269e72af07b766 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 1d58b6a555c23e4a7c691a842e74eba2f4f16782..d14b1f972d982be552442d7485621333ffca447d 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 07497cb616fe3462434a093bf7adf673c5cfc414..0e29d89f2d9cbec517180007c5e0287f431ccba4 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 87f2553423ef868d489fbdebb6942eff38172ba5..6f66c3f85edfa52494afd3406be1eba576ddfa20 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 66108b1fb5b5e1ebea93e387204ddb873158a9fe..f94d740f3da10812ab7a9e3ff2ce997aab6ec87c 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 74163c293e4fbf330fc6629bfca19ddbc37a6445..2cf1ac618294d2b5c4558d364617e9517903cac6 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 506f1471afb2370eae49702adfd6da78c90bad72..80cf4a4b17ced5cce3ad71d16bdf1381154b077d 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 2de04022c7708f7bc545e3f22e86cd3dd9cf64b5..754f9f7ecbf8b6ee22c3e7e975ff77ecea8986f9 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 0738f048ef2f2c02b2e9c1adde200c48671f6b12..fe2ff1aa00e20a6d90ce8925793f27882e22c752 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 ebc4085588e3b5f98398ed1f6d924ed832e47146..d4de3f19000e4f15fd65a84d20de04c70f9f3c04 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 3b87995c611e3db3de84fe036380c2ba7601dd0f..ce45bd32831b6f9ad214f230b0d3ddb7be771d1f 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 35d48867622ceaebe3b49e58cba74790eb33f246..02de20dcc32ad2a44499310ad92b817e7bde71aa 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 cc3d5c1a0cd21823006d5fd583ef0b093555dd4f..0ad4d12078f2b6763f9cea1ca5ca010878cda642 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 0524f2d6d2a8350afb4122b4a7f4739c2544ffba..d920b6e88230a3703166d280890c3157ff571f59 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 6f836c832f5ce2e5f0b7e441893552031ba2af6c..2d62615e65ffcb4a886342c4ab32422f1c17b9f8 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 19070284836bd4a329604fc2494ec0a8de8c1094..ce8bd61efb55cc17a41b5c173f8fe914b46d08ab 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 db86f974767ccd1367945645a90807e0790de384..34696ad9ad9e62746e25b5dd4d56df215c8b7e4f 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 c33ed420bf30b003f22c4f0a5661a7bd2b0171ee..ea3623d4e3011bd2d7f10f44e377625fdcee21fc 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 5db6c8314aafa37769da4631ec3c217f709f0604..beb28052375f2f4c4878567a455cb7c19f280750 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 adea081872d290e4b4b50fc8ae1e1ac95a2bf1f6..acccfdbc62cef1ed43f7445eaec4289fd4770d41 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 42f6fd3c6d0180084a62588c96ab0e14e753081f..5ef625c8713500afc19cccc4bb29b7e6b2c37fb3 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 ee53e5ef95230b76b3318b91a8d71c4a19b1bef3..ae36baf6f93aa33e429f895b4fd500352451dc81 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 3d0cf1db5e66e2236efde50c1bc63d5a854c7cdb..d544d21087ffba225b2b912f33b9c1b240eb0385 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 f73a9973cfb63ffac7e93239d2ef06b5cd3303fe..7b54d8cbc79bff1561bcd1e9045ec3572c3194a4 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 4c5b80fb21cb07ea380fb5028088325cd6fcd07f..e1962d54680f248bc22c00860274a285098dd210 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 c1a1385c4457693809fc6dbb2f357ca1dea48da7..c143d6e41d98f05a8e800cea1f447615dd7c5db9 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 8ec07c2e54ec44cbf1b32c56f4f52b9e84bd383e..958fdeeb7b3b1931811657aae497939bea799e65 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 120a7fcd6da1148ceef5ca7a45ca92d85c3ad73e..72015323759ebf55baa3436072349bb90391ecdc 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 70e4a508ea401719b29af69ffaa69f948737f35b..0f05ad7fd9a53a3db309250997a85b7baa894b12 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 e345250ed63dc92d9f9e211fc2deacf7ebf72115..cd7b19d45780131f3d6b25cbca4a2c11b8183302 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 1a67b2dcaa7aafacec826a7f48b76ddba279be77..d95c077fa24fba2b0e8edfefe3674382a1dfb961 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 1165ff114ff377e97f1241e55fa7ffdb09e2a780..e76d6ee4ebd4b8dee8b8ed12ab04fba59329095d 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 1ffa829e070fcd3d6ba6e3b57bedca28e394afcb..1655982afc6409b1fa2d72c42760a53f9e3038b1 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 e4eeb3ee6d5b70d212c8be9f31eeefca4dfc5fa6..8a5b057b23eda178e1b51d73e93f8db24a3a3228 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 60e7f46910208c81886c34a0ebeeef1ab2a2d8d3..ab83901f17e9910bf035ce44152e7b345a158ee9 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 dd0d39c562af1b6dc84e4ea9582f90a5990ff630..ae74500fc6f0ec952f29ef86bd91c5d32336d9c8 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 23ec1140bc89fa06aa2920bc43efc8bb7465fb42..cae93c406c68cf0ab58a6bd1b19f868bfd7ba6b3 100644 (file)
@@ -76,6 +76,7 @@
                                mediatek,2ghz = <0>;
                        };
                };
+
                pcie1 {
                        mt76@1,0 {
                                reg = <0x0000 0 0 0 0>;
index c9d03cdc2333da2f225fff5a474354bda465e463..7689b17574def3850b12960a2176bd852631bb6c 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 444ce93ceb1e5946e75a2638b46895bbfc9920d8..b0f9046ca456d636502ad09b5e21620350bf78e7 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 2e88abd4943c628c7fe0cb11633a1222c7556015..2f510257c0f4e0e3016f33f8548c67aa4faba057 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 792249c2312cfd9d1439e3b2d02b867f1b608254..45f7d69338462b5d427806e9a00daed1c283fbbb 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 f660ff8f86430c9141f3a184b7c73f1f60922e3e..874d606bdc0d5c87bca63dc0182240691fc41e8d 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 bfe145646126ac41eb9e3c3afbe09152ee515ba5..b72066afe3cb2684ad8900c1494ffd30aa117fe7 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 2e01457783f596baacf749d5633b7e23782b35e7..d3479b128654484bb2b235a2d08feb345ef5c3a8 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 e2c8d724f248c17945a5f5f4e9c212f407dc01cc..1febfb57c982db5bf7c10a072f3b87970e129518 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 41b7ddd34e1626eec5583b941b8599f4662e104b..2aa3cc923f801bcde6d5e47ab4a33a18b27d7a7c 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 13597dc7d5190e6cadf4f10bf2c39e380a3b488b..e4a652e9038bf1898d9c21782cefa12eb31996ca 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 40d9e019b0a2254efc09f8c76aa62846ae483399..72feaa9e822d2b66382e38336f460db7f51bdfaa 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 9cd09c49015c433d463cdd9d37e2cdfcfbfa2553..8dbd82bd0f1ba197d15979e240646b50e6a27dd7 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 47cbb975ee6330aae2e9dfb2ac877f68531bab23..9eecad6ca80afe541946a04b60200d4281a4dc12 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 41910374c978238386424bf597d13dafb6b4b94a..dbe36dac52811b541534539b76d1c3b40e9aeb63 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 f3c3aa4d30ae0d5526c2b75929e23c9d3beb7260..c10bf3bea09718997e3bc4e72da9b88299da4e70 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 2d2ebc47b059c7ab2678753186667056aff601bb..24431876d1f6d54e2111b810c293be8d677b1ea8 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 23d8449ad6240aeb7ff5593894dc509e787045ba..e7e50586480444ac392fd174ba331c0f93fcaf98 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 83467dcb5899c2630adeb224ca5050489d2ed0ef..1c41f6c2eb644141798ed474ca49e106b42b0989 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 a2b0033150a84900c314b8372fb85dae6e7de404..c1b5276888a2f0a2ef0aaa391cf548e8632089b4 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 b988dd095b0f1ef0455455dc2048ff5bfbede2c0..27c9e8378af921b8f59ab42698a4efb3894d8eff 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 58f36fe02113db2502ab4f9f129ac53d1204c089..1389b80744d38b2a9ab621dbbd759fccb03e17a6 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 4f5e1c3c6d30c0101bef245ae11b5e6d75f15da3..849e911b4868d94c6b3a35fa5a461df9e0f2dd27 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 c2a6e24370d7174e4ccd1dff1ea58b7e1870408a..3c392e44c9dcc4535a5cc725d6bfac78a0901e27 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 826441e63313efa44f7f42fdae53f8d9f56ba235..71b30bde6be9ce68718db69f54094ea5d94b4eee 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 4f311441dcec87921e93ea090de66bd29bab0f27..ac01fd2a8781c4738c11682b5148edccceedcc37 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 4cff8dc28a3ce879bd69fc8620c64e68e890c2d0..ba57fae1cbcebe786aab495c3762288b97556a6b 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 cec912df3b93aa9dd4f738638d43fbafa15cf039..ef3019576f9ee4a55c758e4c33574cbfd4323eaa 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 ff664acf73d2ab1e8f9f32532b861e9295231407..250287486f68993b50cbe1b3217bd2e063502375 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 ae986f76c8f433435ee2f3c5677bb7d5c80f13f9..4b7b925c4a994743f0fc94d2b2dcb8524887fd3f 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 790092e1aafaf1db5f555eba5a80d2727921d0f2..7195253ffb3b7eb48fd6ddd26e0efecfed4fce43 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 f6e81ddc133a86f39c73f08796ca92341782e36e..ac660d496b2c2650f1994e149e0d6c529af42856 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 6fe9964da98e82eb1fa36467aaf353d5a65f0d03..4397b2cc3f2ddffeef8e13bd816a592de214a8b0 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 1a826bdf4fe04243ab60814556cfad62df51dda3..50a12cb04c9b3edfdbfc5cc2e1ca46e9340dcfd8 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 9f3121b2f1dda2ac31ba2d56ee2026ba08c4307b..dfc47b2c22a82a590957e627d3f458af8690dd45 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 fa49bf10359ab31cd87ba7bcd0f85e39471f2e6a..f6411c817b2e26f9b33a1badafaca97987f52693 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 a644d4a2bd41bbe2ee9f4c5b8ae322748df78e6e..0a7d7482b16340961b8fe83a790b13c9b5f95a04 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 984e7012768a9fdea2aefe102eb07c0e37c112cb..a2596930d3ce4bed1ebaf54666f7958883d68f17 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 4f4ecd492be157e13c42166989a018b1d6b69539..9540f4fbddd4a8f6e4fc38cd9906e788e643bce8 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 d7c5c8acedf0fc68eb83d0f6662114c8004a18dc..aa3ddc42a43db6a0f3e9fbaf7f8b5766bf0f0789 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 ede025244403ff1278382806ec315dad725d00e8..25f5bca8e3e46c0b86683dd8bf26609bcb5eac1a 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 48b7099296761c598f6370e1282ab45e332c1bbc..b008afd1d7b00ebde84e5a1d6e6fb149e6135908 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 76eae931a5f080eb6a6ff543c618fde334935956..7702d9cab4fde4768476fad6bc2dabae367ba548 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 509787ae8adb21de95b3eecb718581f81df69f50..f583009ab660b01993abaf6649a0a8e90b7e6446 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 f94370f39c1036a26709d8533055841e5283129c..fc51c09018265fa343fcd8fc1dd332eab8089abb 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 39bca1c760fb979ba5d67e26485ea646071dd001..33f167dcd59ede01692edbf5a81446ac31f673ae 100644 (file)
@@ -6,6 +6,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
index 03cb5809ac7a973d19a2e11dfa67810704be4fce..b8015ab8f0e51c53b30d38bb373fa793b29c0445 100644 (file)
@@ -6,6 +6,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
index 1f47a17bbd8a44b65dc5fb244d751eb8bd78fed8..50f4b9edd66a5afdeec4b608b5df2ba1f9732974 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 36d6218b2effdba62599bb8e621ac0e0dec038c4..89029bfda0c0db69439fc6b2c7a2655adc3175a3 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 e19639a57d5b4466c31cb8f21c56a8ff43f92327..80ece00074dcb9213dff181d3eb00b5f026b1757 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 396e683dfb644a3bb99e92a3acdb8f4c7a91a4e2..b0b7c07a5f9593e1de43dc588ded61bc32ec242f 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 a942af2622d869b919a6121909a193696d54c716..7bbd221f40d4a5be3c1ef93f3716bb382a03f72b 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 8642b88bf27443281abda3477e19d61e98304fdb..4e1737ef2b03d5d878e2ee0822971724c4807e8d 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 d95d32d87d52340d00bb1cba707cbd6c8f777d02..cd46bdf57438a12d79e1f57c6b4596993f848f7d 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 23842d48b81c4f2e7c3a001fb60e692bf480bbdf..03821cac862780e6a54165939cb42de521c1691b 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>;
index 4b7258333d08fdcba367f8660d2cc3cb372cbfd0..3ecd1b7f73dcab7c29b253d6c263a8b76711e14b 100644 (file)
@@ -22,7 +22,8 @@
        };
 
        ethernet@10100000 {
-                       mtd-mac-address = <&factory 0x4>;
+               mtd-mac-address = <&factory 0x4>;
+
                port@0 {
                        ralink,fixed-link = <1000 1 1 1>;
                };
@@ -30,9 +31,9 @@
 
        pci@10140000 {
                status = "okay";
-
                pinctrl-names = "default";
                pinctrl-0 = <&pci_pins>;
+
                pci_pins: pci {
                        pci {
                                ralink,group = "pci";
                host-bridge {
                        pci-bridge@1 {
                                status = "okay";
-                               wmac@0,0 {
-                                        compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
-                                        reg = < 0x10000 0 0 0 0 >;
-                                        ralink,eeprom = "rt2x00pci_1_0.eeprom";
-                                };
 
+                               wmac@0,0 {
+                                       compatible = "ralink,rt2880-pci", "pciclass060400", "pciclass0604";
+                                       reg = < 0x10000 0 0 0 0 >;
+                                       ralink,eeprom = "rt2x00pci_1_0.eeprom";
+                               };
                        };
                };
        };
@@ -70,7 +71,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 13 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio1 2 1>;
                        label = "asus:blue:power";
                        gpios = <&gpio0 0 1>;
                };
+
                lan {
                        label = "asus:blue:lan";
                        gpios = <&gpio0 19 1>;
                };
+
                wan {
                        label = "asus:blue:wan";
                        gpios = <&gpio1 3 1>;
                };
+
                usb {
                        label = "asus:blue:usb";
                        gpios = <&gpio1 0 1>;
index 9ae699735244411b3e1a4ed7adb7d4fb7ececc93..0af474382943c1b105f637def56031ac15e25a7d 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
@@ -52,9 +53,9 @@
                };
        };
 
-        ethernet@10100000 {
-                mtd-mac-address = <&factory 0x28>;
-        };
+       ethernet@10100000 {
+               mtd-mac-address = <&factory 0x28>;
+       };
 
        esw@10110000 {
                ralink,portmap = <0x3e>;
@@ -66,6 +67,7 @@
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        label = "rut5xx:green:status";
                        gpios = <&gpio0 14 1>;
@@ -77,6 +79,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
index 06c2f239526fe778423f64908e824f504d7654e3..d273559616289adc83a516eff598acdda02cf403 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 16 1>;
                        linux,code = <0x198>;
                };
+
                rfkill {
                        label = "rfkill";
                        gpios = <&gpio0 14 1>;
index 574de55b49c908360eee42c286c1f54a716c2f11..a6d9cc8871ddbb66bb5ba4c80ba1ef573be11ad7 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
@@ -62,6 +61,7 @@
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wifi {
                        label = "sl-r7205:green:wifi";
                        gpios = <&gpio0 7 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 33f8925bd012ce63e867f77a0a54c69ed3c607a4..b56ff9fb7e4b23aa19c5cacd82981d232ecac7fc 100644 (file)
 
        ethernet@10100000 {
                mtd-mac-address = <&factory 0x28>;
+
                port@0 {
                        phy-handle = <&phy0>;
                        phy-mode = "rgmii";
                };
+
                mdio-bus {
                        status = "okay";
 
@@ -43,7 +45,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 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio1 2 1>;
                        linux,code = <0x211>;
                };
+
                rfkill {
                        label = "rfkill";
                        gpios = <&gpio0 0 1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wps {
                        label = "trendnet:green:wps";
                        gpios = <&gpio0 9 1>;
index 6e43c7c6ba3a3e459f46f1e8656cecb590a8ff08..d537e2990671fbf21b2b267b975e2d0c8ec60d75 100644 (file)
        ethernet@10100000 {
                status = "okay";
                mtd-mac-address = <&factory 0x28>;
+
                port@0 {
                        phy-handle = <&phy0>;
                        phy-mode = "rgmii";
                };
+
                mdio-bus {
                        status = "okay";
 
@@ -39,9 +41,9 @@
 
        pci@10140000 {
                status = "okay";
-
                pinctrl-names = "default";
                pinctrl-0 = <&pci_pins>;
+
                pci_pins: pci {
                        pci {
                                ralink,group = "pci";
@@ -63,7 +65,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 10 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio1 2 1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wps {
                        label = "trendnet:orange:wps";
                        gpios = <&gpio0 9 1>;
                };
+
                wps2 {
                        label = "trendnet:green:wps";
                        gpios = <&gpio1 4 1>;
index 021efe584a25961207931f6fb01a5abebed5db6b..6350bd7a00802bc824e09e7795648880508833f7 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";
+
                3g {
                        label = "ur326:green:3g";
                        gpios = <&gpio0 9 1>;
                };
+
                gateway {
                        label = "ur326:green:gateway";
                        gpios = <&gpio0 11 1>;
                };
+
                ap {
                        label = "ur326:green:ap";
                        gpios = <&gpio0 12 1>;
                };
+
                wps {
                        label = "ur326:green:wps";
                        gpios = <&gpio0 14 1>;
                };
+
                station {
                        label = "ur326:green:station";
                        gpios = <&gpio0 13 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                mode {
                        label = "mode";
                        gpios = <&gpio0 7 1>;
index 81d0be033f2e7c54bcf60765d306aaab07a9b4a2..896b6e65425ec556446884bae757fc745b9774c7 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";
+
                3g {
                        label = "ur336:green:3g";
                        gpios = <&gpio0 9 1>;
                };
+
                gateway {
                        label = "ur336:green:gateway";
                        gpios = <&gpio0 11 1>;
                };
+
                ap {
                        label = "ur336:green:ap";
                        gpios = <&gpio0 12 1>;
                };
+
                wps {
                        label = "ur336:green:wps";
                        gpios = <&gpio0 14 1>;
                };
+
                station {
                        label = "ur336:green:station";
                        gpios = <&gpio0 13 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                mode {
                        label = "mode";
                        gpios = <&gpio0 7 1>;
index a0a738403200a3fc488b65794b9de771e90b8201..5a43e6dcf07a290b22355ea338ca7010a7932bb2 100644 (file)
@@ -33,7 +33,6 @@
        nor-flash@1c000000 {
                compatible = "cfi-flash";
                reg = <0x1c000000 0x800000>;
-
                bank-width = <2>;
                #address-cells = <1>;
                #size-cells = <1>;
@@ -67,6 +66,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <100>;
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 0>;
index 7eff596676bd1ee5500b2b3688a970dd043da8cc..e8fc4fe4c791cad73c91a0670552b225f9ea7a4f 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";
+
                security {
                        label = "v22rw-2x2:green:security";
                        gpios = <&gpio0 13 1>;
                };
+
                wps {
                        label = "v22rw-2x2:red: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 e6288b03b8d17ca7f80c45fedfaaf08cea560f9d..5e386e46bbf7dc1223970cf850544195c23bf160 100644 (file)
                        gpio-export,direction_may_change = <1>;
                        gpios = <&gpio0 7 0>;
                };
+
                gpio8 {
                        /* UARTF_TXD */
                        gpio-export,name = "gpio8";
                        gpio-export,direction_may_change = <1>;
                        gpios = <&gpio0 8 0>;
                };
+
                gpio9 {
                        /* UARTF_CTS_N */
                        gpio-export,name = "gpio9";
                        gpio-export,direction_may_change = <1>;
                        gpios = <&gpio0 9 0>;
                };
+
                gpio12 {
                        /* UARTF_DCD_N */
                        gpio-export,name = "gpio12";
                        gpio-export,direction_may_change = <1>;
                        gpios = <&gpio0 12 0>;
                };
+
                gpio13 {
                        /* UARTF_DSR_N */
                        gpio-export,name = "gpio13";
                        gpio-export,direction_may_change = <1>;
                        gpios = <&gpio0 13 0>;
                };
+
                gpio14 {
                        /* UARTF_RIN */
                        gpio-export,name = "gpio14";
                        gpio-export,direction_may_change = <1>;
                        gpios = <&gpio0 17 0>;
                };
+
                gpio18 {
                        /* JTAG_TDI */
                        gpio-export,name = "gpio18";
                        gpio-export,direction_may_change = <1>;
                        gpios = <&gpio0 18 0>;
                };
+
                gpio19 {
                        /* JTAG_TMS */
                        gpio-export,name = "gpio19";
                        gpio-export,direction_may_change = <1>;
                        gpios = <&gpio0 19 0>;
                };
+
                gpio20 {
                        /* JTAG_TCLK */
                        gpio-export,name = "gpio20";
                        gpio-export,direction_may_change = <1>;
                        gpios = <&gpio0 20 0>;
                };
+
                gpio21 {
                        /* JTAG_TRST_N */
                        gpio-export,name = "gpio21";
                        gpio-export,direction_may_change = <1>;
                        gpios = <&gpio1 0 0>;
                };
+
                gpio23 {
                        /* ETH1_LED */
                        gpio-export,name = "gpio23";
                        gpio-export,direction_may_change = <1>;
                        gpios = <&gpio1 1 0>;
                };
+
                gpio24 {
                        /* ETH2_LED */
                        gpio-export,name = "gpio24";
                        gpio-export,direction_may_change = <1>;
                        gpios = <&gpio1 2 0>;
                };
+
                gpio25 {
                        /* ETH3_LED */
                        gpio-export,name = "gpio25";
                        gpio-export,direction_may_change = <1>;
                        gpios = <&gpio1 3 0>;
                };
+
                gpio26 {
                        /* ETH4_LED */
                        gpio-export,name = "gpio26";
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
                        /* UARTF_RXD */
                        label = "vocore:green:status";
                        gpios = <&gpio0 10 0>;
                };
+
                eth {
                        /* UARTF_DTR_N */
                        label = "vocore:orange:eth";
index 915fb21d8a2226e22b5bd4271b5d45eabda2dc12..5f4d0e373f810de96f24ce36a95d6f1ab6c76dcd 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";
+
                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 fe505b4fc0b1bc02d46fc149ceb40cd397d25231..72b6ed830e5a44caccdcb56f5f0c969a60bb80d0 100644 (file)
@@ -9,7 +9,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                sys {
                        label = "w306r-v20:green:sys";
                        gpios = <&gpio0 9 1>;
                };
+
                wps {
                        label = "w306r-v20:green:wps";
                        gpios = <&gpio0 13 1>;
@@ -77,6 +78,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "RESET/WPS";
                        gpios = <&gpio0 10 1>;
index 6d3282ea6453d146a7d00792c6a7ad5b99170eb2..8afe74196fd9937947c40e1bf34172fbfc9f8009 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";
+
                usb {
                        label = "alfa:blue:usb";
                        gpios = <&gpio0 13 1>;
                };
+
                wps {
                        label = "alfa: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 2a4fa115651d644f0ad81b55baeec23edb25cb94..66bf90149fff0e9568d3fcbd92bc0c12cd4eb718 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";
+
                user {
                        label = "wcr150gn:amber:user";
                        gpios = <&gpio0 12 1>;
                };
+
                power {
                        label = "wcr150gn:amber:power";
                        gpios = <&gpio0 8 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 0 1>;
index 9c48d0c092841bd5a078f9b688700470593ab279..756d1805d9ad92d31008b1dbeb4f91b3cac67100 100644 (file)
                        };
                };
        };
-       
+
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "buffalo:red:power";
                        gpios = <&gpio0 7 1>;
                };
+
                wifi {
                        label = "buffalo:green:wifi";
                        gpios = <&gpio0 8 1>;
                };
+
                power2 {
                        label = "buffalo:green:power";
                        gpios = <&gpio0 9 1>;
                };
+
                wifi2 {
                        label = "buffalo:orange:wifi";
                        gpios = <&gpio0 10 1>;
                };
+
                internet {
                        label = "buffalo:green:internet";
                        gpios = <&gpio2 17 1>;
                };
+
                router {
                        label = "buffalo:orange:router";
                        gpios = <&gpio2 18 1>;
                };
+
                router2 {
                        label = "buffalo:green:router";
                        gpios = <&gpio2 19 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio2 12 1>;
                        linux,code = <0x198>;
                };
+
                aoss {
                        label = "aoss";
                        gpios = <&gpio2 13 1>;
                        linux,code = <0x211>;
                };
+
                ap {
                        label = "ap";
                        gpios = <&gpio2 14 1>;
                        linux,code = <0x100>;
                        linux,input-type = <5>; /* EV_SW */
                };
+
                bridge {
                        label = "bridge";
                        gpios = <&gpio2 15 1>;
index b3b3a8794e32a07af8600e8ce0788d47ab50d35f..83bc407452928839678a332c8662dc900357fe53 100644 (file)
@@ -54,6 +54,7 @@
                                ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
                                ralink,function = "gpio";
                        };
+
                        pa {
                                ralink,group = "pa";
                                ralink,function = "pa";
@@ -64,7 +65,6 @@
        ethernet@10100000 {
                pinctrl-names = "default";
                pinctrl-0 = <&ephy_pins>;
-
                ralink,port-map = "llllw";
        };
 
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "buffalo:red:power";
                        gpios = <&gpio0 7 1>;
                };
+
                wifi {
                        label = "buffalo:green:wifi";
                        gpios = <&gpio0 8 1>;
                };
+
                power2 {
                        label = "buffalo:green:power";
                        gpios = <&gpio0 9 1>;
                };
+
                wifi2 {
                        label = "buffalo:orange:wifi";
                        gpios = <&gpio0 10 1>;
                };
+
                internet {
                        label = "buffalo:green:internet";
                        gpios = <&gpio2 17 1>;
                };
+
                router {
                        label = "buffalo:green:router";
                        gpios = <&gpio2 18 1>;
                };
+
                router2 {
                        label = "buffalo:orange:router";
                        gpios = <&gpio2 19 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio2 12 1>;
                        linux,code = <0x198>;
                };
+
                aoss {
                        label = "aoss";
                        gpios = <&gpio2 13 1>;
                        linux,code = <0x211>;
                };
+
                ap {
                        label = "ap";
                        gpios = <&gpio2 14 1>;
                        linux,code = <0x100>;
                        linux,input-type = <5>; /* EV_SW */
                };
+
                bridge {
                        label = "bridge";
                        gpios = <&gpio2 15 1>;
index 5775093f5d4037e43e4e4b4250f76db591e7345e..5e06060422cf61a50371052617ff191da03093d3 100644 (file)
@@ -60,7 +60,6 @@
        ethernet@10100000 {
                pinctrl-names = "default";
                pinctrl-0 = <&ephy_pins>;
-
                mtd-mac-address = <&factory 0x4>;
                ralink,port-map = "llllw";
        };
        pcie@10140000 {
                status = "okay";
        };
-       
+
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "buffalo:red:power";
                        gpios = <&gpio0 7 1>;
                };
+
                wifi {
                        label = "buffalo:green:wifi";
                        gpios = <&gpio0 8 1>;
                };
+
                power2 {
                        label = "buffalo:green:power";
                        gpios = <&gpio0 9 1>;
                };
+
                wifi2 {
                        label = "buffalo:orange:wifi";
                        gpios = <&gpio0 10 1>;
                };
+
                internet {
                        label = "buffalo:green:internet";
                        gpios = <&gpio2 17 1>;
                };
+
                router {
                        label = "buffalo:green:router";
                        gpios = <&gpio2 18 1>;
                };
+
                router2 {
                        label = "buffalo:orange:router";
                        gpios = <&gpio2 19 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio2 12 1>;
                        linux,code = <0x198>;
                };
+
                aoss {
                        label = "aoss";
                        gpios = <&gpio2 13 1>;
                        linux,code = <0x211>;
                };
+
                ap {
                        label = "ap";
                        gpios = <&gpio2 14 1>;
                        linux,code = <0x100>;
                        linux,input-type = <5>; /* EV_SW */
                };
+
                bridge {
                        label = "bridge";
                        gpios = <&gpio2 15 1>;
index 30541313ad8b7d7b0ce9a99ddfaf7719c528a736..1aa9f696fc72e58887c4bd31eaafa2a88fbff9c3 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";
+
                diag {
                        label = "whr-g300n:red:diag";
                        gpios = <&gpio0 7 1>;
                };
+
                router {
                        label = "whr-g300n:green:router";
                        gpios = <&gpio0 9 1>;
                };
+
                security {
                        label = "whr-g300n:amber:security";
                        gpios = <&gpio0 14 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                aoss {
                        label = "aoss";
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x211>;
                };
+
                router-off {
                        label = "router-off";
                        gpios = <&gpio0 11 1>;
                        linux,code = <0x102>;
                };
+
                router-on {
                        label = "router-on";
                        gpios = <&gpio0 8 1>;
index a80b9375ca326559497e9115cafb855e0acd480a..d89c0d505ee0e319b0d4617e995048f680d80c61 100644 (file)
@@ -17,6 +17,7 @@
 
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
index 81c963b11991bef7ebe2a54e075f01acccf64b37..3fcb222b750e725a83836ee3c976418be678c56a 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 = "wl-351:amber:power";
                        gpios = <&gpio0 8 1>;
                };
+
                unpopulated {
                        label = "wl-351:amber:unpopulated";
                        gpios = <&gpio0 12 1>;
                };
+
                unpopulated2 {
                        label = "wl-351:blue:unpopulated";
                        gpios = <&gpio0 13 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 64d032700c334a92ae2b2281ca5a1cfb8d6832b3..40ce6304609479d918c9000f620ffaacdbf5adb2 100644 (file)
@@ -9,7 +9,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
 
        gpio-leds {
                compatible = "gpio-leds";
+
                first {
                        label = "wl341v3:amber:first";
                        gpios = <&gpio0 9 1>;
                };
+
                first2 {
                        label = "wl341v3:blue:first";
                        gpios = <&gpio0 13 1>;
                };
+
                third {
                        label = "wl341v3:amber:third";
                        gpios = <&gpio0 11 1>;
                };
+
                third2 {
                        label = "wl341v3:blue:third";
                        gpios = <&gpio0 14 1>;
                };
+
                fourth {
                        label = "wl341v3:blue:fourth";
                        gpios = <&gpio0 10 1>;
                };
+
                fifth {
                        label = "wl341v3:amber:fifth";
                        gpios = <&gpio0 12 1>;
                };
+
                fifth2 {
                        label = "wl341v3:blue:fifth";
                        gpios = <&gpio0 8 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 7 1>;
                        linux,code = <0x198>;
                };
+
                wps {
                        label = "wps";
                        gpios = <&gpio0 5 1>;
index 4d773da4980d0c9441112fff207eadfb3f50682a..e7e8e4a39503ba28f13bbc6fcd3b3d61a8960e28 100644 (file)
@@ -17,7 +17,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>;
@@ -48,7 +50,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>;
                };
+
                bandwidth {
                        label = "bandwidth";
                        gpios = <&gpio0 8 0>;
                        linux,code = <0x198>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 9 1>;
                        label = "buffalo:red:diag";
                        gpios = <&gpio0 10 1>;
                };
+
                power {
                        label = "buffalo:blue:power";
                        gpios = <&gpio0 12 1>;
                };
+
                security {
                        label = "buffalo:blue:security";
                        gpios = <&gpio0 13 1>;
index e25535f1e80c02fab765a93e50f4f98b4e40df4f..14c78db0933e8010cc15584394bc0acb3b7ccf10 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";
+
                link {
                        label = "asus:blue:link";
                        gpios = <&gpio0 9 1>;
                };
+
                power {
                        label = "asus:blue:power";
                        gpios = <&gpio0 11 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 e1196c697df587626ed7845a5b0492b443f19368..aa4c547e099a00fd36954a5ff8dcb7d4ba0bcd0d 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";
+
                3g {
                        label = "asus:blue:3g";
                        gpios = <&gpio0 9 1>;
                };
+
                3g2 {
                        label = "asus:red:3g";
                        gpios = <&gpio0 13 1>;
                };
+
                power {
                        label = "asus:blue:power";
                        gpios = <&gpio0 11 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 b6bce43575d137cff59281d856c0603a741c9101..fbeec4c7693af7c882675a47407b0220d37133cd 100644 (file)
 
        gpio-leds {
                compatible = "gpio-leds";
+
                aoss1 {
                        label = "buffalo:red:aoss";
                        gpios = <&gpio2 1 1>;
                };
+
                aoss2 {
                        label = "buffalo:green:aoss";
                        gpios = <&gpio2 2 1>;
                };
+
                power {
                        label = "buffalo:green:status";
                        gpios = <&gpio2 4 1>;
                #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>;
index d8a3b0badfe415f87c379cd11987b018c44bf622..bd0d596d6a4690ff4e4dbf2b9ac6e73b608ca235 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";
+
                power-green {
                        label = "netgear:green:power";
                        gpios = <&gpio0 8 1>;
                };
+
                power-red {
                        label = "netgear:red:power";
                        gpios = <&gpio0 9 1>;
                };
+
                wlan-green {
                        label = "netgear:green:wlan";
                        gpios = <&gpio0 12 0>;
                };
+
                wlan-red {
                        label = "netgear:red:wlan";
                        gpios = <&gpio0 13 0>;
                #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 009897024736620f113ba149a8e5287a345ed90f..f5c1319f300166577ee285079b5dc0fd2ce1ce8b 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";
+
                3g {
                        label = "wr512:green:3g";
                        gpios = <&gpio0 9 1>;
                };
+
                gateway {
                        label = "wr512:green:gateway";
                        gpios = <&gpio0 11 1>;
                };
+
                ap {
                        label = "wr512:green:ap";
                        gpios = <&gpio0 12 1>;
                };
+
                wps {
                        label = "wr512:green:wps";
                        gpios = <&gpio0 14 1>;
                };
+
                station {
                        label = "wr512:green:station";
                        gpios = <&gpio0 13 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                mode {
                        label = "mode";
                        gpios = <&gpio0 7 1>;
index 20a325cd71c1b6dcf2d3dbf4e50331e5ff96bfd4..d0cc0efb6364d6f75a4b4c59a3f189e34b02bbaa 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";
+
                3g {
                        label = "wr512:green:3g";
                        gpios = <&gpio0 9 1>;
                };
+
                gateway {
                        label = "wr512:green:gateway";
                        gpios = <&gpio0 11 1>;
                };
+
                ap {
                        label = "wr512:green:ap";
                        gpios = <&gpio0 12 1>;
                };
+
                wps {
                        label = "wr512:green:wps";
                        gpios = <&gpio0 14 1>;
                };
+
                station {
                        label = "wr512:green:station";
                        gpios = <&gpio0 13 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                mode {
                        label = "mode";
                        gpios = <&gpio0 7 1>;
index 430205e51bf0428901a81067b049ed41fe825aac..614f696d86198a4b423e469eb3ceb3656cdfd552 100644 (file)
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wps {
                        label = "wr6202:blue:wps";
                        gpios = <&gpio0 14 1>;
                };
+
                3g {
                        label = "wr6202:blue:3g";
                        gpios = <&gpio0 13 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>;
@@ -51,7 +55,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
index c28e422eea635cd3b0b1d018b0fa007946b2e7fd..1f3c345bed9fdb40c0907e81bced25649e6afd74 100644 (file)
@@ -10,6 +10,7 @@
                gpio1: gpio@638 {
                        status = "okay";
                };
+
                gpio3: gpio@688 {
                        status = "okay";
                };
@@ -74,6 +75,7 @@
                                ralink,group = "ephy";
                                ralink,function = "ephy";
                        };
+
                        default {
                                ralink,group = "i2c", "uartf", "spi refclk", "wled";
                                ralink,function = "gpio";
 
        gpio-leds {
                compatible = "gpio-leds";
+
                sys {
                        label = "wr8305rt:sys";
                        gpios = <&gpio1 14 1>;
                };
+
                lan {
                        label = "wr8305rt:usb";
                        gpios = <&gpio1 15 1>;
                };
+
                wifi {
                        label = "wr8305rt:wifi";
                        gpios = <&gpio3 0 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
                };
        };
 };
-
index 2a4dd198bc3ab2f2fefa13f03c6bf4fe1b22ffdf..23dbf5c4a1493ce3e87d1e604838adc7bf458296 100644 (file)
@@ -84,6 +84,7 @@
 
        gpio-leds {
                compatible = "gpio-leds";
+
                indicator {
                        label = "wrtnode:blue:indicator";
                        gpios = <&gpio1 14 1>;
index fc5896fb78764631421f17241e207a08b76de461..dd075dbf177c041b4e7bc2ed59a8bc93c1a8cba1 100644 (file)
 
        gpio-leds {
                compatible = "gpio-leds";
+
                internet_g {
                        label = "buffalo:green:internet";
                        gpios = <&gpio1 9 1>;
                };
+
                router_g {
                        label = "buffalo:green:router";
                        gpios = <&gpio1 10 1>;
                };
+
                router_o {
                        label = "buffalo:orange:router";
                        gpios = <&gpio1 11 1>;
                };
+
                internet_o {
                        label = "buffalo:orange:internet";
                        gpios = <&gpio1 12 1>;
                };
+
                wifi_o {
                        label = "buffalo:orange:wifi";
                        gpios = <&gpio1 13 1>;
                };
+
                power {
                        label = "buffalo:green:power";
                        gpios = <&gpio1 14 1>;
                };
+
                diag {
                        label = "buffalo:orange:diag";
                        gpios = <&gpio1 15 1>;
                };
+
                wifi_g {
                        label = "buffalo:green:wifi";
                        gpios = <&gpio1 16 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                power {
                        label = "power";
                        gpios = <&gpio0 18 1>;
                        linux,code = <0x74>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 3 1>;
                        linux,code = <0x198>;
                };
+
                aoss {
                        label = "aoss";
                        gpios = <&gpio0 6 1>;
                        linux,code = <0x211>;
                };
+
                auto {
                        label = "mode";
                        gpios = <&gpio0 7 0>;
                        linux,code = <0x100>;
                        linux,input-type = <5>; /* EV_SW */
                };
+
                ap {
                        label = "ap";
                        gpios = <&gpio0 10 0>;
                        linux,code = <0x100>;
                        linux,input-type = <5>; /* EV_SW */
                };
+
                router {
                        label = "router";
                        gpios = <&gpio0 12 0>;
index 77e99356bc4cf2a1028ba00eb3d05393137572fc..7b4fd74e80d3e9c724ebcc6052a77c1e8d1524f9 100644 (file)
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "buffalo:green:power";
                        gpios = <&gpio0 12 1>;
                };
+
                wifi_o {
                        label = "buffalo:orange:wifi";
                        gpios = <&gpio1 9 1>;
                };
+
                diag {
                        label = "buffalo:orange:diag";
                        gpios = <&gpio1 10 1>;
                };
+
                wifi_g {
                        label = "buffalo:green:wifi";
                        gpios = <&gpio1 12 1>;
                };
+
                router_o {
                        label = "buffalo:orange:router";
                        gpios = <&gpio1 13 1>;
                };
+
                router_g {
                        label = "buffalo:green:router";
                        gpios = <&gpio1 14 1>;
                };
+
                internet_o {
                        label = "buffalo:orange:internet";
                        gpios = <&gpio1 15 1>;
                };
+
                internet_g {
                        label = "buffalo:green:internet";
                        gpios = <&gpio1 16 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                power {
                        label = "power";
                        gpios = <&gpio0 8 1>;
                        linux,code = <0x74>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 11 1>;
                        linux,code = <0x198>;
                };
+
                aoss {
                        label = "aoss";
                        gpios = <&gpio0 18 1>;
                        linux,code = <0x211>;
                };
+
                auto {
                        label = "mode";
                        gpios = <&gpio0 7 0>;
                        linux,code = <0x100>;
                        linux,input-type = <5>; /* EV_SW */
                };
+
                ap {
                        label = "ap";
                        gpios = <&gpio0 6 0>;
                        linux,code = <0x100>;
                        linux,input-type = <5>; /* EV_SW */
                };
+
                router {
                        label = "router";
                        gpios = <&gpio0 10 0>;
                        linux,input-type = <5>; /* EV_SW */
                };
        };
+
        gpio_poweroff {
                compatible = "gpio-poweroff";
                gpios = <&gpio1 11 1>;
index 97f03b5e75ef0a16a2f84aaa9135cd782310d277..12913205c964b570a027f5c612c8ab412d2a7ed9 100644 (file)
@@ -6,6 +6,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
index 32f0360c08754d7d53b6a32a6f2d465931916f9d..999c84d1a8a8399d097d474f4c55069779bee39b 100644 (file)
@@ -6,6 +6,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
index 7583680099addc952e418d205b753a82d6e02af6..4295939cf572c07bd232fb555673f750503428fc 100644 (file)
@@ -7,13 +7,13 @@
        model = "Nexx WT3020";
 
        palmbus@10000000 {
-                gpio2: gpio@660 {
-                        status = "okay";
-                };
+               gpio2: gpio@660 {
+                       status = "okay";
+               };
 
-                gpio3: gpio@688 {
-                        status = "okay";
-                };
+               gpio3: gpio@688 {
+                       status = "okay";
+               };
 
                spi@b00 {
                        status = "okay";
@@ -83,6 +83,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
                };
        };
 
-        gpio-leds {
-                compatible = "gpio-leds";
-                power {
-                        label = "nexx:blue:power";
-                        gpios = <&gpio3 0 0>;
-                };
-        };
+       gpio-leds {
+               compatible = "gpio-leds";
+
+               power {
+                       label = "nexx:blue:power";
+                       gpios = <&gpio3 0 0>;
+               };
+       };
 };
index 5fa7c9273050aedf1801d712e71be74610284696..122499d608d21be899fe7a5828bc4117ac6f34b7 100644 (file)
@@ -7,13 +7,13 @@
        model = "Nexx WT3020";
 
        palmbus@10000000 {
-                gpio2: gpio@660 {
-                        status = "okay";
-                };
+               gpio2: gpio@660 {
+                       status = "okay";
+               };
 
-                gpio3: gpio@688 {
-                        status = "okay";
-                };
+               gpio3: gpio@688 {
+                       status = "okay";
+               };
 
                spi@b00 {
                        status = "okay";
@@ -83,6 +83,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
                };
        };
 
-        gpio-leds {
-                compatible = "gpio-leds";
-                power {
-                        label = "nexx:blue:power";
-                        gpios = <&gpio3 0 0>;
-                };
-        };
+       gpio-leds {
+               compatible = "gpio-leds";
+
+               power {
+                       label = "nexx:blue:power";
+                       gpios = <&gpio3 0 0>;
+               };
+       };
 };
index 8e18e90be237b91558bcbac3ca3d7334fcf2d5b8..5d6c25d2cf7ee811e6dd211787c48c771a551e82 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 1>;
                        linux,code = <0x211>;
                };
+
                router {
                        label = "router_switch";
                        gpios = <&gpio0 7 0>;
                        linux,code = <0x100>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 9 1>;
                        label = "buffalo:green:router";
                        gpios = <&gpio0 8 1>;
                };
+
                diag {
                        label = "buffalo:red:diag";
                        gpios = <&gpio0 12 1>;
                };
+
                security_g {
                        label = "buffalo:orange:security_g";
                        gpios = <&gpio0 11 1>;
                };
+
                security_n {
                        label = "buffalo:orange:security_n";
                        gpios = <&gpio0 13 1>;
                reg = <0x00440000 0x20000>;
                #address-cells = <1>;
                #size-cells = <1>;
-
                status = "ok";
        };
 };
index a19bf4dc8efe7d302ea6d8770cc6ae54f02713c4..dfaef3b41018e537db1f41c800f86defba6988fd 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";
+
                power {
                        label = "x5:green:power";
                        gpios = <&gpio0 13 1>;
                };
+
                20 {
                        label = "x5:green:20";
                        gpios = <&gpio0 12 1>;
                };
+
                50 {
                        label = "x5:green:50";
                        gpios = <&gpio0 11 1>;
                };
+
                80 {
                        label = "x5:green:80";
                        gpios = <&gpio0 7 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                bat {
                        label = "bat";
                        gpios = <&gpio0 9 1>;
                        linux,code = <0x211>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                        linux,code = <0x198>;
                };
+
                mode {
                        label = "mode";
                        gpios = <&gpio0 14 1>;
        gpio_export {
                compatible = "gpio-export";
                #size-cells = <0>;
+
                usb-mode {
                        gpio-export,name = "usb-mode";
                        gpio-export,output = <0>;
index cadbc3afddc2fb50abcaa9febbb15998d1c4e269..9c1c04692eb556718391f5110264a832b1642154 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";
+
                power {
                        label = "x8:green:power";
                        gpios = <&gpio0 13 1>;
@@ -74,6 +76,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
index d7ca6cdf18af4d48f246354a57d6ceaf93a6f611..25d3613e161da256cadbb9b9dea9ef2e39b993e9 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 = "xdxrn502j:green:wifi";
                        gpios = <&gpio0 7 1>;
                };
+
                power {
                        label = "xdxrn502j:green:power";
                        gpios = <&gpio0 9 1>;
@@ -77,6 +78,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
index 2cc55482fd0c26ddb129673ce6e3111910748dba..c1acab42999de506a2a9c19aee0f74a5eb2c8e8d 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio1 6 0>;
index 0b7b08208adf4d4c729b6fd9f67fcb32bd183813..783cdaa6df752f77ae954152cb73ff8da19ef56c 100644 (file)
                mtd-mac-address = <&factory 0x4>;
                ralink,port-map = "llllw";
        };
-       
+
        gpio-leds {
                compatible = "gpio-leds";
+
                power1 {
                        label = "lenovo:blue:power";
                        gpios = <&gpio0 9 1>;
                };
+
                wlan1 {
                        label = "lenovo:blue:wifi";
                        gpios = <&gpio3 0 1>;
                };
+
                wlan2 {
                        label = "lenovo:blue:wifi5g";
                        gpios = <&gpio2 10 1>;
                };
+
                usb {
                        label = "lenovo:blue:usb";
                        gpios = <&gpio2 12 1>;
                };
+
                lan {
                        label = "lenovo:blue:lan";
                        gpios = <&gpio2 15 1>;
                };
+
                internet {
                        label = "lenovo:blue:internet";
                        gpios = <&gpio2 11 1>;
index 0f31af25b2c7edcdba91578fc7e2041d2aeef3f7..62e37fcb914e5f7b359d726eba1510f6993cd21e 100644 (file)
@@ -86,6 +86,7 @@
                                ralink,group = "uartf", "wled", "nd_sd";
                                ralink,function = "gpio";
                        };
+
                        pa {
                                ralink,group = "pa";
                                ralink,function = "pa";
@@ -98,6 +99,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 11 1>;
index 9ecac37225b9c6ddc69c9427273ec2b4295119e1..b8c6ad085e490fd24febed905e1211f5b842e9e2 100644 (file)
@@ -11,7 +11,6 @@
                mtd-mac-address = <&factory 0x4>;
                pinctrl-names = "default";
                pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
-
                ralink,port-map = "wllll";
 
                port@4 {
        
        gpio-leds {
                compatible = "gpio-leds";
+
                power1 {
                        label = "lenovo:yellow:power";
                        gpios = <&gpio0 14 1>;
                };
+
                power2 {
                        label = "lenovo:blue:power";
                        gpios = <&gpio0 9 1>;
                };
+
                wlan1 {
                        label = "lenovo:yellow:wifi";
                        gpios = <&gpio3 0 1>;
                };
+
                wlan2 {
                        label = "lenovo:blue:wifi";
                        gpios = <&gpio2 10 1>;
                };
+
                usb1 {
                        label = "lenovo:yellow:usb";
                        gpios = <&gpio2 13 1>;
                };
+
                usb2 {
                        label = "lenovo:blue:usb";
                        gpios = <&gpio2 12 1>;
                };
+
                internet {
                        label = "lenovo:blue:internet";
                        gpios = <&gpio2 11 1>;
index 13c78c755fabbd7f932aac77ae3f3c0503388beb..69060a31301d5a6de663f7b881571683a09341bf 100644 (file)
 
        gpio-leds {
                compatible = "gpio-leds";
+
                power {
                        label = "zbtlink:blue:power";
                        gpios = <&gpio1 14 1>;
                };
+
                usb {
                        label = "zbtlink:blue:usb";
                        gpios = <&gpio1 15 0>;
                };
+
                air {
                        label = "zbtlink:blue:air";
                        gpios = <&gpio3 0 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
index 9efc35e24e50cb9907b82a6b23fcd5921d44f4e8..62af06a50020b5a86188dadafc063519cdeb6ea7 100644 (file)
@@ -7,7 +7,6 @@
        model = "ZTE Q7";
 
        palmbus@10000000 {
-
                gpio0: gpio@600 {
                        status = "okay";
                };
 
        gpio-leds {
                compatible = "gpio-leds";
+
                statred {
                        label = "zte:red:status";
                        gpios = <&gpio0 13 1>;
                };
+
                statblue {
                        label = "zte:blue:status";
                        gpios = <&gpio0 9 1>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
+
                reset {
                        label = "reset";
                        gpios = <&gpio1 2 1>;
index c21ae0fd52e73f3de7b59f9caad2eafe7a59d215..80e8977f4dfeb9da52dba2bec6db5ebb6e26bcc9 100644 (file)
@@ -23,7 +23,7 @@
        palmbus@10000000 {
                compatible = "palmbus";
                reg = <0x10000000 0x200000>;
-                ranges = <0x0 0x10000000 0x1FFFFF>;
+               ranges = <0x0 0x10000000 0x1FFFFF>;
 
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "ralink,rt2880-pinmux";
                pinctrl-names = "default";
                pinctrl-0 = <&state_default>;
+
                state_default: pinctrl0 {
                };
+
                pcm_i2s_pins: pcm_i2s {
                        pcm_i2s {
                                ralink,group = "uartf";
                                ralink,function = "pcm i2s";
                        };
                };
+
                uartf_gpio_pins: uartf_gpio {
                        uartf_gpio {
                                ralink,group = "uartf";
                                ralink,function = "gpio uartf";
                        };
                };
+
                spi_pins: spi {
                        spi {
                                ralink,group = "spi";
                                ralink,function = "spi";
                        };
                };
+
                i2c_pins: i2c {
                        i2c {
                                ralink,group = "i2c";
                                ralink,function = "i2c";
                        };
                };
+
                uartlite_pins: uartlite {
                        uart {
                                ralink,group = "uartlite";
                                ralink,function = "uartlite";
                        };
                };
+
                mdio_pins: mdio {
                        mdio {
                                ralink,group = "mdio";
                                ralink,function = "mdio";
                        };
                };
+
                ephy_pins: ephy {
                        ephy {
                                ralink,group = "ephy";
                                ralink,function = "ephy";
                        };
                };
+
                wled_pins: wled {
                        wled {
                                ralink,group = "wled";
                                ralink,function = "wled";
                        };
                };
+
                rgmii1_pins: rgmii1 {
                        rgmii1 {
                                ralink,group = "rgmii1";
                                ralink,function = "rgmii1";
                        };
                };
+
                rgmii2_pins: rgmii2 {
                        rgmii2 {
                                ralink,group = "rgmii2";
                                ralink,function = "rgmii2";
                        };
                };
+
                pcie_pins: pcie {
                        pcie {
                                ralink,group = "pcie";
index 83ab03ae5d509c407ed78ee4b9c567f2cf1670f3..e886c6fbecc67f6a8ed0292245b3967876509925 100644 (file)
@@ -23,7 +23,7 @@
        palmbus@10000000 {
                compatible = "palmbus";
                reg = <0x10000000 0x200000>;
-                ranges = <0x0 0x10000000 0x1FFFFF>;
+               ranges = <0x0 0x10000000 0x1FFFFF>;
 
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "ralink,rt2880-pinmux";
                pinctrl-names = "default";
                pinctrl-0 = <&state_default>;
+
                state_default: pinctrl0 {
                };
+
                spi_pins: spi {
                        spi {
                                ralink,group = "spi";
                                ralink,function = "spi";
                        };
                };
+
                uartlite_pins: uartlite {
                        uart {
                                ralink,group = "uartlite";
index 53b215f40f10ada6438f0faadb7ba9e9896fdbfa..e111c2bd80f2dbe784e69f3ef729eb3d98a5ce78 100644 (file)
@@ -23,7 +23,7 @@
        palmbus@1E000000 {
                compatible = "palmbus";
                reg = <0x1E000000 0x100000>;
-                ranges = <0x0 0x1E000000 0x0FFFFF>;
+               ranges = <0x0 0x1E000000 0x0FFFFF>;
 
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "ralink,rt2880-pinmux";
                pinctrl-names = "default";
                pinctrl-0 = <&state_default>;
+
                state_default: pinctrl0 {
                };
+
                spi_pins: spi {
                        spi {
                                ralink,group = "spi";
                                ralink,function = "spi";
                        };
                };
+
                i2c_pins: i2c {
                        i2c {
                                ralink,group = "i2c";
                                ralink,function = "i2c";
                        };
                };
+
                uart1_pins: uart1 {
                        uart1 {
                                ralink,group = "uart1";
                                ralink,function = "uart";
                        };
                };
+
                uart2_pins: uart2 {
                        uart2 {
                                ralink,group = "uart2";
                                ralink,function = "uart";
                        };
                };
+
                uart3_pins: uart3 {
                        uart3 {
                                ralink,group = "uart3";
                                ralink,function = "uart";
                        };
                };
+
                rgmii1_pins: rgmii1 {
                        rgmii1 {
                                ralink,group = "rgmii1";
                                ralink,function = "rgmii";
                        };
                };
+
                rgmii2_pins: rgmii2 {
                        rgmii2 {
                                ralink,group = "rgmii2";
                                ralink,function = "rgmii";
                        };
                };
+
                mdio_pins: mdio {
                        mdio {
                                ralink,group = "mdio";
                                ralink,function = "mdio";
                        };
                };
+
                pcie_pins: pcie {
                        pcie {
                                ralink,group = "pcie";
                                ralink,function = "pcie rst";
                        };
                };
+
                nand_pins: nand {
                        spi-nand {
                                ralink,group = "spi";
                                ralink,function = "nand";
                        };
+
                        sdhci-nand {
                                ralink,group = "sdhci";
                                ralink,function = "nand";
                        };
                };
+
                sdhci_pins: sdhci {
                        sdhci {
                                ralink,group = "sdhci";
                        label = "uboot";
                        reg = <0x00000 0x80000>; /* 64 KB */
                };
+
                partition@80000 {
                        label = "uboot_env";
                        reg = <0x80000 0x80000>; /* 64 KB */
                };
+
                partition@100000 {
                        label = "factory";
                        reg = <0x100000 0x40000>;
                };
+
                partition@140000 {
                        label = "rootfs";
                        reg = <0x140000 0xec0000>;
                compatible = "ralink,mt7620a-gsw";
                reg = <0x1e110000 8000>;
                interrupt-parent = <&gic>;
-               interrupts = <23>; 
+               interrupts = <23>;
        };
 
        pcie@1e140000 {
index 754e04fcd5de5e2dff767b0edfb9a80f093c9739..02f9df3b6728e7ea46468079ba9bab9b4e14960d 100644 (file)
@@ -23,7 +23,7 @@
        palmbus@10000000 {
                compatible = "palmbus";
                reg = <0x10000000 0x200000>;
-                ranges = <0x0 0x10000000 0x1FFFFF>;
+               ranges = <0x0 0x10000000 0x1FFFFF>;
 
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "ralink,rt2880-pinmux";
                pinctrl-names = "default";
                pinctrl-0 = <&state_default>;
+
                state_default: pinctrl0 {
                };
+
                spi_pins: spi {
                        spi {
                                ralink,group = "spi";
                                ralink,function = "spi";
                        };
                };
+
                uart0_pins: uartlite {
                        uartlite {
                                ralink,group = "uart0";
                                ralink,function = "uart0";
                        };
                };
+
                uart1_pins: uart1 {
                        uart1 {
                                ralink,group = "uart1";
                                ralink,function = "uart1";
                        };
                };
+
                uart2_pins: uart2 {
                        uart2 {
                                ralink,group = "uart2";
                                ralink,function = "uart2";
                        };
                };
+
                sdxc_pins: sdxc {
                        sdxc {
                                ralink,group = "sdmode";
                        device_type = "pci";
                };
        };
-
 };
index feabe425726cedc4d0cff6b74aa1afb058025e38..c6dfe9a32b6896d504b8cbb99b08bde14dfcdfa6 100644 (file)
@@ -23,7 +23,7 @@
        palmbus@300000 {
                compatible = "palmbus";
                reg = <0x300000 0x200000>;
-                ranges = <0x0 0x300000 0x1FFFFF>;
+               ranges = <0x0 0x300000 0x1FFFFF>;
 
                #address-cells = <1>;
                #size-cells = <1>;
 
                ralink,eeprom = "soc_wmac.eeprom";
        };
-
 };
index e15a1cf637114ade5b30dab7559a84538fda6c46..27e4179607454b549a18e20edd009d33df764111 100644 (file)
                        pinctrl-names = "default";
                        pinctrl-0 = <&uartlite_pins>;
                };
-
        };
 
        pinctrl {
                                ralink,function = "spi";
                        };
                };
+
                uartlite_pins: uartlite {
                        uart {
                                ralink,group = "uartlite";
index 7dffddb8698ea6cba3de6583103b5520ff1c3dfa..009277f2b87cd8c27ba97b18cdef337952a618d6 100644 (file)
                                ralink,function = "spi";
                        };
                };
+
                uartlite_pins: uartlite {
                        uart {
                                ralink,group = "uartlite";
index 0c6cedd74c7ccedc2f96ceed986d01fb2c5b708e..dc267824b91360f49871cd7cad70b4b5b82dd256 100644 (file)
 
                pinctrl-names = "default";
                pinctrl-0 = <&state_default>;
+
                state_default: pinctrl0 {
                };
 
index 456a937ce0c5963af630dfc5166c55647b262d8e..5282e5bc712a634677de581932eb7d63b628a86c 100644 (file)
                                ralink,function = "spi";
                        };
                };
+
                i2c_pins: i2c {
                        i2c {
                                ralink,group = "i2c";
                                ralink,function = "i2c";
                        };
                };
+
                phy_led_pins: phy_led {
                        phy_led {
                                ralink,group = "led";
                                ralink,function = "led";
                        };
                };
+
                uartlite_pins: uartlite {
                        uart {
                                ralink,group = "uartlite";
                                ralink,function = "uartlite";
                        };
                };
+
                uartf_pins: uartf {
                        uartf {
                                ralink,group = "uartf";
                                ralink,function = "uartf";
                        };
                };
+
                spi_cs1: spi1 {
                        spi1 {
                                ralink,group = "spi_cs1";