marvell,pins = "mpp29";
marvell,function = "gpio";
};
+
pmx_led_white: pmx-led-white {
marvell,pins = "mpp40";
marvell,function = "gpio";
};
+
pmx_led_green: pmx-led_green {
marvell,pins = "mpp46";
marvell,function = "gpio";
};
+
pmx_led_orange: pmx-led-orange {
marvell,pins = "mpp47";
marvell,function = "gpio";
};
};
+
serial@12000 {
- status = "ok";
+ status = "okay";
};
sata@80000 {
status = "okay";
nr-ports = <2>;
};
-
};
+
gpio-leds {
compatible = "gpio-leds";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
default-state = "on";
};
+
led_fault: fault {
label = "status:orange:fault";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
+
misc {
label = "status:white:misc";
gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
linux,default-trigger = "disk-activity";
};
};
+
regulators {
compatible = "simple-bus";
+
#address-cells = <1>;
#size-cells = <0>;
+
pinctrl-0 = <&pmx_usb_power_enable>;
pinctrl-names = "default";
};
&nand {
- chip-delay = <40>;
status = "okay";
+ chip-delay = <40>;
+
partition@0 {
label = "u-boot";
- reg = <0x0000000 0x100000>;
+ reg = <0x0000000 0x0100000>;
read-only;
};
partition@100000 {
label = "ubi";
- reg = <0x100000 0x0ff00000>;
+ reg = <0x0100000 0xff00000>;
};
};
ð0 {
status = "okay";
+
ethernet0-port@0 {
phy-handle = <ðphy0>;
};
stdout-path = "serial0:115200n8";
};
- gpio_keys {
+ gpio-keys {
compatible = "gpio-keys";
- pinctrl-0 = < &pmx_btn_wps &pmx_btn_reset >;
+
+ pinctrl-0 = <&pmx_btn_wps &pmx_btn_reset>;
pinctrl-names = "default";
wps {
gpio-leds {
compatible = "gpio-leds";
- pinctrl-0 = < &pmx_led_green_power >;
+
+ pinctrl-0 = <&pmx_led_green_power>;
pinctrl-names = "default";
led_power: power {
marvell,pins = "mpp7";
marvell,function = "gpo";
};
+
pmx_btn_wps: pmx-btn-wps {
marvell,pins = "mpp47";
marvell,function = "gpio";
};
+
pmx_btn_reset: pmx-btn-reset {
marvell,pins = "mpp48";
marvell,function = "gpio";
&nand {
status = "okay";
+
pinctrl-0 = <&pmx_nand>;
pinctrl-names = "default";
label = "unused";
reg = <0x88000 0x178000>;
};
-
};
};
*/
ð0 {
status = "okay";
+
ethernet0-port@0 {
speed = <1000>;
duplex = <1>;
*/
ð1 {
status = "okay";
+
ethernet1-port@0 {
speed = <1000>;
duplex = <1>;
gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
+
led_red_sys: red-sys {
label = "nsa310:red:sys";
gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
};
+
green-hdd {
label = "nsa310:green:hdd";
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
};
+
red-hdd {
label = "nsa310:red:hdd";
gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
};
+
green-esata {
label = "nsa310:green:esata";
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
};
+
red-esata {
label = "nsa310:red:esata";
gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
};
+
green-usb {
label = "nsa310:green:usb";
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
};
+
red-usb {
label = "nsa310:red:usb";
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
};
+
green-copy {
label = "nsa310:green:copy";
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
};
+
red-copy {
label = "nsa310:red:copy";
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
stdout-path = "serial0:115200n8";
};
- gpio_keys {
+ gpio-keys {
compatible = "gpio-keys";
+
pinctrl-0 = <&pmx_btn_reset>;
pinctrl-names = "default";
gpio-leds {
compatible = "gpio-leds";
- pinctrl-0 = < &pmx_led_health_r &pmx_led_health_g >;
+
+ pinctrl-0 = <&pmx_led_health_red &pmx_led_health_green>;
pinctrl-names = "default";
- led_health_green: health_green {
+ led_health_green: health-green {
label = "on100:green:health";
gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
default-state = "on";
};
- led_health_red: health_red {
+ led_health_red: health-red {
label = "on100:red:health";
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
};
- health2_green {
+ health2-green {
label = "on100:green:health2";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
- health2_red {
+ health2-red {
label = "on100:red:health2";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
};
&pinctrl {
- pmx_led_health_r: pmx-led-health-r {
+ pmx_led_health_red: pmx-led-health-red {
marvell,pins = "mpp45";
marvell,function = "gpio";
};
- pmx_led_health_g: pmx-led-health-g {
+ pmx_led_health_green: pmx-led-health-green {
marvell,pins = "mpp44";
marvell,function = "gpio";
};
- pmx_led_health2_r: pmx-led-health2-r {
+ pmx_led_health2_red: pmx-led-health2-red {
marvell,pins = "mpp47";
marvell,function = "gpio";
};
- pmx_led_health2_g: pmx-led-health2-g {
+ pmx_led_health2_green: pmx-led-health2-green {
marvell,pins = "mpp46";
marvell,function = "gpio";
};
- pmx_btn_reset: pmx-led-reset {
+ pmx_btn_reset: pmx-btn-reset {
marvell,pins = "mpp31";
marvell,function = "gpio";
};