model = "Sercomm NA930";
aliases {
- led-status = &led_power;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
chosen {
};
nand {
- #address-cells = <1>;
- #size-cells = <1>;
compatible = "mtk,mt7620-nand";
- partition@0 {
- label = "u-boot";
- reg = <0x0 0x20000>;
- read-only;
- };
-
- partition@200000 {
- label = "factory";
- reg = <0x200000 0x40000>;
- read-only;
- };
-
- partition@240000 {
- label = "Config";
- reg = <0x240000 0x400000>;
- read-only;
- };
-
- partition@640000 {
- label = "firmware";
- reg = <0x640000 0x1400000>;
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "u-boot";
+ reg = <0x0 0x20000>;
+ read-only;
+ };
+
+ partition@200000 {
+ label = "factory";
+ reg = <0x200000 0x40000>;
+ read-only;
+ };
+
+ partition@240000 {
+ label = "Config";
+ reg = <0x240000 0x400000>;
+ read-only;
+ };
+
+ partition@640000 {
+ compatible = "denx,uimage";
+ label = "firmware";
+ reg = <0x640000 0x1400000>;
+ };
};
};
- gpio-keys-polled {
+ keys {
compatible = "gpio-keys-polled";
poll-interval = <20>;
};
};
- gpio-leds {
+ leds {
compatible = "gpio-leds";
zwave {
status {
label = "na930:blue:status";
gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
+ trigger-sources = <&ohci_port1>, <&ehci_port1>;
+ linux,default-trigger = "usbport";
};
service {