aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaud Ebalard <arno@natisbad.org>2013-11-29 15:27:58 -0500
committerJason Cooper <jason@lakedaemon.net>2013-12-01 17:16:08 -0500
commitece19e2b6bee4ef04627ae9dfc4f2360d978fc3d (patch)
tree93f48c04ff81c342931b92414e192a7437740a1f
parent96b09e3e6caef30c962cb9da406f1112a5ae58f5 (diff)
ARM: mvebu: Fix whitespace in NETGEAR ReadyNAS .dts files
This patch provides some whitespace cleanup for NETGEAR ReadyNAS Duo v2 and 102 .dts files: - Fixed bad spaces - Added some space between nodes to improve readability Signed-off-by: Arnaud Ebalard <arno@natisbad.org> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r--arch/arm/boot/dts/armada-370-netgear-rn102.dts1
-rw-r--r--arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts48
2 files changed, 32 insertions, 17 deletions
diff --git a/arch/arm/boot/dts/armada-370-netgear-rn102.dts b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
index 41c54b130d5a..1c2d13d3e597 100644
--- a/arch/arm/boot/dts/armada-370-netgear-rn102.dts
+++ b/arch/arm/boot/dts/armada-370-netgear-rn102.dts
@@ -64,6 +64,7 @@
64 marvell,pins = "mpp57"; 64 marvell,pins = "mpp57";
65 marvell,function = "gpio"; 65 marvell,function = "gpio";
66 }; 66 };
67
67 sata1_led_pin: sata1-led-pin { 68 sata1_led_pin: sata1-led-pin {
68 marvell,pins = "mpp15"; 69 marvell,pins = "mpp15";
69 marvell,function = "gpio"; 70 marvell,function = "gpio";
diff --git a/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts b/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts
index d408adc3974d..3b1a365c9a8e 100644
--- a/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts
+++ b/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts
@@ -45,34 +45,42 @@
45 marvell,pins = "mpp47"; 45 marvell,pins = "mpp47";
46 marvell,function = "gpio"; 46 marvell,function = "gpio";
47 }; 47 };
48
48 pmx_button_backup: pmx-button-backup { 49 pmx_button_backup: pmx-button-backup {
49 marvell,pins = "mpp45"; 50 marvell,pins = "mpp45";
50 marvell,function = "gpio"; 51 marvell,function = "gpio";
51 }; 52 };
53
52 pmx_button_reset: pmx-button-reset { 54 pmx_button_reset: pmx-button-reset {
53 marvell,pins = "mpp13"; 55 marvell,pins = "mpp13";
54 marvell,function = "gpio"; 56 marvell,function = "gpio";
55 }; 57 };
58
56 pmx_led_blue_power: pmx-led-blue-power { 59 pmx_led_blue_power: pmx-led-blue-power {
57 marvell,pins = "mpp31"; 60 marvell,pins = "mpp31";
58 marvell,function = "gpio"; 61 marvell,function = "gpio";
59 }; 62 };
63
60 pmx_led_blue_activity: pmx-led-blue-activity { 64 pmx_led_blue_activity: pmx-led-blue-activity {
61 marvell,pins = "mpp38"; 65 marvell,pins = "mpp38";
62 marvell,function = "gpio"; 66 marvell,function = "gpio";
63 }; 67 };
68
64 pmx_led_blue_disk1: pmx-led-blue-disk1 { 69 pmx_led_blue_disk1: pmx-led-blue-disk1 {
65 marvell,pins = "mpp23"; 70 marvell,pins = "mpp23";
66 marvell,function = "gpio"; 71 marvell,function = "gpio";
67 }; 72 };
73
68 pmx_led_blue_disk2: pmx-led-blue-disk2 { 74 pmx_led_blue_disk2: pmx-led-blue-disk2 {
69 marvell,pins = "mpp22"; 75 marvell,pins = "mpp22";
70 marvell,function = "gpio"; 76 marvell,function = "gpio";
71 }; 77 };
78
72 pmx_led_blue_backup: pmx-led-blue-backup { 79 pmx_led_blue_backup: pmx-led-blue-backup {
73 marvell,pins = "mpp29"; 80 marvell,pins = "mpp29";
74 marvell,function = "gpio"; 81 marvell,function = "gpio";
75 }; 82 };
83
76 pmx_poweroff: pmx-poweroff { 84 pmx_poweroff: pmx-poweroff {
77 marvell,pins = "mpp30"; 85 marvell,pins = "mpp30";
78 marvell,function = "gpio"; 86 marvell,function = "gpio";
@@ -129,18 +137,22 @@
129 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; 137 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
130 default-state = "keep"; 138 default-state = "keep";
131 }; 139 };
140
132 activity_led { 141 activity_led {
133 label = "status:blue:activity_led"; 142 label = "status:blue:activity_led";
134 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; 143 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
135 }; 144 };
145
136 disk1_led { 146 disk1_led {
137 label = "status:blue:disk1_led"; 147 label = "status:blue:disk1_led";
138 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>; 148 gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
139 }; 149 };
150
140 disk2_led { 151 disk2_led {
141 label = "status:blue:disk2_led"; 152 label = "status:blue:disk2_led";
142 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>; 153 gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
143 }; 154 };
155
144 backup_led { 156 backup_led {
145 label = "status:blue:backup_led"; 157 label = "status:blue:backup_led";
146 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; 158 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
@@ -158,11 +170,13 @@
158 linux,code = <KEY_POWER>; 170 linux,code = <KEY_POWER>;
159 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 171 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
160 }; 172 };
173
161 reset-button { 174 reset-button {
162 label = "Reset Button"; 175 label = "Reset Button";
163 linux,code = <KEY_RESTART>; 176 linux,code = <KEY_RESTART>;
164 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; 177 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
165 }; 178 };
179
166 backup-button { 180 backup-button {
167 label = "Backup Button"; 181 label = "Backup Button";
168 linux,code = <KEY_COPY>; 182 linux,code = <KEY_COPY>;
@@ -177,23 +191,23 @@
177 gpios = <&gpio0 30 GPIO_ACTIVE_LOW>; 191 gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
178 }; 192 };
179 193
180 regulators { 194 regulators {
181 compatible = "simple-bus"; 195 compatible = "simple-bus";
182 #address-cells = <1>; 196 #address-cells = <1>;
183 #size-cells = <0>; 197 #size-cells = <0>;
184 198
185 usb_power: regulator@1 { 199 usb3_regulator: usb3-regulator {
186 compatible = "regulator-fixed"; 200 compatible = "regulator-fixed";
187 reg = <1>; 201 reg = <1>;
188 regulator-name = "USB 3.0 Power"; 202 regulator-name = "USB 3.0 Power";
189 regulator-min-microvolt = <5000000>; 203 regulator-min-microvolt = <5000000>;
190 regulator-max-microvolt = <5000000>; 204 regulator-max-microvolt = <5000000>;
191 enable-active-high; 205 enable-active-high;
192 regulator-always-on; 206 regulator-always-on;
193 regulator-boot-on; 207 regulator-boot-on;
194 gpio = <&gpio1 14 0>; 208 gpio = <&gpio1 14 GPIO_ACTIVE_HIGH>;
195 }; 209 };
196 }; 210 };
197}; 211};
198 212
199&nand { 213&nand {