ath79: add support for Teltonika RUT955 H7V3C0
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9331_tplink_tl-mr3020-v1.dts
index 728463bb9d480065e1a1cb4afbc291721a10aef5..97a058edf6718dbcb341b4084d869e1489e97d1d 100644 (file)
 
        aliases {
                serial0 = &uart;
-               led-boot = &system;
-               led-failsafe = &system;
-               led-running = &system;
-               led-upgrade = &system;
+               led-boot = &led_wps;
+               led-failsafe = &led_wps;
+               led-running = &led_wps;
+               led-upgrade = &led_wps;
                label-mac-device = &eth0;
        };
 
@@ -33,7 +33,7 @@
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
                };
 
-               system: wps {
+               led_wps: wps {
                        label = "tp-link:green:wps";
                        gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
                };
        keys {
                compatible = "gpio-keys";
 
-               button0 {
+               reset {
                        label = "reset";
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
                        debounce-interval = <60>;
                };
 
-               button1 {
+               sw1 {
                        label = "sw1";
                        linux,input-type = <EV_SW>;
                        linux,code = <BTN_0>;
@@ -64,7 +64,7 @@
                        debounce-interval = <60>;
                };
 
-               button2 {
+               sw2 {
                        label = "sw2";
                        linux,input-type = <EV_SW>;
                        linux,code = <BTN_1>;
 };
 
 &spi {
-       num-chipselects = <1>;
        status = "okay";
 
+       num-chipselects = <1>;
+
        /* Spansion S25FL032PIF SPI flash */
        flash@0 {
                compatible = "jedec,spi-nor";
-               spi-max-frequency = <104000000>;
+               spi-max-frequency = <50000000>;
                reg = <0>;
 
                partitions {
        };
 };
 
-
 &eth0 {
        status = "okay";
 
 
 &eth1 {
        status = "okay";
+
        compatible = "syscon", "simple-mfd";
 };
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&uboot 0x1fc00>;
 };