mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-23 12:35:33 +00:00
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> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
50ffcbb8d3
commit
b823e8f415
@ -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>;
|
||||
|
||||
|
@ -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>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user