From 553fea9f195aaefa8533b99e0d0c9ff9a27fc4f5 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 17 Aug 2015 05:57:18 +0000 Subject: ramips: fix indentation and other mistakes in .dts{, i} files The following patch fixes: * wrong indentations * doubled gpio-keys-polled nodes (DIR-300-B7, DIR-320-B1, DIR-610-A1) * duplicate spacings * empty lines at end of files and after last child nodes * trailing and leading whitespace * unnecessary and commented-out code * missing empty lines between nodes and between properties and nodes * unnecessary empty lines between nodes properties [1] in .dts{,i} files, for ramips target. [1] Some of empty lines in SOCs dtsi files were left untouched, because they seem to be there for a reason (readability?). Signed-off-by: Piotr Dymacz SVN-Revision: 46613 --- target/linux/ramips/dts/VOCORE.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'target/linux/ramips/dts/VOCORE.dts') diff --git a/target/linux/ramips/dts/VOCORE.dts b/target/linux/ramips/dts/VOCORE.dts index e6288b03b8..5e386e46bb 100644 --- a/target/linux/ramips/dts/VOCORE.dts +++ b/target/linux/ramips/dts/VOCORE.dts @@ -104,30 +104,35 @@ gpio-export,direction_may_change = <1>; gpios = <&gpio0 7 0>; }; + gpio8 { /* UARTF_TXD */ gpio-export,name = "gpio8"; gpio-export,direction_may_change = <1>; gpios = <&gpio0 8 0>; }; + gpio9 { /* UARTF_CTS_N */ gpio-export,name = "gpio9"; gpio-export,direction_may_change = <1>; gpios = <&gpio0 9 0>; }; + gpio12 { /* UARTF_DCD_N */ gpio-export,name = "gpio12"; gpio-export,direction_may_change = <1>; gpios = <&gpio0 12 0>; }; + gpio13 { /* UARTF_DSR_N */ gpio-export,name = "gpio13"; gpio-export,direction_may_change = <1>; gpios = <&gpio0 13 0>; }; + gpio14 { /* UARTF_RIN */ gpio-export,name = "gpio14"; @@ -142,24 +147,28 @@ gpio-export,direction_may_change = <1>; gpios = <&gpio0 17 0>; }; + gpio18 { /* JTAG_TDI */ gpio-export,name = "gpio18"; gpio-export,direction_may_change = <1>; gpios = <&gpio0 18 0>; }; + gpio19 { /* JTAG_TMS */ gpio-export,name = "gpio19"; gpio-export,direction_may_change = <1>; gpios = <&gpio0 19 0>; }; + gpio20 { /* JTAG_TCLK */ gpio-export,name = "gpio20"; gpio-export,direction_may_change = <1>; gpios = <&gpio0 20 0>; }; + gpio21 { /* JTAG_TRST_N */ gpio-export,name = "gpio21"; @@ -174,24 +183,28 @@ gpio-export,direction_may_change = <1>; gpios = <&gpio1 0 0>; }; + gpio23 { /* ETH1_LED */ gpio-export,name = "gpio23"; gpio-export,direction_may_change = <1>; gpios = <&gpio1 1 0>; }; + gpio24 { /* ETH2_LED */ gpio-export,name = "gpio24"; gpio-export,direction_may_change = <1>; gpios = <&gpio1 2 0>; }; + gpio25 { /* ETH3_LED */ gpio-export,name = "gpio25"; gpio-export,direction_may_change = <1>; gpios = <&gpio1 3 0>; }; + gpio26 { /* ETH4_LED */ gpio-export,name = "gpio26"; @@ -202,11 +215,13 @@ gpio-leds { compatible = "gpio-leds"; + status { /* UARTF_RXD */ label = "vocore:green:status"; gpios = <&gpio0 10 0>; }; + eth { /* UARTF_DTR_N */ label = "vocore:orange:eth"; -- cgit v1.2.3