diff options
author | John Crispin <john@openwrt.org> | 2015-08-17 05:57:18 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-08-17 05:57:18 +0000 |
commit | 553fea9f195aaefa8533b99e0d0c9ff9a27fc4f5 (patch) | |
tree | aab9bba631d4ce922778932cff73412dffd67a5b /target/linux/ramips/dts/VOCORE.dts | |
parent | cae35b268cc8db7186cf026543a3d89c2f2de028 (diff) | |
download | mtk-20170518-553fea9f195aaefa8533b99e0d0c9ff9a27fc4f5.zip mtk-20170518-553fea9f195aaefa8533b99e0d0c9ff9a27fc4f5.tar.gz mtk-20170518-553fea9f195aaefa8533b99e0d0c9ff9a27fc4f5.tar.bz2 |
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 <pepe2k@gmail.com>
SVN-Revision: 46613
Diffstat (limited to 'target/linux/ramips/dts/VOCORE.dts')
-rw-r--r-- | target/linux/ramips/dts/VOCORE.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/VOCORE.dts b/target/linux/ramips/dts/VOCORE.dts index e6288b0..5e386e4 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"; |