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>
Tue, 18 Aug 2020 15:45:20 +0000 (17:45 +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.

Though this is a cosmetic commit, it might be a pitfall for
device-support backporters if missing. Since backporting it is trivial,
let's just do it.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit dc1280ef652c6522269c7a864810c19362d33dc4)

12 files changed:
target/linux/ath79/dts/ar9330.dtsi
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_embeddedwireless_dorin.dts
target/linux/ath79/dts/ar9331_etactica_eg200.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 64c135405b978e3c06eae65a0b62e93b3a73907f..6ccb30c9a1ad7f74723866a4c5aee6c51b0b8f87 100644 (file)
@@ -57,8 +57,6 @@
 
                                interrupt-controller;
                                #interrupt-cells = <2>;
-
-                               status = "disabled";
                        };
 
                        pinmux: pinmux@18040028 {
index c5f559bb36f1cb5ccb4a1a824913b2e52b27c7f4..30c9c77c27bb0f9b0228b387b73668c52d6d08be 100644 (file)
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        dr_mode = "host";
        status = "okay";
index 06f728b26764477ed53a36ef4c742a879938a091..cd661623668eba041e01c054e130426d78fe25e4 100644 (file)
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        dr_mode = "host";
        status = "okay";
index eb8ea3b20c9e60ef034a8393a43d99cda6f60c2b..4ccd774575a2acefab8da5cf74fb37a883ed4dd5 100644 (file)
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        dr_mode = "host";
        status = "okay";
index 88b48faf89d8b50443a93d5889c342425862cd8c..cf800e78f7e8c6b3b6bd573c9bfcdd3d587c3c32 100644 (file)
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        dr_mode = "host";
        status = "okay";
index 708e9defa4cda7ee624bb91862778143fde484b7..eef47b0a4e3c2b9497d8b7b57e265dd3e2c9b497 100644 (file)
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        dr_mode = "host";
        status = "okay";
index b3bc2e4c451254c014683c66821a523ee56f4ee0..2fed9b398bd4fa3ea819e00eef9ab991fbcf6524 100644 (file)
        compatible = "syscon", "simple-mfd";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &uart {
        status = "okay";
 };
index 9182374235a8b85a79cff075f85fdda9e378962e..91c201b2540d4379974e820fefccdba8761fe902 100644 (file)
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        #address-cells = <1>;
        #size-cells = <0>;
index 6fc4b6868b6d3c80fcb5826f039cdc027784f93f..cd372c240eaa5374e8f2ec94c446fe19e5087f76 100644 (file)
        status = "okay";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &usb {
        #address-cells = <1>;
        #size-cells = <0>;
index ffd3d71a6202ae6c273a5b991c74e0cc0e1d205c..779e0aa89575922dfaa0811aba78525147ecd87a 100644 (file)
        compatible = "syscon", "simple-mfd";
 };
 
-&gpio {
-       status = "okay";
-};
-
 &uart {
        status = "okay";
 };
index 056e9fa51260e1659980fd9969716a9c6759fa96..c037015e4c0f803b0618ab03fc540486df140809 100644 (file)
        mtd-mac-address-increment = <(-1)>;
 };
 
-&gpio {
-       status = "okay";
-};
-
 &uart {
        status = "okay";
 };
index e4b59f1591245c47cd71912622ddaf4d7a1a80eb..c439a372db0a56f6cf0f5ebe7727b46fcb808e45 100644 (file)
        mtd-mac-address-increment = <(-1)>;
 };
 
-&gpio {
-       status = "okay";
-};
-
 &uart {
        status = "okay";
 };