palmbus@10000000 {
spi@b00 {
status = "okay";
-
+
m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "en25q64";
+ compatible = "jedec,spi-nor";
reg = <0 0>;
linux,modalias = "m25p80", "en25q64";
spi-max-frequency = <10000000>;
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>;
+ mediatek,portmap = "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>;
+ mediatek,port4 = "gmac";
};
sdhci@10130000 {
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <20>;
+
s2 {
label = "S2";
gpios = <&gpio0 1 1>;
linux,code = <0x100>;
};
+
s3 {
label = "S3";
gpios = <&gpio0 2 1>;
linux,code = <0x101>;
};
};
+
+ ehci@101c0000 {
+ status = "okay";
+ };
+
+ ohci@101c1000 {
+ status = "okay";
+ };
};