X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FF5D8235_V1.dts;h=85e64f11d030565a43dcbade011591e2e8e742a7;hp=0d1e9a8af500aae1dcb3456e37808e31af744b04;hb=f539f05bd1aca5e1f484beb041f5335d5e92e46d;hpb=789e99ecfd43b14bcec8033e50c2707206eeea3b diff --git a/target/linux/ramips/dts/F5D8235_V1.dts b/target/linux/ramips/dts/F5D8235_V1.dts index 0d1e9a8af5..85e64f11d0 100644 --- a/target/linux/ramips/dts/F5D8235_V1.dts +++ b/target/linux/ramips/dts/F5D8235_V1.dts @@ -1,6 +1,6 @@ /dts-v1/; -/include/ "rt2880.dtsi" +#include "rt2880.dtsi" / { #address-cells = <1>; @@ -26,7 +26,6 @@ cfi@1f000000 { compatible = "cfi-flash"; reg = <0x1f000000 0x800000>; - bank-width = <2>; device-width = <2>; #address-cells = <1>; @@ -37,16 +36,19 @@ reg = <0x0 0x30000>; read-only; }; + partition@30000 { label = "uboot-env"; reg = <0x30000 0x10000>; read-only; }; + factory: partition@40000 { label = "factory"; reg = <0x40000 0x10000>; read-only; }; + partition@50000 { label = "linux"; reg = <0x50000 0x3b0000>; @@ -57,17 +59,19 @@ status = "okay"; mtd-mac-address = <&factory 0x4>; - port@0 { - ralink,fixed-link = <1000 1 1 1>; + port@0 { + mediatek,fixed-link = <1000 1 1 1>; }; }; - wmac@480000 { + /* FIXME: no u-boot partition and 0x40000@uboot is out of boundaries */ +/* wmac@480000 { status = "okay"; + ralink,mtd-eeprom = <&u-boot 0x40000>; }; - - rtl8367s { - compatible = "realtek,rtl8367s"; +*/ + rtl8366s { + compatible = "realtek,rtl8366s"; gpio-sda = <&gpio0 1 0>; gpio-sck = <&gpio0 2 0>; }; @@ -77,11 +81,13 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <100>; + wps { label = "wps"; gpios = <&gpio0 0 1>; linux,code = <0x211>; }; + reset { label = "reset"; gpios = <&gpio0 9 1>; @@ -96,6 +102,7 @@ label = "f5d8235-v1:blue:storage"; gpios = <&gpio0 7 1>; }; + storage2 { label = "f5d8235-v1:orange:storage"; gpios = <&gpio0 8 1>;