ramips: add support for indicating the boot state using multiple leds
[openwrt/openwrt.git] / target / linux / ramips / dts / HC5X61.dtsi
index f0b59ecf1141645e281f59765cada88114d3ce5a..674ce23cbca84885e024ff7420f7472874f5cece 100644 (file)
@@ -12,8 +12,6 @@
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
-               #address-cells = <1>;
-               #size-cells = <0>;
                poll-interval = <20>;
 
                reset {
        status = "okay";
 
        m25p80@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
 
-               partition@0 {
-                       label = "u-boot";
-                       reg = <0x0 0x30000>;
-               };
-
-               partition@30000 {
-                       label = "u-boot-env";
-                       reg = <0x30000 0x10000>;
-                       read-only;
-               };
-
-               factory: partition@40000 {
-                       label = "factory";
-                       reg = <0x40000 0x10000>;
-               };
-
-               partition@50000 {
-                       label = "firmware";
-                       reg = <0x50000 0xf80000>;
-               };
-
-               partition@fd0000 {
-                       label = "hwf_config";
-                       reg = <0xfd0000 0x10000>;
-               };
-
-               bdinfo: partition@fe0000 {
-                       label = "bdinfo";
-                       reg = <0xfe0000 0x10000>;
-               };
-
-               partition@ff0000 {
-                       label = "backup";
-                       reg = <0xff0000 0x10000>;
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       partition@0 {
+                               label = "u-boot";
+                               reg = <0x0 0x30000>;
+                       };
+
+                       partition@30000 {
+                               label = "u-boot-env";
+                               reg = <0x30000 0x10000>;
+                               read-only;
+                       };
+
+                       factory: partition@40000 {
+                               label = "factory";
+                               reg = <0x40000 0x10000>;
+                       };
+
+                       partition@50000 {
+                               label = "firmware";
+                               reg = <0x50000 0xf80000>;
+                       };
+
+                       partition@fd0000 {
+                               label = "hwf_config";
+                               reg = <0xfd0000 0x10000>;
+                       };
+
+                       bdinfo: partition@fe0000 {
+                               label = "bdinfo";
+                               reg = <0xfe0000 0x10000>;
+                       };
+
+                       partition@ff0000 {
+                               label = "backup";
+                               reg = <0xff0000 0x10000>;
+                       };
                };
        };
 };
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "uartf", "wled", "nd_sd";
+                       ralink,group = "uartf", "wled";
                        ralink,function = "gpio";
                };
        };