mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-11-01 09:13:37 +00:00 
			
		
		
		
	The mchp23lcv1024 is similar to the mchp23k256, the differences (from a software point of view) are the capacity of the chip and the size of the addresses used. There is no way to detect the specific chip so we must be told via a Device Tree or default to mchp23k256 when device tree is not used. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			537 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			537 B
		
	
	
	
		
			Text
		
	
	
	
	
	
* MTD SPI driver for Microchip 23K256 (and similar) serial SRAM
 | 
						|
 | 
						|
Required properties:
 | 
						|
- #address-cells, #size-cells : Must be present if the device has sub-nodes
 | 
						|
  representing partitions.
 | 
						|
- compatible : Must be one of "microchip,mchp23k256" or "microchip,mchp23lcv1024"
 | 
						|
- reg : Chip-Select number
 | 
						|
- spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at
 | 
						|
 | 
						|
Example:
 | 
						|
 | 
						|
	spi-sram@0 {
 | 
						|
		#address-cells = <1>;
 | 
						|
		#size-cells = <1>;
 | 
						|
		compatible = "microchip,mchp23k256";
 | 
						|
		reg = <0>;
 | 
						|
		spi-max-frequency = <20000000>;
 | 
						|
	};
 |