X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;ds=sidebyside;f=target%2Flinux%2Framips%2Fdts%2FDIR-300-B1.dts;h=8c5fc523754b39fcf2107b4ea184560e793e374a;hb=43cd217f68525e445784de4760bd9ea8c4d80885;hp=b061b5724a2b70dedcea647cc5d7dd8dcfdc4b75;hpb=af6f122ebdc85469a44781f807b7a808190792aa;p=openwrt.git diff --git a/target/linux/ramips/dts/DIR-300-B1.dts b/target/linux/ramips/dts/DIR-300-B1.dts index b061b5724a..8c5fc52375 100644 --- a/target/linux/ramips/dts/DIR-300-B1.dts +++ b/target/linux/ramips/dts/DIR-300-B1.dts @@ -6,25 +6,13 @@ compatible = "DIR-300-B1", "ralink,rt3050-soc"; model = "D-Link DIR-300 B1"; - memorydetect { - ralink,memory = <0x0 0x200000 0x4000000>; - }; - - chosen { - bootargs = "console=ttyS0,57600 mtdparts=1f000000.cfi:192k(u-boot)ro,64k(devdata)ro,64k(devconf)ro,3776k@0x50000(firmware)"; - }; - - palmbus@10000000 { - sysc@0 { - ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii"; - ralink,uartmux = "gpio"; - ralink,wdtmux = <1>; + pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "i2c", "spi", "jtag", "mdio", "rgmii", "uartf"; + ralink,function = "gpio"; + }; }; - - gpio0: gpio@600 { - status = "okay"; - }; - }; cfi@1f000000 { @@ -48,7 +36,7 @@ read-only; }; - partition@40000 { + factory: partition@40000 { label = "devconf"; reg = <0x40000 0x10000>; read-only; @@ -61,11 +49,10 @@ }; ethernet@10100000 { - status = "okay"; + mtd-mac-address = <&factory 0x4004>; }; esw@10110000 { - status = "okay"; ralink,portmap = <0x2f>; }; @@ -86,10 +73,6 @@ }; }; - wmac@10180000 { - status = "okay"; - }; - gpio-leds { compatible = "gpio-leds"; status {