X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FDIR-615-H1.dts;h=d21d7d5eabd2937da856d235c6b10724bfb278d1;hb=504c28c7589648982595bcb93d2ec001350de448;hp=5cb2beb3e8779f8bf518e99e44bd5a0b619c37e1;hpb=1c23a45a8579a61e11693139122f37d0275d3426;p=openwrt.git diff --git a/target/linux/ramips/dts/DIR-615-H1.dts b/target/linux/ramips/dts/DIR-615-H1.dts index 5cb2beb3e8..d21d7d5eab 100644 --- a/target/linux/ramips/dts/DIR-615-H1.dts +++ b/target/linux/ramips/dts/DIR-615-H1.dts @@ -9,10 +9,11 @@ palmbus@10000000 { spi@b00 { status = "okay"; + m25p80@0 { #address-cells = <1>; #size-cells = <1>; - compatible = "mx25l3205d"; + compatible = "jedec,spi-nor"; reg = <0 0>; linux,modalias = "m25p80", "mx25l3205d"; spi-max-frequency = <10000000>; @@ -49,10 +50,12 @@ ralink,group = "i2c", "jtag", "uartf"; ralink,function = "gpio"; }; + rgmii { ralink,group = "rgmii"; ralink,function = "rgmii"; }; + mdio { ralink,group = "mdio"; ralink,function = "mdio"; @@ -60,30 +63,43 @@ }; }; + ethernet@10100000 { + mtd-mac-address = <&factory 0x28>; + }; + esw@10110000 { - ralink,portmap = <0x2f>; + mediatek,portmap = <0x2f>; + }; + + wmac@10180000 { + ralink,mtd-eeprom = <&factory 0>; }; gpio-leds { compatible = "gpio-leds"; + status { - label = "d-link:amber:status"; + label = "dir-615-h1:amber:status"; gpios = <&gpio0 7 0>; }; + status2 { - label = "d-link:green:status"; + label = "dir-615-h1:green:status"; gpios = <&gpio0 9 0>; }; + wan { - label = "d-link:amber:wan"; + label = "dir-615-h1:amber:wan"; gpios = <&gpio0 12 1>; }; + wan2 { - label = "d-link:green:wan"; + label = "dir-615-h1:green:wan"; gpios = <&gpio0 13 1>; }; + wps { - label = "d-link:blue:wps"; + label = "dir-615-h1:blue:wps"; gpios = <&gpio0 14 1>; }; }; @@ -93,11 +109,13 @@ #address-cells = <1>; #size-cells = <0>; poll-interval = <20>; + reset { label = "reset"; gpios = <&gpio0 10 1>; linux,code = <0x198>; }; + wps { label = "wps"; gpios = <&gpio0 0 1>;