tools/patchelf: update to 0.18.0
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / mt7620a_yukai_bocco.dts
index 29e77a058c0d8e7bfd34b7bd5f787c6812e6da3f..96ef110bdac425c08408967670a05ced9d55c7b2 100644 (file)
        };
 };
 
-&gpio0 {
-       status = "okay";
-};
-
 &gpio1 {
        status = "okay";
 };
 
-&gpio2 {
-       status = "okay";
-};
-
-&gpio3 {
-       status = "okay";
-};
-
 &i2c {
        status = "okay";
 
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
 
-       mtd-mac-address = <&factory 0x4>;
+       nvmem-cells = <&macaddr_factory_4>;
+       nvmem-cell-names = "mac-address";
 
        mediatek,portmap = "llllw";
 };
 
-&gsw {
-       ralink,port4 = "ephy";
-};
-
 &wmac {
        ralink,mtd-eeprom = <&factory 0x0>;
 };
+
+&factory {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       macaddr_factory_4: macaddr@4 {
+               reg = <0x4 0x6>;
+       };
+};