|
@@ -33,6 +33,43 @@
|
|
|
clock-frequency = <600000000>;
|
|
|
status = "okay";
|
|
|
};
|
|
|
+
|
|
|
+ pinctrl {
|
|
|
+ pwr_led_pin: pwr-led-pin {
|
|
|
+ marvell,pins = "mpp63";
|
|
|
+ marvell,function = "gpo";
|
|
|
+ };
|
|
|
+
|
|
|
+ stat_led_pins: stat-led-pins {
|
|
|
+ marvell,pins = "mpp64", "mpp65";
|
|
|
+ marvell,function = "gpio";
|
|
|
+ };
|
|
|
+ };
|
|
|
+
|
|
|
+ gpio_leds {
|
|
|
+ compatible = "gpio-leds";
|
|
|
+ pinctrl-names = "default";
|
|
|
+ pinctrl-0 = <&pwr_led_pin &stat_led_pins>;
|
|
|
+
|
|
|
+ green_pwr_led {
|
|
|
+ label = "mirabox:green:pwr";
|
|
|
+ gpios = <&gpio1 31 1>;
|
|
|
+ linux,default-trigger = "heartbeat";
|
|
|
+ };
|
|
|
+
|
|
|
+ blue_stat_led {
|
|
|
+ label = "mirabox:blue:stat";
|
|
|
+ gpios = <&gpio2 0 1>;
|
|
|
+ linux,default-trigger = "cpu0";
|
|
|
+ };
|
|
|
+
|
|
|
+ green_stat_led {
|
|
|
+ label = "mirabox:green:stat";
|
|
|
+ gpios = <&gpio2 1 1>;
|
|
|
+ default-state = "off";
|
|
|
+ };
|
|
|
+ };
|
|
|
+
|
|
|
mdio {
|
|
|
phy0: ethernet-phy@0 {
|
|
|
reg = <0>;
|