X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FDIR-610-A1.dts;h=e345250ed63dc92d9f9e211fc2deacf7ebf72115;hb=d04cab8dfc8340b530363c6afc99c86dccb075d1;hp=ed5606af89a0931ecb0c6ed9cfe793e2775eb39b;hpb=dc7164d4efd172fb412d24849dc477992251e4b7;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/DIR-610-A1.dts b/target/linux/ramips/dts/DIR-610-A1.dts index ed5606af89..e345250ed6 100644 --- a/target/linux/ramips/dts/DIR-610-A1.dts +++ b/target/linux/ramips/dts/DIR-610-A1.dts @@ -5,18 +5,8 @@ / { compatible = "DIR-610-A1", "ralink,rt5350-soc"; model = "D-Link DIR-610 A1"; - - palmbus@10000000 { - sysc@0 { - ralink,pinmux = "i2c", "spi", "jtag", "uartlite", "mdio", "sdram", "rgmii"; - ralink,uartmux = "gpio"; - ralink,wdtmux = <1>; - }; - - gpio0: gpio@600 { - status = "okay"; - }; + palmbus@10000000 { spi@b00 { status = "okay"; m25p80@0 { @@ -33,10 +23,10 @@ read-only; }; - partition@30000 { + devdata: partition@30000 { label = "devdata"; reg = <0x30000 0x10000>; - read-only; + read-only; }; factory: partition@40000 { @@ -53,14 +43,29 @@ }; }; + pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "i2c", "jtag", "uartf"; + ralink,function = "gpio"; + }; + }; + }; + ethernet@10100000 { - status = "okay"; + mtd-mac-address = <&devdata 0x4004>; }; esw@10110000 { status = "okay"; - ralink,portmap = <0x1f>; - ralink,led-polarity = <0>; + ralink,portmap = <0x2f>; + ralink,led_polarity = <0x17>; + }; + + wmac@10180000 { + status = "okay"; + ralink,led-polarity = <1>; + ralink,mtd-eeprom = <&devdata 0x4000>; }; gpio-leds { @@ -69,13 +74,13 @@ label = "d-link:green:status"; gpios = <&gpio0 9 1>; }; - wps { + wps { label = "d-link:green:wps"; gpios = <&gpio0 13 1>; }; - }; + }; - gpio-keys-polled { + gpio-keys-polled { gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; @@ -93,8 +98,4 @@ }; }; }; - - wmac@10180000 { - status = "okay"; - }; };