aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-10-09 22:45:36 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-10-09 22:45:36 +0200
commitf2b952a657c08e1611593572b0d12bb54aac8736 (patch)
tree9d7bfe1def94a96b3f429df688d07fc40f6e7cab /target/linux/ath79
parentf5cf408b766a9237e501fd4534cf87c3f38ec6fa (diff)
downloadupstream-f2b952a657c08e1611593572b0d12bb54aac8736.tar.gz
upstream-f2b952a657c08e1611593572b0d12bb54aac8736.tar.bz2
upstream-f2b952a657c08e1611593572b0d12bb54aac8736.zip
ath79: drop redundant gpios on i2c
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>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r--target/linux/ath79/dts/ar7161_aruba_ap-105.dts4
-rw-r--r--target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts4
2 files changed, 0 insertions, 8 deletions
diff --git a/target/linux/ath79/dts/ar7161_aruba_ap-105.dts b/target/linux/ath79/dts/ar7161_aruba_ap-105.dts
index 65c0be073b..45f77f7891 100644
--- a/target/linux/ath79/dts/ar7161_aruba_ap-105.dts
+++ b/target/linux/ath79/dts/ar7161_aruba_ap-105.dts
@@ -85,10 +85,6 @@
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>;
diff --git a/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts b/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts
index fd587c5da0..f2cb35eae9 100644
--- a/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts
+++ b/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts
@@ -30,10 +30,6 @@
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>;