X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fwigyori.git;a=blobdiff_plain;f=target%2Flinux%2Flantiq%2Fdts%2FVG3503J.dts;h=db25b8748843f3b68cfb18c77dac41b7a996bca5;hp=c7b81252678975aaeee6a3ff2e4746baa70d2abe;hb=2b55c83e68068887db9e49de8e81b1b4a267a4f2;hpb=abfdddfb3c0bac10e7cf503743e1dacf6c3c2891 diff --git a/target/linux/lantiq/dts/VG3503J.dts b/target/linux/lantiq/dts/VG3503J.dts index c7b8125267..db25b87488 100644 --- a/target/linux/lantiq/dts/VG3503J.dts +++ b/target/linux/lantiq/dts/VG3503J.dts @@ -1,18 +1,22 @@ -/include/ "vr9.dtsi" +/dts-v1/; + +#include "vr9.dtsi" + +#include / { model = "VG3503J - BT OpenReach VDSL Modem"; chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; + }; - leds { - boot = &power_green; - failsafe = &power_red; - running = &power_green; + aliases { + led-boot = &power_green; + led-failsafe = &power_red; + led-running = &power_green; - internet = &dsl; - }; + led-internet = &dsl; }; memory@0 { @@ -40,37 +44,12 @@ }; partition@20000 { - label = "kernel"; - reg = <0x20000 0x300000>; - }; - - partition@1a0000 { - label = "rootfs"; - reg = <0x320000 0x420000>; - }; - - partition@740000 { - label = "btagent"; - reg = <0x740000 0x80000>; - }; - - partition@7c0000 { - label = "pri_bfocus_cfg"; - reg = <0x7c0000 0x10000>; - }; - - partition@7d0000 { - label = "sec_bfocus_cfg"; - reg = <0x7d0000 0x10000>; - }; - - partition@7e0000 { - label = "sysconfig"; - reg = <0x7e0000 0x10000>; + label = "firmware"; + reg = <0x20000 0x7d0000>; }; partition@7f0000 { - label = "misc_cfg"; + label = "uboot-env"; reg = <0x7f0000 0x10000>; }; }; @@ -113,8 +92,8 @@ poll-interval = <100>; reset { label = "reset"; - gpios = <&gpio 6 1>; - linux,code = <0x198>; + gpios = <&gpio 6 GPIO_ACTIVE_LOW>; + linux,code = ; }; }; @@ -123,15 +102,15 @@ power_red: power2 { label = "vg3503j:red:power"; - gpios = <&gpio 14 1>; + gpios = <&gpio 14 GPIO_ACTIVE_LOW>; }; dsl: dsl { label = "vg3503j:green:dsl"; - gpios = <&gpio 19 1>; + gpios = <&gpio 19 GPIO_ACTIVE_LOW>; }; power_green: power { label = "vg3503j:green:power"; - gpios = <&gpio 28 1>; + gpios = <&gpio 28 GPIO_ACTIVE_LOW>; default-state = "keep"; }; }; @@ -143,7 +122,7 @@ #address-cells = <1>; #size-cells = <0>; reg = <0>; - mac-address = [ 00 11 22 33 44 55 ]; + lantiq,switch; ethernet@2 { compatible = "lantiq,xrx200-pdi-port";