]> Pileus Git - ~andy/linux/blobdiff - arch/xtensa/boot/dts/xtfpga.dtsi
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[~andy/linux] / arch / xtensa / boot / dts / xtfpga.dtsi
index 7eda6ecf7eef3652cbc096b7f4859b03a66996bd..e7370b11348e8d06c113d420704664740dbdec9b 100644 (file)
@@ -1,5 +1,5 @@
 / {
-       compatible = "xtensa,xtfpga";
+       compatible = "cdns,xtensa-xtfpga";
        #address-cells = <1>;
        #size-cells = <1>;
        interrupt-parent = <&pic>;
@@ -17,7 +17,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
                cpu@0 {
-                       compatible = "xtensa,cpu";
+                       compatible = "cdns,xtensa-cpu";
                        reg = <0>;
                        /* Filled in by platform_setup from FPGA register
                         * clock-frequency = <100000000>;
@@ -26,7 +26,7 @@
        };
 
        pic: pic {
-               compatible = "xtensa,pic";
+               compatible = "cdns,xtensa-pic";
                /* one cell: internal irq number,
                 * two cells: second cell == 0: internal irq number
                 *            second cell == 1: external irq number
                interrupt-controller;
        };
 
+       clocks {
+               osc: main-oscillator {
+                       #clock-cells = <0>;
+                       compatible = "fixed-clock";
+               };
+       };
+
        serial0: serial@fd050020 {
                device_type = "serial";
                compatible = "ns16550a";
@@ -42,9 +49,7 @@
                reg = <0xfd050020 0x20>;
                reg-shift = <2>;
                interrupts = <0 1>; /* external irq 0 */
-               /* Filled in by platform_setup from FPGA register
-                * clock-frequency = <100000000>;
-                */
+               clocks = <&osc>;
        };
 
        enet0: ethoc@fd030000 {
@@ -52,5 +57,6 @@
                reg = <0xfd030000 0x4000 0xfd800000 0x4000>;
                interrupts = <1 1>; /* external irq 1 */
                local-mac-address = [00 50 c2 13 6f 00];
+               clocks = <&osc>;
        };
 };