brcm63xx: register SPI controllers through DT
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / hg553.dts
index 4d798246cf29f69a41a1bf090d4106e08b1421d2..cc6b3315117cede2d40427c2a2421e864b1e13ca 100644 (file)
@@ -1,11 +1,17 @@
 /dts-v1/;
 
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Huawei EchoLife HG553";
        compatible = "huawei,hg553", "brcm,bcm6358";
 
+       chosen {
+               bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                rfkill {
                        label = "rfkill";
                        gpios = <&gpio0 9 1>;
-                       linux,code = <0xf7>;
+                       linux,code = <KEY_RFKILL>;
                };
 
                reset {
                        label = "reset";
                        gpios = <&gpio1 5 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };