X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FASL26555-8M.dts;h=80cf4a4b17ced5cce3ad71d16bdf1381154b077d;hb=3760b95702b65de9d6d0f6a1029a654e3b11f72f;hp=0a403c195c9d78301cffb4c3b08fe340c504ac94;hpb=7bfab6e308a54d4fc2b99d9f80b4a4cd735de5b1;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/ASL26555-8M.dts b/target/linux/ramips/dts/ASL26555-8M.dts index 0a403c195c..80cf4a4b17 100644 --- a/target/linux/ramips/dts/ASL26555-8M.dts +++ b/target/linux/ramips/dts/ASL26555-8M.dts @@ -7,19 +7,13 @@ model = "Alpha ASL26555"; palmbus@10000000 { - sysc@0 { - ralink,pinmux = "spi", "mdio", "uartlite", "sdram", "rgmii"; - ralink,gpiomux = "i2c", "jtag"; - ralink,uartmux = "gpio"; - ralink,wdtmux = <1>; - }; - gpio0: gpio@600 { status = "okay"; }; spi@b00 { status = "okay"; + m25p80@0 { #address-cells = <1>; #size-cells = <1>; @@ -33,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>; @@ -61,17 +60,25 @@ }; }; + pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; + ralink,function = "gpio"; + }; + }; + }; + ethernet@10100000 { - status = "okay"; + mtd-mac-address = <&ubootenv 0x4004>; }; esw@10110000 { - status = "okay"; ralink,portmap = <0x1e>; }; wmac@10180000 { - status = "okay"; + ralink,mtd-eeprom = <&ubootenv 0x4000>; }; otg@101c0000 { @@ -83,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>; @@ -97,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>;