mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	mediatek: mt7981: setup all clocks needed for eMMC
Setup all necessary clocks to get MMC to work on MT7981, similar to how it is done also on MT7986. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
		
							parent
							
								
									b2beb4c688
								
							
						
					
					
						commit
						a9989b30d0
					
				@ -555,14 +555,15 @@
 | 
				
			|||||||
					"mediatek,mt7981-mmc";
 | 
										"mediatek,mt7981-mmc";
 | 
				
			||||||
		reg = <0 0x11230000 0 0x1000>, <0 0x11c20000 0 0x1000>;
 | 
							reg = <0 0x11230000 0 0x1000>, <0 0x11c20000 0 0x1000>;
 | 
				
			||||||
		interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
 | 
							interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
 | 
				
			||||||
		clocks = <&topckgen CLK_TOP_EMMC_208M>,
 | 
							clocks = <&infracfg CLK_INFRA_MSDC_CK>,
 | 
				
			||||||
				<&topckgen CLK_TOP_EMMC_400M>,
 | 
								 <&infracfg CLK_INFRA_MSDC_HCK_CK>,
 | 
				
			||||||
				<&infracfg CLK_INFRA_MSDC_CK>;
 | 
								 <&infracfg CLK_INFRA_MSDC_66M_CK>,
 | 
				
			||||||
 | 
								 <&infracfg CLK_INFRA_MSDC_133M_CK>;
 | 
				
			||||||
		assigned-clocks = <&topckgen CLK_TOP_EMMC_208M_SEL>,
 | 
							assigned-clocks = <&topckgen CLK_TOP_EMMC_208M_SEL>,
 | 
				
			||||||
				  <&topckgen CLK_TOP_EMMC_400M_SEL>;
 | 
									  <&topckgen CLK_TOP_EMMC_400M_SEL>;
 | 
				
			||||||
		assigned-clock-parents = <&topckgen CLK_TOP_CB_M_D2>,
 | 
							assigned-clock-parents = <&topckgen CLK_TOP_CB_M_D2>,
 | 
				
			||||||
					 <&topckgen CLK_TOP_CB_NET2_D2>;
 | 
										 <&topckgen CLK_TOP_CB_NET2_D2>;
 | 
				
			||||||
		clock-names = "source", "hclk", "source_cg";
 | 
							clock-names = "source", "hclk", "axi_cg", "ahb_cg";
 | 
				
			||||||
		status = "disabled";
 | 
							status = "disabled";
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user