gazerbeam: add clocks property to SPI node
Prepare for supporting setting different speeds in mpc8xxx_spi.c. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
This commit is contained in:
		
							parent
							
								
									3fb22bc2f8
								
							
						
					
					
						commit
						96e68c1621
					
				| 
						 | 
					@ -17,6 +17,7 @@
 | 
				
			||||||
/dts-v1/;
 | 
					/dts-v1/;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <dt-bindings/memory/mpc83xx-sdram.h>
 | 
					#include <dt-bindings/memory/mpc83xx-sdram.h>
 | 
				
			||||||
 | 
					#include <dt-bindings/clk/mpc83xx-clk.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/ {
 | 
					/ {
 | 
				
			||||||
	compatible = "fsl,mpc8308rdb";
 | 
						compatible = "fsl,mpc8308rdb";
 | 
				
			||||||
| 
						 | 
					@ -50,6 +51,11 @@
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						socclocks: clocks {
 | 
				
			||||||
 | 
							compatible = "fsl,mpc8308-clk";
 | 
				
			||||||
 | 
							#clock-cells = <1>;
 | 
				
			||||||
 | 
						};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	board_lbc: localbus@e0005000 {
 | 
						board_lbc: localbus@e0005000 {
 | 
				
			||||||
		#address-cells = <2>;
 | 
							#address-cells = <2>;
 | 
				
			||||||
		#size-cells = <1>;
 | 
							#size-cells = <1>;
 | 
				
			||||||
| 
						 | 
					@ -173,6 +179,7 @@
 | 
				
			||||||
			reg = <0x7000 0x1000>;
 | 
								reg = <0x7000 0x1000>;
 | 
				
			||||||
			interrupts = <16 0x8>;
 | 
								interrupts = <16 0x8>;
 | 
				
			||||||
			interrupt-parent = <&ipic>;
 | 
								interrupt-parent = <&ipic>;
 | 
				
			||||||
 | 
								clocks = <&socclocks MPC83XX_CLK_CSB>;
 | 
				
			||||||
			mode = "cpu";
 | 
								mode = "cpu";
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue