X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FASL26555-8M.dts;h=80cf4a4b17ced5cce3ad71d16bdf1381154b077d;hb=3760b95702b65de9d6d0f6a1029a654e3b11f72f;hp=f1501ebf11097441e6999ba6d3894761bcb6a5f3;hpb=8cd1c997079246942680893adbd21d884e131b84;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/ASL26555-8M.dts b/target/linux/ramips/dts/ASL26555-8M.dts index f1501ebf11..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; }; - partition@30000 { - label = "devdata"; + + 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>; @@ -63,10 +69,18 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&ubootenv 0x4004>; + }; + esw@10110000 { ralink,portmap = <0x1e>; }; + wmac@10180000 { + ralink,mtd-eeprom = <&ubootenv 0x4000>; + }; + otg@101c0000 { status = "okay"; }; @@ -76,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>; @@ -90,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>;