mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
70dd237ebd
Removed upstream merged: 002-6.2-ARM-dts-kirkwood-Add-Zyxel-NSA310S-board.patch 003-6.5-ARM-dts-kirkwood-Add-Endian-4i-Edge-200-board.patch 004-6.4-ARM-dts-kirkwood-Add-missing-phy-mode-and-fixed-link.patch 005-6.7-net-dsa-mv88e6xxx-fix-marvell-6350-switch-probing.patch Manually refreshed: 100-ib62x0.patch 101-iconnect.patch 102-dockstar.patch 103-iomega-ix2-200.patch 105-linksys-viper-dts.patch 106-goflexnet.patch 107-01-zyxel-nsa3x0-common-nand-partitions.patch 107-03-nsa325.patch 109-pogoplug_v4.patch 110-pogo_e02.patch 111-l-50.patch 112-sheevaplug.patch 113-readynas_duo_v2.patch 114-ctera-c-200-v1.patch 115-nsa310s.patch 116-4i-edge-200.patch 117-netgear_stora.patch 203-blackarmor-nas220.patch Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
100 lines
2.0 KiB
Diff
100 lines
2.0 KiB
Diff
--- a/arch/arm/boot/dts/marvell/kirkwood-blackarmor-nas220.dts
|
|
+++ b/arch/arm/boot/dts/marvell/kirkwood-blackarmor-nas220.dts
|
|
@@ -17,6 +17,13 @@
|
|
compatible = "seagate,blackarmor-nas220","marvell,kirkwood-88f6192",
|
|
"marvell,kirkwood";
|
|
|
|
+ aliases {
|
|
+ led-boot = &led_status_amber;
|
|
+ led-failsafe = &led_status_amber;
|
|
+ led-running = &led_status_blue;
|
|
+ led-upgrade = &led_status_amber;
|
|
+ };
|
|
+
|
|
memory { /* 128 MB */
|
|
device_type = "memory";
|
|
reg = <0x00000000 0x8000000>;
|
|
@@ -36,14 +43,14 @@
|
|
compatible = "gpio-keys";
|
|
|
|
reset {
|
|
- label = "Reset";
|
|
- linux,code = <KEY_POWER>;
|
|
+ label = "Reset Button";
|
|
+ linux,code = <KEY_RESTART>;
|
|
gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
- button {
|
|
- label = "Power";
|
|
- linux,code = <KEY_SLEEP>;
|
|
+ power {
|
|
+ label = "Power Button";
|
|
+ linux,code = <KEY_POWER>;
|
|
gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
@@ -51,11 +58,27 @@
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
|
|
- blue-power {
|
|
+ led_power_blue: power_blue {
|
|
label = "nas220:blue:power";
|
|
gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
|
|
linux,default-trigger = "default-on";
|
|
};
|
|
+
|
|
+ disk_blue {
|
|
+ label = "nas220:blue:disk";
|
|
+ gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
|
|
+ linux,default-trigger = "disk-activity";
|
|
+ };
|
|
+
|
|
+ led_status_blue: status_blue {
|
|
+ label = "nas220:blue:status";
|
|
+ gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>;
|
|
+ };
|
|
+
|
|
+ led_status_amber: status_amber {
|
|
+ label = "nas220:amber:status";
|
|
+ gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
|
|
+ };
|
|
};
|
|
|
|
regulators {
|
|
@@ -153,6 +176,33 @@
|
|
|
|
&nand {
|
|
status = "okay";
|
|
+
|
|
+ partitions {
|
|
+ compatible = "fixed-partitions";
|
|
+
|
|
+ partition@0 {
|
|
+ label = "uboot";
|
|
+ reg = <0x0 0xa0000>;
|
|
+ read-only;
|
|
+ };
|
|
+
|
|
+ partition@a0000 {
|
|
+ label = "uboot-env";
|
|
+ reg = <0xa0000 0x10000>;
|
|
+ read-only;
|
|
+ };
|
|
+
|
|
+ partition@b0000 {
|
|
+ label = "reserved";
|
|
+ reg = <0xb0000 0x10000>;
|
|
+ read-only;
|
|
+ };
|
|
+
|
|
+ partition@c0000 {
|
|
+ label = "ubi";
|
|
+ reg = <0xc0000 0x1e80000>;
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
&mdio {
|