ramips: DTS rework

Add node aliases to dtsi files.
Reword dts files so they're more in-line with upstream.
Fix some more warnings and errors reported by dtc

Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
This commit is contained in:
Stanislav Galabov
2016-05-10 13:41:46 +03:00
committed by John Crispin
parent 861266c9ec
commit 9195d8da35
196 changed files with 9734 additions and 9987 deletions

View File

@@ -10,15 +10,6 @@
bootargs = "console=ttyS0,115200";
};
pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
cfi@1f000000 {
compatible = "cfi-flash";
reg = <0x1f000000 0x800000>;
@@ -51,22 +42,6 @@
};
};
ethernet@10100000 {
mtd-mac-address = <&factory 0x4>;
};
esw@10110000 {
mediatek,portmap = <0x01>;
};
wmac@10180000 {
ralink,mtd-eeprom = <&factory 0>;
};
otg@101c0000 {
status = "okay";
};
gpio-export {
compatible = "gpio-export";
@@ -100,3 +75,28 @@
};
};
};
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf";
ralink,function = "gpio";
};
};
};
&ethernet {
mtd-mac-address = <&factory 0x4>;
};
&esw {
mediatek,portmap = <0x01>;
};
&wmac {
ralink,mtd-eeprom = <&factory 0>;
};
&otg {
status = "okay";
};