summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/WF-2881.dts
diff options
context:
space:
mode:
authorStanislav Galabov <stanislav_galabov@smartcom.bg>2016-05-10 13:41:46 +0300
committerJohn Crispin <john@phrozen.org>2016-05-12 03:29:35 +0200
commit9195d8da355d0d141ac02c9a5269452dc64ffd2d (patch)
tree6983c73be89b47cc24300c4771618d01fa4ba901 /target/linux/ramips/dts/WF-2881.dts
parent861266c9ec0d5a48af044a08a01ccb9fc62b1ac8 (diff)
downloadmtk-20170518-9195d8da355d0d141ac02c9a5269452dc64ffd2d.zip
mtk-20170518-9195d8da355d0d141ac02c9a5269452dc64ffd2d.tar.gz
mtk-20170518-9195d8da355d0d141ac02c9a5269452dc64ffd2d.tar.bz2
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>
Diffstat (limited to 'target/linux/ramips/dts/WF-2881.dts')
-rw-r--r--target/linux/ramips/dts/WF-2881.dts74
1 files changed, 36 insertions, 38 deletions
diff --git a/target/linux/ramips/dts/WF-2881.dts b/target/linux/ramips/dts/WF-2881.dts
index d33436c..050bc2e 100644
--- a/target/linux/ramips/dts/WF-2881.dts
+++ b/target/linux/ramips/dts/WF-2881.dts
@@ -11,12 +11,6 @@
reg = <0x0 0x8000000>;
};
- palmbus@1E000000 {
- spi@b00 {
- status="disabled";
- };
- };
-
chosen {
bootargs = "console=ttyS0,57600";
};
@@ -54,32 +48,6 @@
};
};
- pcie@1e140000 {
- status = "okay";
-
- pcie0 {
- mt76@0,0 {
- reg = <0x0000 0 0 0 0>;
- device_type = "pci";
- mediatek,mtd-eeprom = <&factory 0x8000>;
- mediatek,2ghz = <0>;
- };
- };
-
- pcie1 {
- mt76@1,0 {
- reg = <0x0000 0 0 0 0>;
- device_type = "pci";
- mediatek,mtd-eeprom = <&factory 0x0000>;
- mediatek,5ghz = <0>;
- };
- };
- };
-
- ethernet@1e100000 {
- mtd-mac-address = <&factory 0xe006>;
- };
-
gpio-leds {
compatible = "gpio-leds";
@@ -106,13 +74,43 @@
linux,code = <0x198>;
};
};
+};
+
+&spi0 {
+ status="disabled";
+};
+
+&pcie {
+ status = "okay";
+
+ pcie0 {
+ mt76@0,0 {
+ reg = <0x0000 0 0 0 0>;
+ device_type = "pci";
+ mediatek,mtd-eeprom = <&factory 0x8000>;
+ mediatek,2ghz = <0>;
+ };
+ };
+
+ pcie1 {
+ mt76@1,0 {
+ reg = <0x0000 0 0 0 0>;
+ device_type = "pci";
+ mediatek,mtd-eeprom = <&factory 0x0000>;
+ mediatek,5ghz = <0>;
+ };
+ };
+};
+
+&ethernet {
+ mtd-mac-address = <&factory 0xe006>;
+};
- pinctrl {
- state_default: pinctrl0 {
- gpio {
- ralink,group = "uart3", "jtag";
- ralink,function = "gpio";
- };
+&pinctrl {
+ state_default: pinctrl0 {
+ gpio {
+ ralink,group = "uart3", "jtag";
+ ralink,function = "gpio";
};
};
};