X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FHG255D.dts;h=00f012c425190a00d1666964e51fce9c1410dd93;hb=0d7049c6880148e1755e05cab97296d4a2da48c3;hp=09d7a45105ff9cda1ed27678a39933b127a96e2b;hpb=1c23a45a8579a61e11693139122f37d0275d3426;p=openwrt.git diff --git a/target/linux/ramips/dts/HG255D.dts b/target/linux/ramips/dts/HG255D.dts index 09d7a45105..00f012c425 100644 --- a/target/linux/ramips/dts/HG255D.dts +++ b/target/linux/ramips/dts/HG255D.dts @@ -18,7 +18,6 @@ cfi@1f000000 { compatible = "cfi-flash"; reg = <0x1f000000 0x1000000>; - bank-width = <2>; device-width = <2>; #address-cells = <1>; @@ -46,7 +45,7 @@ label = "firmware"; reg = <0x80000 0xf60000>; }; - + partition@fa0000 { label = "factory-orig"; reg = <0xfa0000 0x20000>; @@ -56,28 +55,34 @@ gpio-leds { compatible = "gpio-leds"; + power { - label = "hg255d:power"; + label = "hg255d:green:power"; gpios = <&gpio0 8 1>; }; + internet { - label = "hg255d:internet"; + label = "hg255d:green:internet"; gpios = <&gpio0 13 1>; }; + wifi { - label = "hg255d:wlan"; + label = "hg255d:green:wlan"; gpios = <&gpio0 14 1>; }; + usb { - label = "hg255d:usb"; + label = "hg255d:green:usb"; gpios = <&gpio0 9 1>; }; + wps { - label = "hg255d:wps"; + label = "hg255d:green:wps"; gpios = <&gpio0 12 1>; }; + voice { - label = "hg255d:voice"; + label = "hg255d:green:voice"; gpios = <&gpio0 5 1>; }; }; @@ -87,16 +92,19 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <10>; + reset { label = "reset"; gpios = <&gpio0 4 1>; linux,code = <0x198>; }; + wps { label = "wps"; gpios = <&gpio0 10 1>; linux,code = <0x211>; }; + rfkill { label = "rfkill"; gpios = <&gpio0 0 1>; @@ -104,8 +112,16 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; + }; + + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; }; otg@101c0000 {