brcm63xx: dts: Unify naming of gpio-keys nodes
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm963268bu_p300.dts
index 2bccb57a98472e7375d01068bcbef9f6fd92146c..57046a787827995907d59cee68a1c98f923ffc9e 100644 (file)
@@ -9,29 +9,30 @@
        compatible = "brcm,bcm963268bu_p300", "brcm,bcm63268";
 
        chosen {
-               bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
                stdout-path = "serial0:115200n8";
        };
 
-       gpio-keys-polled {
+       keys {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
-               debounce-interval = <60>;
 
                reset {
                        label = "reset";
                        gpios = <&pinctrl 32 0>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
                };
 
                wps {
                        label = "wps";
                        gpios = <&pinctrl 33 0>;
                        linux,code = <KEY_WPS_BUTTON>;
+                       debounce-interval = <60>;
                };
-        };
+       };
 };
 
 &hsspi {
@@ -47,7 +48,9 @@
                #address-cells = <1>;
                #size-cells = <1>;
 
-               linux,part-probe = "bcm63xxpart";
+               partitions {
+                       compatible = "brcm,bcm963xx-cfe-nor-partitions";
+               };
        };
 };