mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-09 14:12:10 -05: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>
This commit is contained in:
parent
f5cf408b76
commit
f2b952a657
@ -85,10 +85,6 @@
|
|||||||
sda-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
|
sda-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
|
||||||
scl-gpios = <&gpio 4 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>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
|||||||
@ -30,10 +30,6 @@
|
|||||||
sda-gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
|
sda-gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
|
||||||
scl-gpios = <&gpio 15 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 {
|
pcf8563: pcf8563@51 {
|
||||||
compatible = "nxp,pcf8563";
|
compatible = "nxp,pcf8563";
|
||||||
reg = <0x51>;
|
reg = <0x51>;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user