ralink: fix up dts for mt7621 eval board
authorJohn Crispin <john@openwrt.org>
Wed, 12 Nov 2014 14:55:00 +0000 (14:55 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 12 Nov 2014 14:55:00 +0000 (14:55 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43238

target/linux/ramips/base-files/etc/board.d/02_network
target/linux/ramips/base-files/lib/ramips.sh
target/linux/ramips/dts/MT7621.dts
target/linux/ramips/dts/mt7621.dtsi

index a53a032b7dc28b5ebddadcb7147f4069ab773ee9..c5957b393a49eb6a2f941d43d545d4be2d4fc8d2 100755 (executable)
@@ -115,6 +115,7 @@ ramips_setup_interfaces()
        dir-320-b1 | \
        dir-615-h1 | \
        hlk-rm04 | \
+       mt7621 | \
        mt7628 | \
        mzk-w300nh2 | \
        mzk-750dhp | \
index 7538876697496050c657a9b0cb41ec903ebf3410..fcb8fdcf0bf31ffa46be2cb492542296f4cdec26 100755 (executable)
@@ -355,6 +355,9 @@ ramips_board_detect() {
        *"Lenovo Y1S")
                name="y1s"
                ;;
+       *"Mediatek MT7621 evaluation board")
+               name="mt7621"
+               ;;
        *"Mediatek MT7628AN evaluation board")
                name="mt7628"
                ;;
index 834f59c4014ffbea5a1ee160e52954cb9d2ab698..7c7f159f01e3d5bf881704106c95d3c1b63f690f 100644 (file)
@@ -3,8 +3,8 @@
 /include/ "mt7621.dtsi"
 
 / {
-       compatible = "ralink,mt7621-eval-board", "ralink,mt7621-soc";
-       model = "Ralink MT7621 evaluation board";
+       compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
+       model = "Mediatek MT7621 evaluation board";
 
        memory@0 {
                reg = <0x0 0x2000000>;
index e00ddd2c0a512db4d7fb827f2cee262db2f1d1d4..859749cce4f8485bbc2d4e4d509f0ad65ca4ae21 100644 (file)
@@ -1,7 +1,7 @@
 / {
        #address-cells = <1>;
        #size-cells = <1>;
-       compatible = "ralink,mtk7620a-soc";
+       compatible = "mediatek,mtk7621-soc";
 
        cpus {
                cpu@0 {
                #address-cells = <1>;
                #size-cells = <0>;
 
-               ralink,port-map = "llllw";
-               
                interrupt-parent = <&gic>;
                interrupts = <3>;
 
-/*             resets = <&rstctrl 21 &rstctrl 23>;
-               reset-names = "fe", "esw";
-
-               port@4 {
-                       compatible = "ralink,mt7620a-gsw-port", "ralink,eth-port";
-                       reg = <4>;
-
-                       status = "disabled";
-               };
-
-               port@5 {
-                       compatible = "ralink,mt7620a-gsw-port", "ralink,eth-port";
-                       reg = <5>;
-
-                       status = "disabled";
-               };
-*/
                mdio-bus {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        phy1f: ethernet-phy@1f {
                                reg = <0x1f>;
                                phy-mode = "rgmii";
-               
-                               interrupt-parent = <&gic>;
-                               interrupts = <23>; 
                        };
                };
        };
        gsw@1e110000 {
                compatible = "ralink,mt7620a-gsw";
                reg = <0x1e110000 8000>;
-
+               interrupt-parent = <&gic>;
+               interrupts = <23>; 
        };
 };