X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Flantiq%2Fdts%2FARV7525PW.dts;h=62ae62b99e26951d773a06b09baf9661bee25705;hb=b029664b31e9029163c595f1784e2004374911f8;hp=d4345562447ee0e0ab820508ef1c96a537a0b02d;hpb=5086401bda13f510b22e1e5a0d9e62402abdf243;p=openwrt.git diff --git a/target/linux/lantiq/dts/ARV7525PW.dts b/target/linux/lantiq/dts/ARV7525PW.dts index d434556244..62ae62b99e 100644 --- a/target/linux/lantiq/dts/ARV7525PW.dts +++ b/target/linux/lantiq/dts/ARV7525PW.dts @@ -9,10 +9,12 @@ bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; leds { - dsl = &power; + boot = &power_green; + failsafe = &power_red; + running = &power_green; + + dsl = &power_green; internet = &online; - power = &power; - power1 = &power1; wifi = &wifi; }; }; @@ -37,27 +39,33 @@ #address-cells = <1>; #size-cells = <1>; - partition@0 { - label = "uboot"; - reg = <0x00000 0x10000>; - read-only; - }; - - partition@10000 { - label = "uboot_env"; - reg = <0x10000 0x10000>; - read-only; - }; - - partition@20000 { - label = "firmware"; - reg = <0x20000 0x3d0000>; - }; - - partition@400000 { - label = "board_config"; - reg = <0x3f0000 0x10000>; - read-only; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "uboot"; + reg = <0x00000 0x10000>; + read-only; + }; + + partition@10000 { + label = "uboot_env"; + reg = <0x10000 0x10000>; + read-only; + }; + + partition@20000 { + label = "firmware"; + reg = <0x20000 0x3d0000>; + }; + + partition@400000 { + label = "board_config"; + reg = <0x3f0000 0x10000>; + read-only; + }; }; }; @@ -122,28 +130,29 @@ gpio-leds { compatible = "gpio-leds"; - power: power { - label = "power"; + power_green: power { + label = "arv7525pw:green:power"; gpios = <&gpio 3 1>; + default-state = "keep"; }; - power1: power1 { - label = "power1"; + power_red: power1 { + label = "arv7525pw:red:power"; gpios = <&gpio 4 1>; }; online: online { - label = "online"; + label = "arv7525pw:green:online"; gpios = <&gpio 5 1>; }; voice { - label = "voice"; + label = "arv7525pw:green:telefonie"; gpios = <&gpio 6 1>; }; voice2 { - label = "voice2"; + label = "arv7525pw:red:telefonie"; gpios = <&gpio 8 1>; }; wifi: wifi { - label = "wifi"; + label = "arv7525pw:green:wlan"; gpios = <&gpio 9 1>; }; };