X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FARGUS_ATP52B.dts;h=fb04f017d5bd7563bd7ea347cc85609440787242;hb=21ee73c9205c9dda5d379c8681804beec238ae82;hp=66f5ffe81a26dd08ebf4d6c136733593ef8b7548;hpb=d16de0b69f70d395d4097e00613047ecf05d3d39;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/ARGUS_ATP52B.dts b/target/linux/ramips/dts/ARGUS_ATP52B.dts index 66f5ffe81a..fb04f017d5 100644 --- a/target/linux/ramips/dts/ARGUS_ATP52B.dts +++ b/target/linux/ramips/dts/ARGUS_ATP52B.dts @@ -3,30 +3,16 @@ /include/ "rt3050.dtsi" / { - #address-cells = <1>; - #size-cells = <1>; compatible = "ARGUS_ATP52B", "ralink,rt3052-soc"; model = "Argus ATP-52B"; - memorydetect { - ralink,memory = <0x0 0x200000 0x4000000>; - }; - - chosen { - bootargs = "mtdparts=1f000000.cfi:192k(bootloader)ro,64k(config),64k(factory),7808k@0x50000(firmware)"; - }; - - palmbus@10000000 { - sysc@0 { - ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii"; - ralink,uartmux = "gpio"; - ralink,wdtmux = <1>; - }; - - gpio0: gpio@600 { - status = "okay"; + pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; + ralink,function = "gpio"; + }; }; - }; cfi@1f000000 { @@ -37,6 +23,27 @@ device-width = <2>; #address-cells = <1>; #size-cells = <1>; + + partition@0 { + label = "bootloader"; + reg = <0x0 0x30000>; + read-only; + }; + + partition@30000 { + label = "config"; + reg = <0x30000 0x10000>; + }; + + factory: partition@40000 { + label = "factory"; + reg = <0x40000 0x10000>; + }; + + partition@50000 { + label = "firmware"; + reg = <0x50000 0x7a0000>; + }; }; gpio-leds { @@ -69,18 +76,13 @@ }; ethernet@10100000 { - status = "okay"; + mtd-mac-address = <&factory 0x4>; }; esw@10110000 { - status = "okay"; ralink,portmap = <0x3e>; }; - wmac@10180000 { - status = "okay"; - }; - otg@101c0000 { status = "okay"; };