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;
};
};
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";
};
};