X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Flantiq%2Fdts%2FARV4510PW.dts;h=c34ffe81d947b87b653e20e48daaf9c56c69877c;hb=2b55c83e68068887db9e49de8e81b1b4a267a4f2;hp=adba211eacae5651f5e1d2474927f288e2768f2d;hpb=f58b424c9e808cb31a1174d17e61a571d60b966a;p=openwrt%2Fstaging%2Fwigyori.git diff --git a/target/linux/lantiq/dts/ARV4510PW.dts b/target/linux/lantiq/dts/ARV4510PW.dts index adba211eac..c34ffe81d9 100644 --- a/target/linux/lantiq/dts/ARV4510PW.dts +++ b/target/linux/lantiq/dts/ARV4510PW.dts @@ -1,6 +1,8 @@ /dts-v1/; -/include/ "danube.dtsi" +#include "danube.dtsi" + +#include / { model = "ARV4510PW - Wippies, Elisa"; @@ -9,6 +11,18 @@ bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; }; + aliases { + led-boot = &power; + led-failsafe = &power2; + led-running = &power; + + led-dsl = &adsl; + led-internet = &internet; + led-usb = &usb; + led-usb2 = &usb2; + led-wifi = &wifi; + }; + memory@0 { reg = <0x0 0x2000000>; }; @@ -30,21 +44,27 @@ lantiq,noxip; - partition@0 { - label = "uboot"; - reg = <0x00000 0x40000>; - read-only; - }; - - partition@40000 { - label = "uboot_env"; - reg = <0x40000 0x20000>; - read-only; - }; - - partition@60000 { - label = "firmware"; - reg = <0x60000 0xfa0000>; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "uboot"; + reg = <0x00000 0x40000>; + read-only; + }; + + partition@40000 { + label = "uboot_env"; + reg = <0x40000 0x20000>; + read-only; + }; + + partition@60000 { + label = "firmware"; + reg = <0x60000 0xfa0000>; + }; }; }; }; @@ -56,11 +76,13 @@ ebu { lantiq,groups = "ebu a23"; lantiq,function = "ebu"; + lantiq,open-drain = <0>; lantiq,output = <1>; }; stp { lantiq,groups = "stp"; lantiq,function = "stp"; + lantiq,open-drain = <0>; lantiq,output = <1>; }; exin { @@ -76,11 +98,13 @@ pci_out { lantiq,groups = "gnt1", "gnt2"; lantiq,function = "pci"; + lantiq,open-drain = <0>; + lantiq,pull = <0>; lantiq,output = <1>; }; pci_rst { lantiq,pins = "io21"; - lantiq,open-drain; + lantiq,open-drain = <0>; lantiq,output = <1>; }; buttons { @@ -109,10 +133,9 @@ 0x7800 0 0 2 &icu0 66 0x7800 0 0 3 &icu0 66 >; - gpio-reset = <&gpio 21 0>; + gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; req-mask = <0x7>; }; - }; gpio-keys-polled { @@ -123,85 +146,86 @@ wps { label = "wps"; - gpios = <&gpio 14 1>; - linux,code = <0x211>; + gpios = <&gpio 14 GPIO_ACTIVE_LOW>; + linux,code = ; }; reset { label = "reset"; - gpios = <&gpio 3 1>; - linux,code = <0x198>; + gpios = <&gpio 3 GPIO_ACTIVE_LOW>; + linux,code = ; }; }; gpio-leds { compatible = "gpio-leds"; - power { + power: power { label = "power"; - gpios = <&gpios 21 0>; + gpios = <&gpios 21 GPIO_ACTIVE_HIGH>; + default-state = "keep"; }; - power2 { + power2: power2 { label = "power2"; - gpios = <&gpios 20 0>; + gpios = <&gpios 20 GPIO_ACTIVE_HIGH>; }; lan1 { label = "lan1"; - gpios = <&gpios 19 0>; + gpios = <&gpios 19 GPIO_ACTIVE_HIGH>; }; lan2 { label = "lan2"; - gpios = <&gpios 18 0>; + gpios = <&gpios 18 GPIO_ACTIVE_HIGH>; }; lan3 { label = "lan3"; - gpios = <&gpios 17 0>; + gpios = <&gpios 17 GPIO_ACTIVE_HIGH>; }; lan4 { label = "lan4"; - gpios = <&gpios 16 0>; + gpios = <&gpios 16 GPIO_ACTIVE_HIGH>; }; - wifi { + wifi: wifi { label = "wifi"; - gpios = <&gpios 15 0>; + gpios = <&gpios 15 GPIO_ACTIVE_HIGH>; }; - adsl { + adsl: adsl { label = "adsl"; - gpios = <&gpios 14 0>; + gpios = <&gpios 14 GPIO_ACTIVE_HIGH>; }; - internet { + internet: internet { label = "internet"; - gpios = <&gpios 13 0>; + gpios = <&gpios 13 GPIO_ACTIVE_HIGH>; }; internet2 { label = "internet2"; - gpios = <&gpios 12 0>; + gpios = <&gpios 12 GPIO_ACTIVE_HIGH>; }; voip { label = "voip"; - gpios = <&gpios 11 0>; + gpios = <&gpios 11 GPIO_ACTIVE_HIGH>; }; phone { label = "phone"; - gpios = <&gpios 10 0>; + gpios = <&gpios 10 GPIO_ACTIVE_HIGH>; }; phone2 { label = "phone2"; - gpios = <&gpios 9 0>; + gpios = <&gpios 9 GPIO_ACTIVE_HIGH>; }; - usb { + usb: usb { label = "usb"; - gpios = <&gpios 8 0>; + gpios = <&gpios 8 GPIO_ACTIVE_HIGH>; }; - usb2 { + usb2: usb2 { label = "usb2"; - gpios = <&gpios 7 0>; + gpios = <&gpios 7 GPIO_ACTIVE_HIGH>; }; usb3 { label = "usb3"; - gpios = <&gpios 6 0>; + gpios = <&gpios 6 GPIO_ACTIVE_HIGH>; }; unlabeled { label = "unlabeled"; - gpios = <&gpios 5 0>; + gpios = <&gpios 5 GPIO_ACTIVE_HIGH>; }; }; };