lantiq: dts: assign the NAND pins to the nand-controller node
[openwrt/staging/rmilecki.git] / target / linux / lantiq / files / arch / mips / boot / dts / FRITZ7412.dts
index baf3d69fb5537b2f402d61af0022a998ece33441..43216d66bef37c068af633e01fbbf89f0e611858 100644 (file)
        model = "AVM FRITZ!Box 7412";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 mem=126M vpe1_load_addr=0x87e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp";
+               bootargs = "console=ttyLTQ0,115200";
        };
 
        aliases {
                led-boot = &power_green;
                led-failsafe = &power_red;
                led-running = &power_green;
+               led-upgrade = &power_red;
 
                led-dsl = &info;
                led-wifi = &wifi;
                
                wps {
                        label = "wps";
-                       gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                };
                
                dect {
                        label = "dect";
-                       gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_PHONE>;
                };
        };
@@ -88,6 +89,9 @@
                reg = <0 0x0 0x2000000>;
                lantiq,cs = <1>;
 
+               pinctrl-0 = <&nand_pins>, <&nand_cs1_pins>;
+               pinctrl-names = "default";
+
                partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
        pinctrl-0 = <&state_default>;
 
        state_default: pinmux {
-               mdio {
-                       lantiq,groups = "mdio";
-                       lantiq,function = "mdio";
-               };
                pcie-rst {
                        lantiq,pins = "io11";
                        lantiq,open-drain = <1>;
                        lantiq,output = <1>;
                };
-               nand-mux {
-                       lantiq,groups = "nand cle", "nand ale",
-                       "nand rd", "nand cs1",
-                       "nand rdy";
-                       lantiq,function = "ebu";
-               };
-               nand-pins {
-                       lantiq,pins = "io13", "io24", "io49";
-                       lantiq,pull = <1>;
-               };
        };
 };