mt7620: gsw: make IntPHY and ExtPHY share mdio addr 4 possible
[openwrt/openwrt.git] / target / linux / ramips / dts / RT5350F-OLINUXINO.dtsi
index 784001c0d5b9887ffeaaa55898d3236ed1ef9cc5..d27bf017a9f836842ffbf149b8088f9abb26de41 100644 (file)
@@ -2,39 +2,49 @@
 
 / {
        compatible = "olimex,rt5350f-olinuxino", "ralink,rt5350-soc";
+
+       aliases {
+               serial0 = &uartlite;
+               serial1 = &uart;
+       };
 };
 
+
 &spi0 {
        status = "okay";
 
        m25p80@0 {
-               #address-cells = <1>;
-               #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <10000000>;
 
-               partition@0 {
-                       label = "u-boot";
-                       reg = <0x0 0x30000>;
-                       read-only;
-               };
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
 
-               partition@30000 {
-                       label = "u-boot-env";
-                       reg = <0x30000 0x10000>;
-                       read-only;
-               };
+                       partition@0 {
+                               label = "u-boot";
+                               reg = <0x0 0x30000>;
+                               read-only;
+                       };
 
-               factory: partition@40000 {
-                       label = "factory";
-                       reg = <0x40000 0x10000>;
-                       read-only;
-               };
+                       partition@30000 {
+                               label = "u-boot-env";
+                               reg = <0x30000 0x10000>;
+                               read-only;
+                       };
 
-               partition@50000 {
-                       label = "firmware";
-                       reg = <0x50000 0x7b0000>;
+                       factory: partition@40000 {
+                               label = "factory";
+                               reg = <0x40000 0x10000>;
+                               read-only;
+                       };
+
+                       partition@50000 {
+                               label = "firmware";
+                               reg = <0x50000 0x7b0000>;
+                       };
                };
        };
 };
 &pinctrl {
        state_default: pinctrl0 {
                gpio {
-                       ralink,group = "jtag", "rgmii", "mdio", "uartf";
+                       ralink,group = "jtag", "rgmii", "mdio";
                        ralink,function = "gpio";
                };
+               uartf_gpio {
+                       ralink,group = "uartf";
+                       ralink,function = "gpio uartf";
+               };
        };
 };
 
 &ohci {
        status = "okay";
 };
+
+&i2c {
+       status = "okay";
+};
+
+&uart {
+       status = "okay";
+};
+