ramips: add support for SNR-CPE-ME2-SFP
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_glinet_gl-mt300n-v2.dts
index 4ebe0cf11f13da6fbe9280ccd4b30bc6871ac0f4..a3ce8cc59212cfd6776afe4823844f14ae89ac81 100644 (file)
 
 &state_default {
        gpio {
-               groups = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s";
+               groups = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s", "i2c";
                function = "gpio";
        };
 };
 
 &ethernet {
-       mtd-mac-address = <&factory 0x4>;
+       nvmem-cells = <&macaddr_factory_4>;
+       nvmem-cell-names = "mac-address";
 };
 
 &wmac {
        status = "okay";
+
+       mediatek,mtd-eeprom = <&factory 0x0>;
 };
 
 &spi0 {
        status = "okay";
 };
 
-&ehci {
-       status = "okay";
-};
+&factory {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
 
-&ohci {
-       status = "okay";
+       macaddr_factory_4: macaddr@4 {
+               reg = <0x4 0x6>;
+       };
 };