mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-30 21:44:27 -04:00 
			
		
		
		
	Older MT7623 ARMv7 SoC as well as new Filogic platforms come with inside-secure,safexcel-eip97 units. Enable them in DTS and select the driver kernel module by default on those platforms. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
		
			
				
	
	
		
			25 lines
		
	
	
		
			768 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			768 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/arch/arm/boot/dts/mt7623.dtsi
 | |
| +++ b/arch/arm/boot/dts/mt7623.dtsi
 | |
| @@ -951,17 +951,15 @@
 | |
|  	};
 | |
|  
 | |
|  	crypto: crypto@1b240000 {
 | |
| -		compatible = "mediatek,eip97-crypto";
 | |
| +		compatible = "inside-secure,safexcel-eip97";
 | |
|  		reg = <0 0x1b240000 0 0x20000>;
 | |
|  		interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_LOW>,
 | |
|  			     <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>,
 | |
|  			     <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>,
 | |
| -			     <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>,
 | |
| -			     <GIC_SPI 97 IRQ_TYPE_LEVEL_LOW>;
 | |
| +			     <GIC_SPI 91 IRQ_TYPE_LEVEL_LOW>;
 | |
| +		interrupt-names = "ring0", "ring1", "ring2", "ring3";
 | |
|  		clocks = <ðsys CLK_ETHSYS_CRYPTO>;
 | |
| -		clock-names = "cryp";
 | |
| -		power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;
 | |
| -		status = "disabled";
 | |
| +		status = "okay";
 | |
|  	};
 | |
|  
 | |
|  	bdpsys: syscon@1c000000 {
 |