palmbus@10000000 {
spi@b00 {
status = "okay";
-
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "mdio", "i2c", "uartf";
+ ralink,group = "i2c", "uartf";
ralink,function = "gpio";
};
};
ethernet@10100000 {
status = "okay";
-
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
+
+ ralink,port-map = "llllw";
+
port@4 {
- compatible = "ralink,mt7620a-gsw-port", "ralink,eth-port";
- reg = <4>;
+ status = "okay";
phy-mode = "rgmii";
phy-handle = <&phy4>;
};
port@5 {
- compatible = "ralink,mt7620a-gsw-port", "ralink,eth-port";
- reg = <5>;
+ status = "okay";
phy-mode = "rgmii";
phy-handle = <&phy5>;
};
gsw@10110000 {
ralink,port4 = "gmac";
-
- pinctrl-names = "default";
- pinctrl-0 = <&ephy_pins>;
};
sdhci@10130000 {
linux,code = <0x101>;
};
};
+
+ ehci@101c0000 {
+ status = "okay";
+ };
+
+ ohci@101c1000 {
+ status = "okay";
+ };
};