ralink: fix up dts for mt7621 eval board

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43238
This commit is contained in:
John Crispin 2014-11-12 14:55:00 +00:00
parent 86e3315ece
commit bfcdc8711c
4 changed files with 9 additions and 26 deletions

View file

@ -115,6 +115,7 @@ ramips_setup_interfaces()
dir-320-b1 | \
dir-615-h1 | \
hlk-rm04 | \
mt7621 | \
mt7628 | \
mzk-w300nh2 | \
mzk-750dhp | \

View file

@ -355,6 +355,9 @@ ramips_board_detect() {
*"Lenovo Y1S")
name="y1s"
;;
*"Mediatek MT7621 evaluation board")
name="mt7621"
;;
*"Mediatek MT7628AN evaluation board")
name="mt7628"
;;

View 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>;

View file

@ -1,7 +1,7 @@
/ {
#address-cells = <1>;
#size-cells = <1>;
compatible = "ralink,mtk7620a-soc";
compatible = "mediatek,mtk7621-soc";
cpus {
cpu@0 {
@ -201,28 +201,9 @@
#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>;
@ -230,9 +211,6 @@
phy1f: ethernet-phy@1f {
reg = <0x1f>;
phy-mode = "rgmii";
interrupt-parent = <&gic>;
interrupts = <23>;
};
};
};
@ -240,6 +218,7 @@
gsw@1e110000 {
compatible = "ralink,mt7620a-gsw";
reg = <0x1e110000 8000>;
interrupt-parent = <&gic>;
interrupts = <23>;
};
};