ramips: fix size-cells on spi nodes
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / rt5350.dtsi
index c6ff3d6c9df9258d0b36b232e60fce937406d893..1f71795fcf7db612aa7d84257dda7b17cc7e7a68 100644 (file)
        aliases {
                spi0 = &spi0;
                spi1 = &spi1;
+               serial0 = &uartlite;
        };
 
-       palmbus@10000000 {
+       palmbus: palmbus@10000000 {
                compatible = "palmbus";
                reg = <0x10000000 0x200000>;
                ranges = <0x0 0x10000000 0x1FFFFF>;
                #address-cells = <1>;
                #size-cells = <1>;
 
-               sysc@0 {
+               sysc: sysc@0 {
                        compatible = "ralink,rt5350-sysc", "ralink,rt3050-sysc";
                        reg = <0x0 0x100>;
                };
 
-               timer@100 {
+               timer: timer@100 {
                        compatible = "ralink,rt5350-timer", "ralink,rt2880-timer";
                        reg = <0x100 0x20>;
 
@@ -46,7 +47,7 @@
                        interrupts = <1>;
                };
 
-               watchdog@120 {
+               watchdog: watchdog@120 {
                        compatible = "ralink,rt5350-wdt", "ralink,rt2880-wdt";
                        reg = <0x120 0x10>;
 
@@ -71,7 +72,7 @@
                        interrupts = <2>;
                };
 
-               memc@300 {
+               memc: memc@300 {
                        compatible = "ralink,rt5350-memc", "ralink,rt3050-memc";
                        reg = <0x300 0x100>;
 
@@ -82,7 +83,7 @@
                        interrupts = <3>;
                };
 
-               uart@500 {
+               uart: uart@500 {
                        compatible = "ralink,rt5350-uart", "ralink,rt2880-uart", "ns16550a";
                        reg = <0x500 0x100>;
 
@@ -94,9 +95,6 @@
 
                        reg-shift = <2>;
 
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&uartf_pins>;
-
                        status = "disabled";
                };
 
                        status = "disabled";
                };
 
-               i2c@900 {
+               i2c: i2c@900 {
                        compatible = "link,rt5350-i2c", "ralink,rt2880-i2c";
                        reg = <0x900 0x100>;
 
                        reset-names = "spi";
 
                        #address-cells = <1>;
-                       #size-cells = <1>;
+                       #size-cells = <0>;
 
                        pinctrl-names = "default";
                        pinctrl-0 = <&spi_pins>;
                        status = "disabled";
                };
 
-               uartlite@c00 {
+               uartlite: uartlite@c00 {
                        compatible = "ralink,rt5350-uart", "ralink,rt2880-uart", "ns16550a";
                        reg = <0xc00 0x100>;
 
                        reg-shift = <2>;
                };
 
-               systick@d00 {
+               systick: systick@d00 {
                        compatible = "ralink,rt5350-systick", "ralink,cevt-systick";
                        reg = <0xd00 0x10>;
 
                };
        };
 
-       pinctrl {
+       pinctrl: pinctrl {
                compatible = "ralink,rt2880-pinmux";
 
                pinctrl-names = "default";
                #reset-cells = <1>;
        };
 
+       clkctrl: clkctrl {
+               compatible = "ralink,rt2880-clock";
+               #clock-cells = <1>;
+       };
+
        usbphy: usbphy {
-               compatible = "ralink,rt3xxx-usbphy";
+               compatible = "ralink,rt3352-usbphy";
                #phy-cells = <1>;
 
                resets = <&rstctrl 22 &rstctrl 25>;
                reset-names = "host", "device";
+               clocks = <&clkctrl 18>;
+               clock-names = "host";
        };
 
-       ethernet@10100000 {
+       ethernet: ethernet@10100000 {
                compatible = "ralink,rt5350-eth";
-               reg = <0x10100000 10000>;
+               reg = <0x10100000 0x10000>;
 
                resets = <&rstctrl 21 &rstctrl 23>;
                reset-names = "fe", "esw";
 
        esw: esw@10110000 {
                compatible = "ralink,rt3050-esw";
-               reg = <0x10110000 8000>;
+               reg = <0x10110000 0x8000>;
 
                resets = <&rstctrl 23>;
                reset-names = "esw";
                interrupts = <17>;
        };
 
-       wmac@10180000 {
+       wmac: wmac@10180000 {
                compatible = "ralink,rt5350-wmac", "ralink,rt2880-wmac";
-               reg = <0x10180000 40000>;
+               reg = <0x10180000 0x40000>;
 
                interrupt-parent = <&cpuintc>;
                interrupts = <6>;
                ralink,eeprom = "soc_wmac.eeprom";
        };
 
-       ehci@101c0000 {
+       ehci: ehci@101c0000 {
                compatible = "generic-ehci";
                reg = <0x101c0000 0x1000>;
 
                interrupts = <18>;
        };
 
-       ohci@101c1000 {
+       ohci: ohci@101c1000 {
                compatible = "generic-ohci";
                reg = <0x101c1000 0x1000>;