X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FRT-N15.dts;h=23842d48b81c4f2e7c3a001fb60e692bf480bbdf;hb=2de5ea3dad4c6a7a26507762b3ee65ef7b38ca4e;hp=27b0da97fe414af116072387ebee72aa736bf3ee;hpb=3a49e64b44d630ab80797331af8b0ab4e2acc45f;p=openwrt.git diff --git a/target/linux/ramips/dts/RT-N15.dts b/target/linux/ramips/dts/RT-N15.dts index 27b0da97fe..23842d48b8 100644 --- a/target/linux/ramips/dts/RT-N15.dts +++ b/target/linux/ramips/dts/RT-N15.dts @@ -9,18 +9,20 @@ model = "Asus RT-N15"; palmbus@300000 { - sysc@0 { - ralink,pinmux = "uartlite"; - ralink,gpiomux = "i2c"; - ralink,uartmux = "gpio"; - ralink,wdtmux = <1>; - }; - gpio0: gpio@600 { status = "okay"; }; }; + pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "i2c", "uartlite", "mdio"; + ralink,function = "gpio"; + }; + }; + }; + cfi@1f000000 { compatible = "cfi-flash"; reg = <0x1f000000 0x800000>; @@ -40,13 +42,13 @@ reg = <0x30000 0x10000>; read-only; }; - partition@40000 { + factory: partition@40000 { label = "factory"; reg = <0x40000 0x10000>; read-only; }; partition@50000 { - label = "linux"; + label = "firmware"; reg = <0x50000 0x3b0000>; }; }; @@ -58,6 +60,14 @@ port@0 { ralink,fixed-link = <1000 1 1 1>; }; + + mdio-bus { + status = "okay"; + phy0: ethernet-phy@0 { + phy-mode = "mii"; + reg = <0>; + }; + }; }; rtl8366s { @@ -66,6 +76,10 @@ gpio-sck = <&gpio0 2 0>; }; + wmac@480000 { + ralink,mtd-eeprom = <&factory 0>; + }; + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>;