ramips: replace pinctrl property names
[openwrt/staging/noltari.git] / target / linux / ramips / dts / mt7628an_hilink_hlk-7628n.dts
index 71c6b60ac2622dd7368d9285b57270f18d067135..ae085255b3cff6185ba3c8b7b38e686a642c7594 100644 (file)
        compatible = "hilink,hlk-7628n", "mediatek,mt7628an-soc";
        model = "HILINK HLK-7628N";
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x8000000>;
-       };
-
        chosen {
                bootargs = "console=ttyS0,57600";
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
        };
 
                wlan {
                        label = "hlk-7628n:green:wlan";
-                       gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "i2c";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               groups = "i2c";
+               function = "gpio";
        };
 };
 
@@ -96,4 +88,3 @@
 &wmac {
        status = "okay";
 };
-