lantiq: P2812HNUFX - move leds to dtsi
[openwrt.git] / target / linux / lantiq / dts / DGN3500.dtsi
index 795e8bc..bcb995e 100644 (file)
@@ -2,7 +2,7 @@
 
 / {
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+               bootargs-append = "root= console=ttyLTQ0,115200";
        };
 
        memory@0 {
@@ -72,7 +72,7 @@
                #size-cells = <1>;
 
                compatible = "spi-gpio";
-               
+
                gpio-miso = <&gpio 16 0>;
                gpio-mosi = <&gpio 17 0>;
                gpio-sck = <&gpio 18 0>;
@@ -82,9 +82,8 @@
                m25p80@0 {
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       compatible = "s25fl129p0";
+                       compatible = "jedec,spi-nor";
                        reg = <0 0>;
-                       linux,modalias = "m25p80", "mx25l3205d";
                        spi-max-frequency = <1000000>;
 
                        partition@0 {
@@ -99,7 +98,7 @@
                                read-only;
                        };
 
-                       partition@20000 {
+                       ath9k_cal: partition@20000 {
                                reg = <0x20000 0x10000>;
                                label = "calibration";
                                read-only;
 
                        partition@50000 {
                                reg = <0x50000 0xfa0000>;
-                               label = "linux";
+                               label = "firmware";
                        };
                };
        };
 
+       ath9k_eep {
+               compatible = "ath9k,eeprom";
+               ath,eep-flash = <&ath9k_cal 0xf000>;
+               ath,pci-slot = <14>;
+               ath,eep-endian;
+               ath,eep-swap;
+       };
+
        rtl8366rb {
                compatible = "rtl8366rb";
                gpio-sda = <&gpio 35 0>;
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <100>;
-               
+
                rfkill {
                        label = "rfkill";
                        gpios = <&gpio 36 1>;
        gpio-leds {
                compatible = "gpio-leds";
                internet {
-                       label = "inernet";
+                       label = "internet";
                        gpios = <&gpio 2 1>;
                };
                dsl {
                power {
                        label = "power";
                        gpios = <&gpio 34 1>;
-                       default-state = "on";
                };
                power2 {
                        label = "power2";