X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Frt3050_teltonika_rut5xx.dts;h=6be2590a0cda2e33d3875b87c7cb1f29e2ffc49a;hb=03b328480559a0183752f668dece2ff00d3bee28;hp=6a0965d76071ca99eab7af84238395a93de00769;hpb=22a21b0c18ebce7b7040ce693621f5c77983f3e5;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/rt3050_teltonika_rut5xx.dts b/target/linux/ramips/dts/rt3050_teltonika_rut5xx.dts index 6a0965d760..6be2590a0c 100644 --- a/target/linux/ramips/dts/rt3050_teltonika_rut5xx.dts +++ b/target/linux/ramips/dts/rt3050_teltonika_rut5xx.dts @@ -1,5 +1,3 @@ -/dts-v1/; - #include "rt3050.dtsi" #include @@ -20,7 +18,7 @@ compatible = "gpio-leds"; led_status: status { - label = "rut5xx:green:status"; + label = "green:status"; gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; }; }; @@ -35,12 +33,21 @@ linux,code = ; }; }; + + watchdog { + compatible = "linux,wdt-gpio"; + gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; + hw_algo = "toggle"; + /* hw_margin_ms is actually 280s but driver limits it to 60s */ + hw_margin_ms = <60000>; + always-running; + }; }; &spi0 { status = "okay"; - m25p80@0 { + flash@0 { compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <10000000>; @@ -85,7 +92,8 @@ }; ðernet { - mtd-mac-address = <&factory 0x28>; + nvmem-cells = <&macaddr_factory_28>; + nvmem-cell-names = "mac-address"; }; &esw { @@ -99,3 +107,13 @@ &otg { status = "okay"; }; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_28: macaddr@28 { + reg = <0x28 0x6>; + }; +};