X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FASL26555-8M.dts;h=80cf4a4b17ced5cce3ad71d16bdf1381154b077d;hb=3760b95702b65de9d6d0f6a1029a654e3b11f72f;hp=d7e424d8688dfa76825d3a4909a5c279f0f365af;hpb=f44d3f99803be7ba5c38b26a2d8cbda1c301e893;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/ASL26555-8M.dts b/target/linux/ramips/dts/ASL26555-8M.dts index d7e424d868..80cf4a4b17 100644 --- a/target/linux/ramips/dts/ASL26555-8M.dts +++ b/target/linux/ramips/dts/ASL26555-8M.dts @@ -13,6 +13,7 @@ spi@b00 { status = "okay"; + m25p80@0 { #address-cells = <1>; #size-cells = <1>; @@ -26,25 +27,30 @@ reg = <0x0 0x30000>; read-only; }; - factory: partition@30000 { - label = "factory"; + + ubootenv: partition@30000 { + label = "uboot-env"; reg = <0x30000 0x10000>; read-only; }; + partition@40000 { label = "rgdb"; reg = <0x40000 0x10000>; read-only; }; + partition@50000 { label = "firmware"; reg = <0x50000 0x790000>; }; + partition@7e0000 { label = "cert"; reg = <0x7e0000 0x10000>; read-only; }; + partition@7f0000 { label = "langpack"; reg = <0x7f0000 0x10000>; @@ -64,18 +70,17 @@ }; ethernet@10100000 { - mtd-mac-address = <&factory 0x4004>; + mtd-mac-address = <&ubootenv 0x4004>; }; esw@10110000 { ralink,portmap = <0x1e>; }; - /* devdata partition seems to be missing */ -/* wmac@10180000 { - ralink,mtd-eeprom = <&devdata 0x4000>; + wmac@10180000 { + ralink,mtd-eeprom = <&ubootenv 0x4000>; }; -*/ + otg@101c0000 { status = "okay"; }; @@ -85,11 +90,13 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + reset { label = "reset"; gpios = <&gpio0 10 0>; linux,code = <0x198>; }; + wps { label = "wps"; gpios = <&gpio0 12 0>; @@ -99,34 +106,42 @@ gpio-leds { compatible = "gpio-leds"; + eth { label = "asl26555:green:eth"; gpios = <&gpio0 0 1>; }; + wan-red { label = "asl26555:red:wan"; gpios = <&gpio0 1 0>; }; + wan-green { label = "asl26555:green:wan"; gpios = <&gpio0 2 0>; }; + wlan { label = "asl26555:green:wlan"; gpios = <&gpio0 7 0>; }; + power-green { label = "asl26555:green:power"; gpios = <&gpio0 8 0>; }; + power-red { label = "asl26555:red:power"; gpios = <&gpio0 9 0>; }; + 3g-green { label = "asl26555:green:3g"; gpios = <&gpio0 14 1>; }; + 3g-red { label = "asl26555:red:3g"; gpios = <&gpio0 17 1>;