X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FHG255D.dts;h=41b7ddd34e1626eec5583b941b8599f4662e104b;hb=6a29154c1c99296bcd240286069817d679b9da74;hp=695969038d44cc11e8858bb58d78e3a5b3acbd86;hpb=00f429757bee0996f40f2c4046c572afad0a3f3f;p=openwrt.git diff --git a/target/linux/ramips/dts/HG255D.dts b/target/linux/ramips/dts/HG255D.dts index 695969038d..41b7ddd34e 100644 --- a/target/linux/ramips/dts/HG255D.dts +++ b/target/linux/ramips/dts/HG255D.dts @@ -6,15 +6,12 @@ compatible = "HG255D", "ralink,rt3052-soc"; model = "HuaWei HG255D"; - palmbus@10000000 { - sysc@0 { - ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii"; - ralink,uartmux = "gpio"; - ralink,wdtmux = <1>; - }; - - gpio0: gpio@600 { - status = "okay"; + pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; + ralink,function = "gpio"; + }; }; }; @@ -47,7 +44,13 @@ partition@80000 { label = "firmware"; - reg = <0x80000 0xf80000>; + reg = <0x80000 0xf60000>; + }; + + partition@fa0000 { + label = "factory-orig"; + reg = <0xfa0000 0x20000>; + read-only; }; }; @@ -102,16 +105,15 @@ }; ethernet@10100000 { - status = "okay"; + mtd-mac-address = <&factory 0x28>; }; esw@10110000 { - status = "okay"; ralink,portmap = <0x2f>; }; wmac@10180000 { - status = "okay"; + ralink,mtd-eeprom = <&factory 0>; }; otg@101c0000 {