ramips: Support setting active_low in devicetree gpio-export
[openwrt/openwrt.git] / target / linux / ramips / dts / ARGUS_ATP52B.dts
index a28253d488ce3784e69d004ad8e72325cf841b57..b5c94a5f341e049b51dcb18676a8b9704a1e037d 100644 (file)
@@ -6,14 +6,6 @@
        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";
                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 {