ramips: use SoC I2C instead of bitbanged for Ubiquiti ER-X-SFP
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_ubiquiti_edgerouterx-sfp.dts
index c6a64c05282d074023f9d156c50a9b006b85efdc..b4deb490ed1ce323b838586601b031ac899bcc34 100644 (file)
@@ -5,18 +5,13 @@
 / {
        model = "UBNT-ERX-SFP";
        compatible = "ubiquiti,edgerouterx-sfp", "mediatek,mt7621-soc";
+};
 
-       i2c-gpio {
-               compatible = "i2c-gpio";
-               gpios = <&gpio 3 GPIO_ACTIVE_HIGH /* sda */
-                        &gpio 4 GPIO_ACTIVE_HIGH /* scl */
-                       >;
-               #address-cells = <1>;
-               #size-cells = <0>;
+&i2c {
+       status = "okay";
 
-               pca9555@25 {
-                       compatible = "pca9555";
-                       reg = <0x25>;
-               };
+       pca9555@25 {
+               compatible = "nxp,pca9555";
+               reg = <0x25>;
        };
 };