ramips: mt7621: convert GPIO dts refs
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_hiwifi_hc5962.dts
index 1d0471fd3787151c8d77446af804c166dd669594..baef38fe53b96f3b9a1ab43a2a64dd6bca7f3bf6 100644 (file)
@@ -10,8 +10,8 @@
        model = "HiWiFi HC5962";
 
        aliases {
-               led-boot = &led_status;
-               led-failsafe = &led_status;
+               led-boot = &led_system;
+               led-failsafe = &led_system;
                led-running = &led_status;
                led-upgrade = &led_status;
        };
 
                led_status: status {
                        label = "hc5962:white:status";
-                       gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                };
 
-               system {
+               led_system: system {
                        label = "hc5962:red:system";
-                       gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
+                       panic-indicator;
                };
        };
 
@@ -39,7 +40,7 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
                        linux,code = <KEY_RESTART>;
                };
        };
        };
 };
 
-&pinctrl {
-       state_default: pinctrl0 {
-               gpio {
-                       ralink,group = "uart3", "jtag";
-                       ralink,function = "gpio";
-               };
+&state_default {
+       gpio {
+               ralink,group = "uart3", "jtag";
+               ralink,function = "gpio";
        };
 };