ath79: drop redundant gpios on i2c
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 9 Oct 2020 20:45:36 +0000 (22:45 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 9 Oct 2020 20:45:36 +0000 (22:45 +0200)
Since "sda-gpios" and "scl-gpios" are only available since kernel 4.19,
a few devices have redundantly defined "gpios" to also support older
kernels. Since we have nothing older than 4.19 now, we can remove
the redundant definitions.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/dts/ar7161_aruba_ap-105.dts
target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts

index 65c0be073b63d639ad7451b34b2d26f0122f8927..45f77f78914c084189ca2f7ec6bb15ea02acb86a 100644 (file)
                sda-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
                scl-gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
 
-               /* can be removed on 4.19 */
-               gpios = <&gpio 5 GPIO_ACTIVE_LOW>,
-                       <&gpio 4 GPIO_ACTIVE_LOW>;
-
                #address-cells = <1>;
                #size-cells = <0>;
 
index fd587c5da0f48f0d66f052a602269b13ec545a1e..f2cb35eae990bb27ac902eb448b7c7768021958f 100644 (file)
                sda-gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
                scl-gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
 
-               /* can be removed on 4.19 */
-               gpios = <&gpio 19 GPIO_ACTIVE_LOW>,
-                       <&gpio 15 GPIO_ACTIVE_LOW>;
-
                pcf8563: pcf8563@51 {
                        compatible = "nxp,pcf8563";
                        reg = <0x51>;