X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FD105.dts;h=42f6fd3c6d0180084a62588c96ab0e14e753081f;hb=2f7d47da10e3401d11509498a1c77d510c19051d;hp=21927833c05e10f02d24e8ee72f92db2c20aa250;hpb=cc6c81e2e207f4e843e1d51cfb691595fce96aa2;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/target/linux/ramips/dts/D105.dts b/target/linux/ramips/dts/D105.dts index 21927833c0..42f6fd3c6d 100644 --- a/target/linux/ramips/dts/D105.dts +++ b/target/linux/ramips/dts/D105.dts @@ -6,26 +6,13 @@ compatible = "D105", "ralink,rt3050-soc"; model = "Huawei D105"; - memorydetect { - ralink,memory = <0x0 0x200000 0x4000000>; - }; - - chosen { - bootargs = "console=ttyS0,57600 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,3776k@0x50000(firmware)"; - }; - - palmbus@10000000 { - sysc@0 { - ralink,pinmux = "i2c", "spi", "uartlite", "mdio", "sdram", "rgmii"; - ralink,gpiomux = "jtag"; - ralink,uartmux = "gpio"; - ralink,wdtmux = <1>; + pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "spi", "i2c", "jtag", "rgmii", "mdio", "uartf"; + ralink,function = "gpio"; + }; }; - - gpio0: gpio@600 { - status = "okay"; - }; - }; cfi@1f000000 { @@ -36,6 +23,29 @@ device-width = <2>; #address-cells = <1>; #size-cells = <1>; + + partition@0 { + label = "u-boot"; + reg = <0x0 0x30000>; + read-only; + }; + + partition@30000 { + label = "u-boot-env"; + reg = <0x30000 0x10000>; + read-only; + }; + + factory: partition@40000 { + label = "factory"; + reg = <0x40000 0x10000>; + read-only; + }; + + partition@50000 { + label = "firmware"; + reg = <0x50000 0x3b0000>; + }; }; gpio-leds { @@ -63,16 +73,15 @@ }; ethernet@10100000 { - status = "okay"; + mtd-mac-address = <&factory 0x4>; }; esw@10110000 { - status = "okay"; ralink,portmap = <0x2f>; }; wmac@10180000 { - status = "okay"; + ralink,mtd-eeprom = <&factory 0>; }; otg@101c0000 {