ath79: enable gpio on ar933x by default
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 3 Jul 2020 15:21:12 +0000 (17:21 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 3 Jul 2020 15:37:02 +0000 (17:37 +0200)
All other SoC DTSI files have gpio enabled by default, only
ar9330/ar9331 disable it by default, only to have it enabled again
afterwards for each individual device.

So, do not disable it in the first place, and drop all device-specific
status statements afterwards.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
16 files changed:
target/linux/ath79/dts/ar9330.dtsi
target/linux/ath79/dts/ar9330_dlink_dir-505.dts
target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
target/linux/ath79/dts/ar9330_pqi_air-pen.dts
target/linux/ath79/dts/ar9331_8dev_carambola2.dts
target/linux/ath79/dts/ar9331_alfa-network_ap121f.dts
target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts
target/linux/ath79/dts/ar9331_etactica_eg200.dts
target/linux/ath79/dts/ar9331_glinet_64xx.dtsi
target/linux/ath79/dts/ar9331_pisen_ts-d084.dts
target/linux/ath79/dts/ar9331_pisen_wmm003n.dts
target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts
target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts
target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi
target/linux/ath79/dts/ar9331_tplink_tl-wr710n-v1.dts
target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi

index 8e52ae8fdb353028a376cd04951d9b808a71e5ca..7d2f74122a7355135284d734a9c64846cab5d99e 100644 (file)
@@ -57,8 +57,6 @@
 
                                interrupt-controller;
                                #interrupt-cells = <2>;
-
-                               status = "disabled";
                        };
 
                        pinmux: pinmux@18040028 {
index 6984176daacbb57be3f2b2134030eee6850031ce..7fe5c8abe4bb2ac680667ad2a2423ec4a7cd057d 100644 (file)
@@ -56,8 +56,6 @@
 };
 
 &gpio {
-       status = "okay";
-
        led_enable {
                gpio-hog;
                output-low;
index d81d477227d4c00b88efb45023b83b92e348a6a2..b8c6959d5d92cc381dd9c7a350a9ef2b34c1f985 100644 (file)
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        dr_mode = "host";
        status = "okay";
index 8537faa0f936aa7154e946eda9ee7e3d9bbc3809..2d7f79ee87a8a2088af6779248ba78ec7c0d24f3 100644 (file)
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        dr_mode = "host";
        status = "okay";
index ffb9745e0311adf339ac4090d22ec3551e07eb98..f35f1850f2fa1b93243b2d45c317aa3501ebf8b9 100644 (file)
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        dr_mode = "host";
        status = "okay";
index 971d158faf94be4924ab5f69c9dd32dc5d6b67e4..d1b49b2c25ed5ed7961275baa3e501c02a324b8f 100644 (file)
        compatible = "syscon", "simple-mfd";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &spi {
        status = "okay";
 
index 349c7ffc4d92a51161593c5a85b66b17cf770403..614c31e1e7d382349a345497dadb677dac72d1eb 100644 (file)
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        dr_mode = "host";
        status = "okay";
index 079cc88767396a8323d5eaf4605d5bf345d2b41d..3cf72a321a4eec75b732b12266f29142b8991886 100644 (file)
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        dr_mode = "host";
        status = "okay";
index 2fa970248a86140602e705d3e9e53190a78d01cd..fd6791915f006dde72e8fed8d670f1f7c65a7f48 100644 (file)
        mtd-mac-address = <&uboot 0x1fc00>;
 };
 
-&gpio {
-       status = "okay";
-};
-
 &uart {
        status = "okay";
 };
index 8b8e304c9ba4493bd1977d56b1334443b9eacd2f..565c236f67d815994afc44a774f0d9d9ece5fac8 100644 (file)
        compatible = "syscon", "simple-mfd";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &uart {
        status = "okay";
 };
index 6fb11545adabfd096fb3750f57d1074058ba59ac..6b746bb152c73dc5fdd90402bb6fb6a5decdb302 100644 (file)
        compatible = "syscon", "simple-mfd";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &uart {
        status = "okay";
 };
index 8f4147b7f7b5af747078e65ab0027c5b6ccd8732..704f7c41a8732a5444587f256e5fb0faf62cbb6c 100644 (file)
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        #address-cells = <1>;
        #size-cells = <0>;
index 85ab924009613d357e77e2455a6b57a1cf8a392c..d0a479712de827870aa6b20b0d74375233c7264f 100644 (file)
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        #address-cells = <1>;
        #size-cells = <0>;
index 2bacd08245c17f2d82e376ed1b9a5bbe690e9101..c2bc50a505fb06ccada8204f46caee3fb5fa6047 100644 (file)
        compatible = "syscon", "simple-mfd";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &uart {
        status = "okay";
 };
index 49dd11469c5ef4e649136163ddc0df1eb0383c21..493dbfe7b64193516bcaa5cc1774a54fcea27729 100644 (file)
        mtd-mac-address-increment = <(-1)>;
 };
 
-&gpio {
-       status = "okay";
-};
-
 &uart {
        status = "okay";
 };
index 4f11d5d7a496d11ee82c8bf8a52384efb82077fc..8e36c6851c4ca34cbf235c50550b55dfc4f28df2 100644 (file)
        mtd-mac-address-increment = <(-1)>;
 };
 
-&gpio {
-       status = "okay";
-};
-
 &uart {
        status = "okay";
 };