ramips: add button support and make LEDs known to userspace for DIR-860L B1
[oweals/openwrt.git] / target / linux / ramips / dts / WLI-TX4-AG300N.dts
index 873feab82d662f47c72592d6f23dabd164aafed1..70521a71edbb0a5688a8cd4ff15f63bb94b1fdfc 100644 (file)
@@ -1,6 +1,6 @@
 /dts-v1/;
 
-/include/ "rt2880.dtsi"
+#include "rt2880.dtsi"
 
 / {
        #address-cells = <1>;
@@ -8,12 +8,6 @@
        compatible = "WLI-TX4-AG300N", "ralink,rt2880-soc";
        model = "Buffalo WLI-TX4-AG300N";
 
-       palmbus@300000 {
-               gpio0: gpio@600 {
-                       status = "okay";
-               };
-       };
-
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
                };
        };
 
-       ethernet@400000 {
-               status = "okay";
-               mtd-mac-address = <&factory 0x4>;
-
-               port@0 {
-                       mediatek,fixed-link = <1000 1 1 1>;
-               };
-       };
-
-       wmac@480000 {
-               ralink,mtd-eeprom = <&factory 0>;
-       };
-
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                };
        };
 };
+
+&gpio0 {
+       status = "okay";
+};
+
+&ethernet {
+       status = "okay";
+       mtd-mac-address = <&factory 0x4>;
+
+       port@0 {
+               mediatek,fixed-link = <1000 1 1 1>;
+       };
+};
+
+&wmac {
+       ralink,mtd-eeprom = <&factory 0>;
+};