openwrtv4/target/linux/ramips/dts/Y1.dts
John Crispin 553fea9f19 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
2015-08-17 05:57:18 +00:00

49 lines
745 B
Text

/dts-v1/;
/include/ "Y1.dtsi"
/ {
compatible = "lenovo,Y1", "ralink,mt7620a-soc";
model = "Lenovo Y1";
ethernet@10100000 {
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
mtd-mac-address = <&factory 0x4>;
ralink,port-map = "llllw";
};
gpio-leds {
compatible = "gpio-leds";
power1 {
label = "lenovo:blue:power";
gpios = <&gpio0 9 1>;
};
wlan1 {
label = "lenovo:blue:wifi";
gpios = <&gpio3 0 1>;
};
wlan2 {
label = "lenovo:blue:wifi5g";
gpios = <&gpio2 10 1>;
};
usb {
label = "lenovo:blue:usb";
gpios = <&gpio2 12 1>;
};
lan {
label = "lenovo:blue:lan";
gpios = <&gpio2 15 1>;
};
internet {
label = "lenovo:blue:internet";
gpios = <&gpio2 11 1>;
};
};
};