• Michal Simek's avatar
    microblaze: Add support for CCF · c1120542
    Michal Simek authored
    Add support for CCF for Microblaze.
    
    Old binding:
    system_timer: system-timer@41c00000 {
    	clock-frequency = <75000000>;
    	...
    }
    
    New binding:
    system_timer: system-timer@41c00000 {
    	clocks = <&clk_bus>;
    	...
    }
    
    Both should be supported for a while
    
    Microblaze clock binding:
    clocks {
    	#address-cells = <1>;
    	#size-cells = <0>;
    	clk_bus: bus {
    		#clock-cells = <0>;
    		clock-frequency = <75000000>;
    		clock-output-names = "bus";
    		compatible = "fixed-clock";
    		reg = <1>;
    	} ;
    	clk_cpu: cpu {
    		#clock-cells = <0>;
    		clock-frequency = <75000000>;
    		clock-output-names = "cpu";
    		compatible = "fixed-clock";
    		reg = <0>;
    	} ;
    } ;
    Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
    c1120542
timer.c 7.06 KB